I\'ve read about the app_offline.htm file which can be placed within the root of a .NET 2.0 application which will in essence shut down the application and disa
app_offline.htm
Make sure your app_offline.htm file is at least 512 bytes long. A zero-byte app_offline.htm will have no effect.
UPDATE: Newer versions of ASP.NET/IIS may behave better than when I first wrote this.
UPDATE 2: If you are using ASP.NET MVC, add the following to web.config: