History - 2008

app_offline.htm

19 Sep 2008

Discovered this handy feature that works with ASP.NET 2.0 (and above) sites.
If you drop a file called app_offline.htm into the root directory of your ASP.NET website it immediately stops the application and any requests to your site will be served with the app_offline.htm page. This will continue until the app_offline.htm file is removed at whichpoint your web application will restart and begin serving web requests.
Very handy if you need to get a "Site under maintena

Categories

History