是否在ASP.NET Web应用程序的bin文件夹导致应用程序里面回收的任何文件是否有变化? [英] Does any change in any file inside bin folder cause application recycle in ASP.NET web application?

查看:158
本文介绍了是否在ASP.NET Web应用程序的bin文件夹导致应用程序里面回收的任何文件是否有变化?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我知道,在ASP.NET Web应用程序,改变位于斌一个DLL文件文件夹会导致应用程序的循环。

I know that in ASP.NET web application, changing a DLL file located in the bin folder causes an application recycle.

但我不知道,因为这个问题意味着,无论任何文件的变化导致这样的行为?包括在这种情况下简单的文本文件?

But I wonder, as the subject implies, whether any file changes cause such behavior? Are simple text files included in this scenario?

和有关子文件夹文件夹呢?而它们的内容?

And what about sub folders to bin folder? And their contents?

我知道我可以尝试一下自己,但更重要的是,我在寻找适当的文件这一点。

I know I can try it out myself, but more importantly, I'm looking for proper documentation for this.

推荐答案

首先,我不能提供一个链接到官方文档。但是从我读过的每个在bin文件夹(包括子文件夹)的变化将导致IIS以回收应用程序域。

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.

突然应用程序池回收


  1. 在应用程序的bin目录的任何修改

  1. Any modifications in the Application’s BIN Directory

在任何配置文件/秒进行更改,如Web.config文件或其他人(如果你在你的应用程序的任何特定的配置文件中的一个名为APP_CONFIG目录执行的话)。

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).

在APP_ code目录中的源$ C ​​$ C文件进行修改。任何来源中的code文件可能发生改变,或者从这个目录添加或删除的文件。

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.

制作在Global.asax更改文件

Making changes in the Global.asax file

制作Machine.config文件的更改。

Making Changes in the Machine.config file.

制作在Web应用程序根目录的任何修改。这意味着动态创建的文件/子目录会导致应用程序池回收。

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

有关App_WebReferences的Web服务的引用修改。目录

Modifications for references of Web Services of App_WebReferences directory.

修改任何目录的安全设置在根目录下。 (如指定为每个人或任何其他特定用户或用户组读取安全权限。)

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.)

下面是一些阅读:


  1. What导致IIS应用程序池回收?

  2. http://christopherdeweese.com/blog2/post/beware-writing-to-the-bin-folder-in-iis-hosted-services

  3. 什么是一个IISRESET怎么办?

  4. http://www.iis.net/ConfigReference/system.applicationHost/applicationPools/add/recycling

  5. 管理,调优,并在IIS中配置应用程序池7.0

  6. http://varunvns.word$p$pss.com/2011/07/04/application-pool-restarts/

  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/

这篇关于是否在ASP.NET Web应用程序的bin文件夹导致应用程序里面回收的任何文件是否有变化?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆