I deploy my Application within an Intranet, so a direct support of app_Offline.htm would be nice (like the Standard Visual Studio publishing).
Also with the MSBuilds (i have not enough knoweledge about it) it seems not possible, because the $(TargetDir) is delete by the aspnet_compiler, if i put an app_Offline.htm before build it would be deleted by the compiler.
As you do a build to a location, have app_offline.htm be the first file copied. The next time the page is it, it will take it offline, when the build is done, have your process delete the app_offline.htm, and the next time it's hit, the application will fire
a start and JIT compile.
I Know that its automatically created when you exit visual studio and if you copy your files over without visual studio more then likely your going to copy up that app_offline file to the server.
Here is the google translation for anyone whos going to be reading this post.
Albert Weine...
Member
235 Points
26 Posts
MVP
app_Offline.htm Support?
Apr 28, 2006 05:31 PM|LINK
Also with the MSBuilds (i have not enough knoweledge about it) it seems not possible, because the $(TargetDir) is delete by the aspnet_compiler, if i put an app_Offline.htm before build it would be deleted by the compiler.
Or do i miss something?
Freakyuno
Star
12518 Points
1952 Posts
Re: app_Offline.htm Support?
Apr 28, 2006 06:25 PM|LINK
My Blog
Blake05
Contributor
2561 Points
511 Posts
Re: app_Offline.htm Support?
Apr 29, 2006 05:00 AM|LINK
http://weblogs.asp.net/scottgu/archive/2005/10/06/426755.aspx
http://weblogs.asp.net/scottgu/archive/2006/04/09/442332.aspx
They should give you some more knowledge about the app_offline
Blog - Website: windowscoding.com
Albert Weine...
Member
235 Points
26 Posts
MVP
Re: app_Offline.htm Support?
May 01, 2006 01:10 PM|LINK
I want to know how to include it in the Web Deployment Project, without copy and deleting it manually.
Albert Weine...
Member
235 Points
26 Posts
MVP
Re: app_Offline.htm Support?
May 03, 2006 07:59 AM|LINK
You can find it at my Blog http://der-albert.com/archives/47-App_Offline.htm-Support-fuer-das-Web-Deployment-Project.html
but it's in German only.
Blake05
Contributor
2561 Points
511 Posts
Re: app_Offline.htm Support?
May 03, 2006 02:39 PM|LINK
Here is the google translation for anyone whos going to be reading this post.
http://www.google.com/translate?u=http%3A%2F%2Fder-albert.com%2Farchives%2F47-App_Offline.htm-Support-fuer-das-Web-Deployment-Project.html&langpair=de%7Cen&hl=en&ie=UTF8
Blog - Website: windowscoding.com