How can we specify the throttling behavior for a WCF service?

 Posted by Pgayath on 9/28/2012 | Category: WCF Interview questions | Views: 3893 | Points: 40
Answer:

Throttling behavior is specified by the following three parameters.

1. MaxConcurrentCalls - Total no of concurrent calls service will accept
2. MaxConcurrentSessions - Total no of sessionful channels service will accept
3. MaxConcurrentInstances - Total no of service instances will be created for servicing requests.

It can be specifed either through code or configuration file. It requires the "System.SystemModel.Behavior" namespace to be included.


| Alert Moderator 

Comments or Responses

Login to post response