hi,
i am using
[ServiceBehavior(InstanceContextMode = InstanceContextMode.Single, ConcurrencyMode = ConcurrencyMode.Single)] in my WCF code
i want to know what will happen when 15 request send at a time to WCF Secrvice
thus the above code queue my 15 request and feed the request one at a time
Loading
Ruchi HPosted Jul 23, 2013, 5:04 AM
As you have given ConcurrencyMode as Single, a single request has access to your service object.
Also InstanceContextMode is Single, so only one instance will be created for your service for all requests and all clients.
You need to change the concurrency mode to Multiple.
take a look at http://www.codeproject.com/Articles/89858/WCF-Concurrency-Single-Multiple-and-Reentrant-and