I really want to enable these IIS settings in a startup script. An answer for doing this in code exists here: AutoStart a WCF on Azure WebRole. I dislike putting that sort of IIS tweaking in code. So I found these commands:
%windir%\system32\inetsrv\appcmd set config -section:applicationPools -applicationPoolDefaults.autoStart:true
%windir%\system32\inetsrv\appcmd set config -section:applicationPools -applicationPoolDefaults.startMode:AlwaysRunning
They appear to be exactly what I want logically but do not have the desired affect. I'm deploying a WCF RESTful service via ASP.NET. When remoting into my Azure CloudService instances I can see in IISMgr that StartMode is set to AlwaysRunning, but I don't know where in the IIS UI to find the AutoStart setting.
Can anyone familiar with IIS and scripting chime in on what I might be doing wrong?