Does Windows Azure support the Application Warm-Up module or something similar?

后端 未结 4 1797
灰色年华
灰色年华 2021-01-05 09:13

We have a Web Role that we are hosting in Windows Azure that uses an old ASMX based Web Reference to contact an external system. The Web Reference proxy code is big enough

4条回答
  •  我在风中等你
    2021-01-05 09:47

    I like the solution from Steve Marx.

    Add this lines to ServiceDefinition.csdef:

    
      
    
    

    And add disableTimeout.cmd in a folder called startup, with the following line of code:

    %windir%\system32\inetsrv\appcmd set config -section:applicationPools -applicationPoolDefaults.processModel.idleTimeout:00:00:00
    

    Original solution from here: http://blog.smarx.com/posts/controlling-application-pool-idle-timeouts-in-windows-azure

    When running in the emulator please read this: http://blog.smarx.com/posts/skipping-windows-azure-startup-tasks-when-running-in-the-emulator

提交回复
热议问题