我有一个名为C:\Windows\Microsoft.NET\Framework\v4.0.30319\aspnet.config
的文件,我想添加以下参数。
<applicationPool maxConcurrentRequestsPerCPU="10"
maxConcurrentThreadsPerCPU="10"
requestQueueLimit="10" />
我没有配置站点,我只想修改全局aspnet.config
文件。我尝试了这些命令,但是都没有修改xml,也没有办法验证更改是否生效。
$ appcmd set config /section:processModel /requestQueueLimit:250000 /commit:MACHINE
Applied configuration changes to section "system.web/processModel" for "MACHINE/WEBROOT/APPHOST" at configuration commit path "MACHINE"
$ appcmd set config /section:system.webserver/serverRuntime /appConcurrentRequestLimit:100000
Applied configuration changes to section "system.webServer/serverRuntime" for "MACHINE/WEBROOT/APPHOST" at configuration commit path "MACHINE/WEBROOT/APPHOST"
问题:
aspnet.config
xml文件?参考文献: