Trek Innovations

Thoughts For You

Concurrence Mode Instance using WCF

Concurrence Mode Instance specifies a service class supports single/multi-threaded modes of operation or not.

WCF follows an asynchronous messaging. It makes extensive use of asynchronous I/O, and as a result, each received message may be dispatched to a receiving object by different threads. Because of this feature allows WCF to use the CPU efficiently, and as a result, allows WCF applications to scale.

Below given example make clear the concurrence mode instance, how service class works with ConcurrencyMode instance property on the ServiceBehaviorAttribute type with respect to the client requests.

Read more

Share This Post 4 comments