We have a situation where we need to explicitly limit the system.web/processModel/maxAppDomains = 1 for one website. The problem is that system.web/processModel can only be set at the machine.config level by default:
<configuration>
<configSections>
<sectionGroup name="system.web">
<section name="processModel" allowDefinition="MachineOnly" />
</sectionGroup>
</configSections>
<configuration>
I know that %windir%/system32/inetsvr/appcmd.exe can be used to update IIS config settings, but I haven't found a way to update the allowDefinition attribute of the processModel section definition. Can anyone point me in the right direction here?
Thanks