Articles → .NET → Making Application Offline
Making Application Offline
Click to Enlarge
- Disable httpRuntime. Open web.config file and add a property called enable = "false" in tag in web.config file.
<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.