Created
July 21, 2015 20:11
-
-
Save robert-claypool/5179576de025b4814744 to your computer and use it in GitHub Desktop.
A simple "app offline" template for ASP.NET
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="UTF-8"> | |
<title>Offline</title> | |
</head> | |
<body style="margin:3em;font-family:sans-serif"> | |
<h2>Offline</h2> | |
<p>This site is offline for maintenance.</p> | |
<!-- | |
Adding some hidden content so that IE "Friendly Errors" don't keep | |
this message from displaying. (It will show a "friendly" 404 | |
error if the content isn't at least 512 bytes.) | |
This is mostly a problem for IE6 which has "Friendly Errors" on by default. | |
See http://weblogs.asp.net/scottgu/App_5F00_Offline.htm-and-working-around-the-_2200_IE-Friendly-Errors_2200_-feature | |
<h2>This site is offline.</h2> | |
<h2>This site is offline.</h2> | |
<h2>This site is offline.</h2> | |
<h2>This site is offline.</h2> | |
<h2>This site is offline.</h2> | |
--> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment