ASP.NET: The secret App_Offline.htm file

Apr 3, 2006  • ASP.NET

If you place a file named app_offline.htm into the root of an ASP.NET 2.0 application, the application will shutdown and any page request for the application will return this file instead. This feature makes it extremely easy to take down an application while a large update is being made. As soon as you remove the file any page requests to the application will continue as normal. This works with ASP.NET 2.0 and later.

http://weblogs.asp.net/scottgu/archive/2005/10/06/426755.aspx