Cool ASP.NET 2.0 trick
ASP.NET 2.0 has got a very cool and easy way to take your website offline:
Just place a file called
app_offline.htm in the root of your website and your worker process will be stopped.
The static
app_offline.htm page will then be served to the users of your site to inform them that your site is temporary offline.
To restart your site just remove (or rename) the file and your website is back online!
Now that's what I call cool!