Questions tagged [app-offline.htm]

app-offline.htm is the name of an html file that can be used to put an asp.net based website (starting from ASP.NET 2.0) offline.

Starting from ASP.NET 2.0 app-offline.htm is the name of an file that can be used to put an asp.net based website offline. If file with this name is placed in the root of a web application directory, ASP.NET 2.0 will shut-down the application, unload the application domain from the server, and stop processing any new incoming requests for that application. will also then respond to all requests for dynamic pages in the application by sending back the content of the app_offline.htm file, so usually this file contains a message stating the reason for site's unavailability.

This provides a convenient way to take down an application for example while lenghty maintenance operations are performed.

When app_offline.htm is present, will return this http status code:

HTTP/1.1 503 Service Unavailable

Once the app_offline.htm file is removed, the next request into the application will cause ASP.NET to load the application and app-domain again, and the application will continue to operate in its usual way.

73 questions
1
vote
1 answer

App_Offline.htm content works but no content is displayed

I'm having an unexpected behavior with my app_offline.htm on a hosted 4.0 pipelined Web Application site. I keep the file in the root directory under an alternate spelling and then rename it to app_offline.htm when I need it. It works as expected to…
1
vote
0 answers

How to control .htm file in python

I am opening a .htm file through code in python. It is opening in chrome. After that I am removing the file as ss=subprocess.Popen(FileName,shell=True) ss.wait() removeTempFile(FileName) subprocess is not waiting and suddenly removeTempFile is…
Harish Barvekar
  • 83
  • 2
  • 2
  • 7
1
vote
1 answer

Passing parameters to offline cached pages doesn't work

I'm making an HTML5 offline app that of course uses a "manifest" file to tell the browser the pages to download, the problem is when I call a previously cached page passing parameters in the URL it doesn't work... It works if I include the full…
Ruben Teixeira
  • 514
  • 2
  • 8
  • 17
1
vote
0 answers

HTML5 / JQuery Mobile App - AppCache/Undesired caching

I've developed a JQuery Mobile app. I am using appcache to load nothing but the main page, images, and my JQM includes. I have * in the NETWORK section of my appcache file. It has been working great through development until today. Without…
1
vote
1 answer

Setting an offline page for flex application

I have a flex application which when am publishing a new version for, would like to take it offline and present the user with a page that explains that the site is under construction and will be back in a few minutes. Is there a way to setup…
Linda
  • 109
  • 1
  • 2
  • 12
1
vote
2 answers

Why are multiple App_Offline.htm files appearing in Recycle Bin

I'm not duly concerned but can anyone suggest why since installing Visual Studio 2008 Service Pack 1 I keep finding multiple App_Offline.htm files in my recycle bin. I suspect it's something to do with Visual Studio taking local websites off-line…
David A Gibson
  • 2,013
  • 5
  • 35
  • 60
1
vote
1 answer

What happened to my ASP.NET website causing NullReferenceException in code behind on controls from MasterPage?

I have the strangest problem! I have an ASP.NET website application (luckily not yet live). Yesterday and everyday before, I could run the application without error. It was working fine when I turned the computer off late last night. When I ran the…
Sheridan
  • 68,826
  • 24
  • 143
  • 183
0
votes
3 answers

.Net MVC3 app_offline.htm issues with css/images

I'd like to use the root app_offline.htm file as a maintenance page. Design came back with a maintenance page that will require images and css. I added the image and ran the site, but the image won't render. I looked in firebug and saw that the…
ScottE
  • 21,530
  • 18
  • 94
  • 131
0
votes
1 answer

Add app_offline.htm file when completing pull request, and then delete it afterwards once it completes/fails

Is it possible for when there is a Pull request being completed, it creates a custom app_offline.htm file, and then removes it once the request completes/fails afterwards? Been left with a white screen for users when the pull request is being…
rcforster
  • 21
  • 6
0
votes
1 answer

Offline storage - db sync

My question is: How can a make my Web app to store local data if not connected to internet and once the connection is available sync them with server. What is best solution to do this. My app is cakephp / mysql, I want to beable to store data,…
flakerimi
  • 2,580
  • 3
  • 29
  • 49
0
votes
2 answers

HTML5 Offline Application

I am trying to apply html5 offline application in a single html page. Is there any one line link API(like we use Google map link) by Google, Jquery or some other service provider which can easily enable offline cache? I am new to html5 and…
Sanket
  • 659
  • 3
  • 10
  • 24
0
votes
0 answers

Bring all applications offline on IIS

I have about 68 applications running on my IIS. These applications are divided across 18 websites. I have created an app_offline.htm for each website but it doesn't seem to be working. I think the reason is because the applications are being run are…
progrAmmar
  • 2,606
  • 4
  • 29
  • 58
0
votes
2 answers

Using app_offline with TFS2015 RM

I am in the course of setting up continuous deployment to IIS using TFS 2015 RM and wanted to take an application offline before deployment. Upon little research have found good posts on achieving it through “app_offline.htm” file with following…
Sam
  • 279
  • 3
  • 9
0
votes
1 answer

Asp.Net MVC - Update live Web site

What is the best way to update a live Web site created with Asp.Net MVC 2.0 ? Using the app_offline.html used in Asp.Net ? Other new way ?
Melursus
  • 10,328
  • 19
  • 69
  • 103
0
votes
0 answers

App_Offline dynamically

I have a MVC5 web application on production, but I had to call the server guy to take down the site manually everytime I need to publish new features, just wondering if I can do this dynamically without any access to the webserver. I was thinking of…
tickwave
  • 3,335
  • 6
  • 41
  • 82