How to take your web application offline with simple action [ASP.NET 2.0]
If you are deploying your web application and you don't the users to browse your web application until the deployment process finishes or you want to take you web application offline for a while. Just put a file with the name App_offline.htm and write any message you want to show to your users in it and put it in the root of your web application.
For the full story, please refer to Scott Guthrie blog @ https://weblogs.asp.net/scottgu/archive/2005/10/06/426755.aspx
Cheers,
Mohamed
Comments
- Anonymous
March 01, 2007
It's a great feature but is has a problem with IE Friendly errors A work around is: http://weblogs.asp.net/scottgu/archive/2006/04/09/442332.aspx