Click here to Skip to main content
15,897,334 members
Articles / Web Development / ASP.NET

Put the website in Maintenance Mode (Under Construction)

Rate me:
Please Sign up or sign in to vote.
4.95/5 (16 votes)
6 Jul 2011CPOL 32.3K   4  
There is also the "app_offline.htm" in the root path

Alternatives

Members may post updates or alternatives to this current article in order to show different approaches or add new features.

Please Sign up or sign in to vote.
25 Dec 2011Bahram Ettehadieh 2 alternatives  
This Tip/Trick shows how to make the website available only for the local clients
Please Sign up or sign in to vote.
27 Dec 2011Mukund Thakker
Here is the source code for another solution:Global.asax:void Application_BeginRequest(object sender, EventArgs e){ if (ConfigurationManager.AppSettings["MaintenanceMode"] == "true") { if ((ConfigurationManager.AppSettings["ByPassUrl"].Contains( ...

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Technical Lead
Australia Australia
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions