문제

I've been looking at the 'Application Initialization' module for IIS 7.5 (which is baked in to IIS 8) and serviceAutoStartProviders which can be set to initialize services when an app loads up.

I'm wondering what happens to serviceAutoStartProviders when an app has AppOffline.aspx, to bring down the app for whatever reason. Do the providers still run, or no? In my case, I have a provider that I would not want to run while the app is being updated - and I use AppOffline.aspx while I'm updating the app.

도움이 되었습니까?

해결책

A quick test, it appears that serviceAutoStartProviders do run even if App_Offline.htm is found in the application directory.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top