Adding Service Throttling

By aj li

Error: Our wpf application crashes when it reach 16 client connections.

Solution: We added service throttling configuration in the web.config of our project.


<behaviors>
<behavior name="Services.DefaultServiceBehavior">
          <serviceThrottling maxConcurrentCalls="100"
            maxConcurrentSessions=
"100"/>


Note: Default values/ no servicetthrottling is defined
maxConcurrentCalls = 16
maxConcurrentSessions = 10
maxConcurrentInstances = Unlimited

Adding Service Throttling  (1147 Views)