I have a file called C:\Windows\Microsoft.NET\Framework\v4.0.30319\aspnet.config
and I want to add the following params.
<applicationPool maxConcurrentRequestsPerCPU="10"
maxConcurrentThreadsPerCPU="10"
requestQueueLimit="10" />
I do not have sites configured and I would like to modify the global aspnet.config
file only. I tried these commands but neither modified the xml and no way of verifying if the changes took affect.
$ 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"
Questions:
- How do I do this using just appcmd? Is it even possible without a defined site?
- If I use a registry change, does that override the
aspnet.config
xml file? - Can all 3 params be modified exclusively by the registry change?
- After the changes have been made, what is the best way to test if the parameters took affect?
References: