Geeks With Blogs

News Awarded Microsoft MVP C#.NET - 2007, 2008 and 2009

I am born in Bangladesh and currently live in Melbourne, Australia. I am a Microsoft Certified Application Developer MCAD Chartered Member (C# .Net)and born in Bangladesh.
I am founder and Chief Executive Officer of
Simplexhub, a highly experienced software development company based in Melbourne Australia and Dhaka, Bangladesh. Co-founder and core developer of Pageflakes
Simplexhub, is on its mission to build a smart virtual community in Bangladesh and recently launched beta an ASP.NET MVC application written in C#.NET.

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
Shahed Khan blog

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. team deserves a big treat to make life so simple....

Posted on Tuesday, January 16, 2007 11:03 PM | Back to top

Comments on this post: Taking Asp.Net2.0 applications offline with app_offline.htm

# re: Taking Asp.Net2.0 applications offline with app_offline.htm
Requesting Gravatar...
This is very nice application.It is very useful.
Left by jagadeesh on Dec 20, 2007 2:24 AM

# re: Taking Asp.Net2.0 applications offline with app_offline.htm
Requesting Gravatar...
Very useful tip. Thankyou.
Left by xci on Jul 07, 2008 10:14 PM

Your comment:
 (will show your gravatar)

Copyright © Shahed Khan | Powered by: