It's easy to take an ASP.NET web application offline without going through IIS.

Simply add a file called "app_offline.htm" to the root of the application. It will automatically disconnect from IIS and databases.

It will display the contents of the app_offline.htm file instead.

You're welcome.