Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
A simple "app offline" template for ASP.NET
<!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
You can’t perform that action at this time.