Sunday, August 17, 2008

Taking an ASP.NET 2.0 Application Offline

Here's another good article written by Scott Mitchell.
"When updating a web application that's currently in production, it is best to take the application offline so that users understand that the application is being worked on. This can be accomplished in a variety of ways, from simply stopping the web server software to displaying a web page that informs the user that the site is offline for maintenance. What you don't want to do is have the application appear to work, only to have some error pop up later because you are in the middle of updating the production server. This is a sure-fired way to frustrate your users."
The article discusses 4 ways to take an application offline:
  • Taking a Website Offline through IIS
  • Disabling the <httpRuntime>
  • Using App_Offline.htm
  • Creating a "Manage Offline Status" Page
Scott Mitchell is the the editor, founder, and primary contributor to