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

有人可以告诉我此设置是否会影响我的 WCF (basicHttpBinding) 服务吗?

4

3 回答 3

6

不。

来自 MSDN。

此类用于指定与远程计算机的最大同时连接数。

于 2010-08-30T07:01:28.540 回答
3

好的,对于 WCF,它看起来像这样:

<behavior name="CommonServices_Behavior">
  <serviceDebug includeExceptionDetailInFaults="false" />
  <serviceMetadata httpGetEnabled="true" />
  <serviceThrottling maxConcurrentCalls="100" maxConcurrentSessions="50" maxConcurrentInstances="50" />
</behavior>
于 2011-07-21T08:56:30.107 回答
0

通常,最大连接数是您的服务器设置可以支持的值。这取决于您的服务器的物理构成、服务器的正常负载以及您的 Internet 连接速度。没有一种价值观适合所有人。

有关更多详细信息,请参阅http://msdn.microsoft.com/en-us/library/fb6y0fyc.aspx

于 2010-08-30T07:05:46.850 回答