Question

To warm up an application, I have applied Application Initialisation settings by making some config changes on applicationhost.config file on iis 7.5. these works fine when I recycle an application pool or restart IIS. i have picked up these settings from here (http://www.orcsweb.com/blog/terri/implementing-application-initialization-on-iis-7-5/)

these setting doesn't work when i make any web.config changes. is there a way to recycle an application pool automatically when i make a change in web.config file?

Was it helpful?

Solution

I would suggest to read up on this post - nicely explains difference between Application domain recycle vs. application pool recycle. Imagine scenario where there are two apps sharing same app pool, recycling whole pool because of one app config change is not really desired.To answer your question, I am not aware there is a setting and I believe app pool recycle should be done manually or via pool recycle settings.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top