作者热门文章
- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
我将Web api 2服务移植到.net核心,并且在我的旧Web api服务中找到了这一行。
ServicePointManager.DefaultConnectionLimit = int.MaxValue;
最佳答案
在ASP.NET 5应用程序中,使用WinHttpHandler.MaxConnectionsPerServer
。其默认值为int.MaxValue
。
有关详细信息,请参见.NET Portability Analyzer from the Visual Studio Gallery和 WinHttpHandler.MaxConnectionsPerServer
on MSDN。
关于.net - .net核心中的ServicePointManager.DefaultConnectionLimit?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/36398474/
我是一名优秀的程序员,十分优秀!