Effect of System.Net Connection Management
<system.net>
<connectionManagement>
<add maxconnection="1000" address="*"/>
</connectionManagement>
</system.net>
Can someone tell me if this setting affects my WCF (basicHttpBinding) ser开发者_StackOverflow中文版vices?
No.
From MSDN.
This class is used to specify the maximum number of simultaneous connections to a remote computer.
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>
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
精彩评论