How to take an ASP.NET application off line . . .
. . . without turning off IIS
Why would you want to do this?
Well, you might have more than one application running under a specific IIS server instance. Or, maybe you don’t have access to IIS so you can turn it off. But, you still want to take the application off line so that you can perform maintenance on it.
All you need to do is create an app_offline.htm file and place it in the application root directory. Whatever is in app_offline.htm will display instead of your application whenever someone visits the site. To make the application available again, remove the app_offline.htm file from the application directory.
Technorati Tags: asp.net , application
del.icio.us Tags: asp.net , application
If you're new here, you may want to subscribe to my RSS feed. Thanks for visiting!



















































