ServicesResourcesConferencesOur TeamWeblogsAboutContact
   

Subscriptions

Post Categories

News

    MicrosoftBizTalkBlogs

Affiliations

Archives

Multi-threading and WCF's OperationContext
In WCF, the powerful OperationContext.Current static property lives in thread-local storage. It gets pinned to the current thread before WCF dispatches to the user code. If code for a service operation - for whatever reasons - is spawning new threads to do its work the current OperationContext object will have to be captured and needs to be passed to the other threads.

Just to let you know.


posted on Tuesday, May 01, 2007 9:13 PM

# Link Listing - May 1, 2007 @ Wednesday, May 02, 2007 6:36 AM

Accessing and Updating Data in ASP.NET 2.0: Inserting Data [Via: ] Creating an Ajax Rating Widget [Via:...
Christopher Steen

# re: Multi-threading and WCF's OperationContext @ Saturday, May 05, 2007 6:54 PM

Why not provide some sample code on how to do that? What´s the TLS slot to put the OperationContext into, so also other threads can access it via OperationContext.Current?
Ralf


Powered by Community Server, by Telligent Systems