这段代码可以让ASP.NET的站点自己重启
private static void RestartMe() { Application.ExitThread(); Application.Exit(); Application.Restart(); Process.GetCurrentProcess().Kill(); }
这段代码可以让ASP.NET的站点自己重启
private static void RestartMe() { Application.ExitThread(); Application.Exit(); Application.Restart(); Process.GetCurrentProcess().Kill(); }