Does any change in any file inside bin folder cause application recycle in ASP.NET web application?

微笑、不失礼 提交于 2019-11-27 04:14:15
Tim Schmelter

First, i can not provide a link to an official documentation. But from what i've read every change in the bin-folder(incl. subfolders) will cause the IIS to recycle the application domain.

Abrupt Application Pool Recycling

  1. Any modifications in the Application’s BIN Directory

  2. Making changes in any Configuration File/s, like Web.config or others ( if you have any specific config file in your application say in a directory called App_Config).

  3. Making modifications in the Source code files in APP_CODE Directory. This maybe change in any Source code files, or adding or deleting files from this directory.

  4. Making changes in the Global.asax file

  5. Making Changes in the Machine.config file.

  6. Making any modifications in the Web Application’s Root Directory. This means creating files/subdirectories on the fly can lead to application pool recycling.

  7. Modifications for references of Web Services of App_WebReferences directory.

  8. Modifying the Security Settings of any directory in the Root directory. (Like specifying read security rights for everyone or any other specific user or user group.)

Here's some reading:

  1. What causes an application pool in IIS to recycle?
  2. http://christopherdeweese.com/blog2/post/beware-writing-to-the-bin-folder-in-iis-hosted-services
  3. What does an IISReset do?
  4. http://www.iis.net/ConfigReference/system.applicationHost/applicationPools/add/recycling
  5. Managing, Tuning, and Configuring Application Pools in IIS 7.0
  6. http://varunvns.wordpress.com/2011/07/04/application-pool-restarts/
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!