If you need to take your application offline, simply add a file named “app_offline.htm” to the root directory of your application. This will cause any future requests to be rerouted to this page as handled through IIS. This functionality is available from ASP.Net 2.0 and forward.