Dailycode.info

Short solution for short problems

ASP.NET: app_offline.htm takes your site offline

When deploying to a site, you want to show a nice message like, working on the site untill 12 PM or something.
You can do this several ways, one way is to add to the deploy script a drop of the file app_offline.htm into the root of your site. This will send all incoming request to this file. 
When the deploy is finished, simply remove it again!