ASP.net 2.0 offline application information

ASP.net 2.0 has a new feature is support for offline application information.

What is the offline message? Before we update the application, leading to restart asp.net application, user applications are often unfriendly error message is displayed, or IE always show loading state.

ASP.net 2.0 app_offline.htm support you place a file in the application root directory, when the user requests, the system checks to see if the file exists, and if so, the system will app_offline.htm file content directly to the user.

app_offline.htm content can be changed to anything you want, but be aware that the file can not be too small, because most users of IE settings "Show Friendly Http Error Messages", if app_offline.htm less than 512 bytes, this settings will be invalidated.

Also note the address bar, the address information is displayed when offline, the address bar still shows the request of
offline.gif
the above I tested successfully in iss6

detailed article in English: Taking AN ASP.NET 2.0 the Application Offline

Reproduced in: https: //www.cnblogs.com/baoposhou/archive/2006/12/22/600475.html

Guess you like

Origin blog.csdn.net/weixin_34416649/article/details/93320724