重启ASP.NET应用程序

终止当前应用程序。应用程序在下次接收到请求时重新启动。

   HttpRuntime.UnloadAppDomain();

原文地址:https://www.cnblogs.com/yangbin1005/p/1594813.html