.NET

app_offline.htm

app_offline.htm is an old feature of ASP.NET that i recently found and find quite useful. If you put an app_offline.htm file in the root of your .net hosted site (yeah, simple as that), ASP.NET will shut down your site unload it form the app domain and stop serving any incoming requests. Instead it will start serving the content of the app_offline.htm file. That comes quite handy of your site is “Under Construction” or you make any major changes.

markup

app_offline

site

Leave a Reply

Your email address will not be published. Required fields are marked *