我有一个.Net项目,我想在IIS默认网站上更改与cmd或exe的最大并发连接数。
如何使用script、exe或cmd commant更改它?
发布于 2013-09-24 20:06:38
根据这个答案:https://stackoverflow.com/a/7898696/888617你可以编辑你的machine.config来设置最大连接数。
<configuration>
<system.net>
<connectionManagement>
<add address="*" maxconnection="65535"/>
</connectionManagement>
</system.net>
</configuration>您可以使用以下命令获取配置文件:
string configPath = System.Runtime.InteropServices.RuntimeEnvironment.SystemConfigurationFile;https://stackoverflow.com/questions/18980813
复制相似问题