IIS recycles an ASP.net Application Pool automatically whenever either the /bin folder or the web.config file changes.

Is there a way to disable that feature? This is IIS 7.5 running in Integrated mode, and the underlying intention is to allow applications (with Full Trust) to update and restart themselves.


Solution 1:

Yes you can.

In the Application Pool > Advanced Settings > Recycling section, set the Disable Recyling for Configuation Changes to True.