What happens when InstanceContext.Release/GetServiceInstance() is called on a Singleton

InstanceContext has two methods, ReleaseServiceInstance and GetServiceInstance, that can be used by users to dynamically release and create new service instances. Service instance is the actual .Net instance of the contract on which operations are invoked. This post is to clarify the behavior of the API’s when the service is hosted as a Singleton. There are…

1

IInstanceContextProvider threading model

IInstanceContextProvider is the extension used by WCF runtime to associate/create InstanceContexts for every Message being processed. As I mentioned earlier this extension is called for every message arriving on every channel. This means that two messages from the same channel can race with each other in trying to get an InstanceContext. This is not an…

0

Is Live search usage increasing

Robert Scoble has a post where he feels that Live search is getting better. I have been using Live search for quite some time and now use it fulltime as I find it excellent. Now you may think that I am biased as I work for Microsoft but that’s not the reason. I was looking…

0

Debugging Whidbey Remoting AccessViolation Problem

There has been some cases where users have reported an AccessViolation when upgrading their Remoting app’s to Whidbey. Some users found that the problem reprod only when they had some anti virus software (Nod32 in particular) installed and the AV went away when they configured the anti-virus not to scan the problematic exe’s. In addition to…

4