【问题标题】:Can you bounce App Pool from within w3wp.exe itself?您可以从 w3wp.exe 本身中反弹应用程序池吗?
【发布时间】:2011-04-01 03:13:49
【问题描述】:

就这么简单。有什么安全考虑吗? IIS6,IIS7?或者只是在同一进程中向配置中写入一些内容以触发回收?

【问题讨论】:

    标签: .net iis-7 iis-6


    【解决方案1】:

    另一种无需写入配置文件即可回收应用程序池的方法是:

    HttpRuntime.UnloadAppDomain();
    

    HttpRuntime.UnloadAppDomain Method

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2011-12-02
      • 2018-12-22
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多