Programatically Shutdown Web Application

by using this static method we can shutdown our web application. Maybe it is not so useful, but we should know…

//Terminates the current application, it restarts next time it is requested.
System.Web.HttpRuntime.UnloadAppDomain();

msdn

Be Sociable, Share!

    Category: Asp.Net - Comments Off on Programatically Shutdown Web Application

    Comments are closed.

    Back to top