Prevent IIS from recycling if /bin changes

asp.netiis-7iis-7.5windows-server-2008windows-server-2008-r2

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.

Best Answer

Yes you can.

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