16.11.04

New weblog design

If you're reading this lines in some aggregator then you have no idea what this blog post is about. In that case please visit this blog on web.

New winter design honoring cold weather to be easy on us this year...

12.11.04

Singleton Web Service

One way of achieving singleton pattern in a Web Service is storing an object instance in Application object.

Another way is implementing singleton mechanism on your own:



Private constructor ensures that MyObject could not be instantiated directly and that MyObject instance could only be retrieved through Instance property. If all web service methods call MyObject’s methods instead of implementing their own functionality each WS session will work with the same instance (singleton).
In this implementation MyObject singleton instance will remain active until ASP.NET application times-out or process is recycled or IIS is restarted. If you need a longer living singleton you can implement the same as above in Windows Service and use Remoting for out-of-process communication or use Remoting’s own Singleton implementation.

10.11.04

WS-*

I was under impression that "*" in "WS-*" stands as a wildcard for all the standards included in WS specs.
According to Roger Sessions Microsoft and IBM are referring to WS-* as WS-STAR, where STAR is an acronym for Secure, Transacted, Asynchronous Reliable messaging. Huh!

Well, anyway... Subscribe and expect more technical blogs on WS-* in months to come.