首页 相关文章 何时.NET中AppDomain会回收?

何时.NET中AppDomain会回收?

  1. 修改配置文件,如Machine.Config, Web.Config,Global.asax
  2. 修改了bin目录以及里面的内容
  3. 重编译数超过在machine.config或web.config中compilation numRecompilesBeforeAppRestart=/ 设置的值
  4. 修改应用程序虚拟目录的物理路径
  5. 修改CAS策略
  6. 重启web 服务
  7. 删除应用程序的子目录(仅.net 2.0)

  有关AppDomain的回收,可参阅Tess的这篇博客贴子:http://blogs.msdn.com/tess/archive/2006/08/02/686373.aspx
  

...[ 查看全文 ]

2016-02-19 标签:

何时.NET中AppDomain会回收?的相关文章

手机页面
收藏网站 回到头部