I'm use asp.net mvc6 on IIS 8.5, set the app pool to Always running. set the website to auto preload = true already.
but only when the IIS recycle , it will fired the Application_Start() on global.asax.
but when I start, restart website or modify web.config. it not fired Application_Start() on global.asax.
even I set the initializationPage and doAppInitAfterRestart=true. it newer send fake request when start, restart, or modify web.config.
<applicationInitialization doAppInitAfterRestart="true">
<add initializationPage="/a=initial_auto" />
</applicationInitialization>
I really don't understand. Why we should wait the user send first request? You guys all know, the IIS first request will take very very long time. Why we just don't let it auto send a request , then user access more fast after that.
I just want to it firing the Application_Start() on global.asax. because I can add some fake request myself. I even don't need IIS send fake request. I just want to website no matter start , restart, or modify web.config. or rebuild, recycle . it always can firing Application_Start().
Why the Microsoft don't do that? wake up Microsoft.