tryandcatch.net

Blogs from tryandcatch.net
Welcome to tryandcatch.net Sign in | Join | Help
in Search

Juan Pablo Rizzo's Blog

Under Maintenance with ASP.NET 2.0

If you are used to put your website under maintenance while you are updating it you will love this nice ASP.NET 2.0 feature.

You just need to create a file called app_offline.htm (with the static content that you want) in the root directory of you website and ASP.NET will unload the application domain and redirect all new incoming requests to that file.

Just rename or delete the app_offline.htm file and the website will be online again. Pretty simple, pretty cool :).

Published Friday, March 17, 2006 1:40 PM by jprizzo
Filed Under: ,
Anonymous comments are disabled

This Blog

Post Calendar

<March 2006>
SuMoTuWeThFrSa
2627281234
567891011
12131415161718
19202122232425
2627282930311
2345678

Syndication

Powered by Community Server, by Telligent Systems