Asp.net| Program
ASP.net 2.0 has a new feature that supports application off-line information.
What is offline information? Previously we were updating the application to ASP.net application restart, the user of the application would usually display unfriendly error messages, or IE would always show the loading state.
ASP.net 2.0 enables you to place a app_offline.htm file under the application root, and when requested, the system checks to see if the file exists, and if so, the system will return the contents of the app_offline.htm file directly to the user.
App_offline.htm content can be changed to whatever you need, but note that the file cannot be too small, because most users ' IE has a "show friendly HTTP error message" Set, and if app_offline.htm is less than 512 bytes, this setting will fail.
Also notice the Address bar, the address bar when the offline information is displayed, the Address box is still displayed.
Above I tested successfully under the ISS6