#19106: Setting app Application Pool timeout for Azure Cloud Services

Work Item: 19106

--HG--
branch : 1.x
This commit is contained in:
TheMonarch
2012-10-11 11:24:27 -07:00
parent 231e9b0b68
commit 48724e2e39
3 changed files with 9 additions and 0 deletions

View File

@@ -17,5 +17,8 @@
<Endpoints> <Endpoints>
<InputEndpoint name="HttpIn" protocol="http" port="80" /> <InputEndpoint name="HttpIn" protocol="http" port="80" />
</Endpoints> </Endpoints>
<Startup>
<Task commandLine="Startup\ConfigureIIS.cmd" executionContext="elevated" taskType="simple" />
</Startup>
</WebRole> </WebRole>
</ServiceDefinition> </ServiceDefinition>

View File

@@ -150,6 +150,11 @@
<Private>True</Private> <Private>True</Private>
</Reference> </Reference>
</ItemGroup> </ItemGroup>
<ItemGroup>
<Content Include="Startup\ConfigureIIS.cmd">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</Content>
</ItemGroup>
<ItemGroup> <ItemGroup>
<Compile Include="Global.asax.cs"> <Compile Include="Global.asax.cs">
<DependentUpon>Global.asax</DependentUpon> <DependentUpon>Global.asax</DependentUpon>

View File

@@ -0,0 +1 @@
%windir%\system32\inetsrv\appcmd set config -section:applicationPools -applicationPoolDefaults.processModel.idleTimeout:00:00:00