{Log in or Register}

How-to: create page “Site offline” in ASP.NET

July 22nd, 2008 No Comments   Posted in ASP.NET

Today I want to write about the some tricks of ASP.NET, which are very useful.

Sometimes, when you load new files into server or site temporary not work - you must notify users about it. If you use ASP.NET - you can do it easy! Create static html page with message about it and save as “app_offline.htm” (not *.html !!) into root directory of site. Now if users come in to your site they will see beautiful page. When a site will begin to work normally -  delete file app_offline.htm.