WCF Service Throttling

血红的双手。 提交于 2019-11-27 07:28:12

Or use this configuration in the client.

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

Here 200 is the limit from the client

Mubashar Ahmad

I found a solution: there is a connection limit on ServicePointManager that was causing this problem. To remove this limit you just need to set

System.Net.ServicePointManager.DefaultConnectionLimit = X;

where the default limit is 2.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!