简体   繁体   中英

Application warming up or initialisation after making a web.config change

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?

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 .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM