Feeds:
Posts
Comments

Posts Tagged ‘concurrency’

Recommending the post “WCF Request Throttling and Server Scalability“.
It contains important information regarding WCF’s asynchronous processing when hosting on IIS. For example, I was unaware that
So in the release of .Net 3.0 and 3.5, WCF implemented synchronous versions of HTTP module and handler instead of asynchronous ones

meaning that even with asynchronous service implementation (asyncpattern=true), a [...]

Read Full Post »

This is the third in a series of posts about the AsyncPattern in WCF.
The previous two posts described the purpose and usage of this property on the service side. The present post addresses the client side.
AsyncPattern at the client side
The AsyncPattern=true is used at the client side to expose an asynchronous programmatic interface to a [...]

Read Full Post »

This is the second in a series of posts about the AsyncPattern in WCF.
The previous post described the consequences of setting AsyncPattern = true on an OperationContractAttribute.
However, a question still remains: when and how to use AsyncPattern = true on the service-side?
When?

The WCF documentation states that

“Use an asynchronous approach in a service operation implementation if [...]

Read Full Post »

The OperationContractAttribute is used, in WCF, to define operations on a service contract. This attribute contains the AsyncPattern property that can be used to implement or use services asynchronously.
AsyncPattern at the service side
Consider the following excerpt

1: [ServiceContract]
2: interface IService {
3: [OperationContract]
[...]

Read Full Post »

In an older post, Nicholas Allen stated that an asynchronous delegate invocation on a WCF client channel object will block until the response is received from a service.
The only given explanation was:
The problem is that BeginInvoke knows about and only works with specific types of proxy objects, which do not include the proxy objects [...]

Read Full Post »