posts - 234, comments - 480, trackbacks - 56

My Links

News




I am born in Bangladesh and currently live in Melbourne, Australia. I am a co-founder and core developer of Pageflakes www.pageflakes.com and CEO at Simplexhub, a highly experienced software development company based in Melbourne Australia and Dhaka, Bangladesh. Simplexhub, is on its mission to build a smart virtual community in Bangladesh and recently launched beta realestatebazaar.com.bd an ASP.NET MVC application written in C#.NET.

I also created SmartCodeGenerator

Some of my articles
Flexible and Plugin based .Net Application..
Mass Emailing Functionality with C#, .NET 2.0, and Microsoft® SQL Server 2005 Service Broker'
Write your own Code Generator or Template Engine in .NET
Smart Code Generator .NET: Usage Overview
Smart Code Generator .NET: Architectural Overview
Smart Code Generator .NET: using with NAnt and Cassini

Archives

Free Programming Language Training

Taking Asp.Net2.0 applications offline with app_offline.htm

Asp.Net 2.0 comes with this cool feature, just place a file named app_offline.htm in the root folder of your web application, this will shut-down the application and also unload the application domain from the server, not only this it will stop processing any respond to all requests for dynamic pages and send back the content of app_offline.htm file.

So in the app_offline.htm you can put "Under Construction", "Will come back in 5 min" etc.

When you remove app_offline.htm file again the next request will be processed normal, it will load the app and start serving as you would have expected.

Asp.net team deserves a big treat to make life so simple....

Print | posted on Tuesday, January 16, 2007 11:03 PM |

Feedback

Gravatar

# re: Taking Asp.Net2.0 applications offline with app_offline.htm

This is very nice application.It is very useful.
12/20/2007 2:24 AM | jagadeesh
Gravatar

# re: Taking Asp.Net2.0 applications offline with app_offline.htm

Very useful tip. Thankyou.
7/7/2008 10:14 PM | xci
Post A Comment
Title:
Name:
Email:
Website:
Comment:
Verification:
 
 

Powered by: