6
  <system.net>
    <connectionManagement>
      <add maxconnection="1000" address="*"/>
    </connectionManagement>
  </system.net>

Can someone tell me if this setting affects my WCF (basicHttpBinding) services?

sajidnizami
  • 467
  • 5
  • 15
  • This is a good question, however, the answer aren't good. maxconnection are a OS configuration that can be overriden. – Bruno Brant Feb 06 '14 at 20:21
  • It affects WCF clients. I was having an issue where a large number of client requests were being backlogged because we didn't have enough open connections to send them over. Changing this setting caused more messages to be sent at once and resolved the backlog and my client was a WCF client in a multi-threaded .NET application. – BearsEars Nov 12 '15 at 16:43

3 Answers3

6

No.

From MSDN.

This class is used to specify the maximum number of simultaneous connections to a remote computer.

leppie
  • 115,091
  • 17
  • 196
  • 297
3

Okay, for WCF it would look something like this:

<behavior name="CommonServices_Behavior">
  <serviceDebug includeExceptionDetailInFaults="false" />
  <serviceMetadata httpGetEnabled="true" />
  <serviceThrottling maxConcurrentCalls="100" maxConcurrentSessions="50" maxConcurrentInstances="50" />
</behavior>
Denis Valeev
  • 5,975
  • 35
  • 41
0

Generally, the maximum amount of connections is a value that your server setup can support. This is based on the physical makeup of your server(s), the normal load the server(s) are under, and your Internet connection speed. There is no one value that is right for everyone.

refer http://msdn.microsoft.com/en-us/library/fb6y0fyc.aspx for more details

Sandeep Pathak
  • 10,567
  • 8
  • 45
  • 57