Reputation: 7352
I am wondering if is there any user limit in numbers. I mean is there any upper limit for users that can use the WCF service concurrently other than memory limitations? I made a little research but since I don't know the terminology well I couldn't find anything :/ And I can't be sure of that kind of a limitation doesn't exist just because I couldn't find it :)
Upvotes: 0
Views: 297
Reputation: 24558
To prevent overloading of a service, you can specify how many calls can be made and how many sessions or instances can be created. You can do this by configuring the ServiceThrottlingBehavior settings. We can also do this by configuring the serviceThrottling element in app.config. The following throttling properties can be set.
Here is a sample config :
<behaviors>
<serviceBehaviors>
<behavior name="Throttled">
<serviceThrottling
maxConcurrentCalls="1"
maxConcurrentSessions="1"
maxConcurrentInstances="1"
/>
<serviceMetadata
httpGetEnabled="true"
httpGetUrl=""
/>
</behavior>
</serviceBehaviors>
Depending and your Framework version, the defaults values for all theses settings are not the same (link).
Upvotes: 1