Articles → .NET → Making Application Offline

Making Application Offline

Click to Enlarge

•  Disable httpRuntime.

<httpRuntime enable="false"/>

•  Add a file "App_Offline.htm" in the project. A HTML page which gives some information to the end user.

Click to Enlarge

Important →

•  If the size of App_Offline.htm is greater than 1 MB then ASP.NET runtime will not return App_Offline.htm page.

•  If the size of App_Offline.htm is lesser than 512 bytes then an error message of internet explorer is shown.

Posted By  -  Karan Gupta
Posted On  -  Sunday, August 15, 2010


Your Email Id  
Query/FeedbackCharacters remaining 250