System.Net Connection Control Effect

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

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

+6
source share
3 answers

Not.

From MSDN.

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

+6
source share

Well, 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> 
+3
source share

Typically, the maximum number of connections is the value that your server setup can support. This is based on the physical composition of your server (s), the normal loading of the server (s) and the speed of your Internet connection. There is not a single value that would be right for everyone.

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

0
source share

All Articles