Raihan Iqbal
Life is codetastic!

ASP.NET Maintenance Mode Module

AM3Web developers at times need to put their web applications in an offline mode so as to prevent visitors from accessing the site while they are updating it. The classic way to do this would be to upload an app_offline.html file to the root of the web application. The limitation of this technique is that even the developer cannot visit the site! A developer might need to ensure if everything is working fine and at the same time prevent other users from accessing the web site.

So I created an HTTP module that helps overcome this issue. Just place a few lines in your web.config file and you are ready to go!

 

The following are the main features of this module:

1. Turn on/off the maintenance mode using a setting in the web.config file.

2. Specify the path to the landing page that will be shown to visitors.

3. Specify path to the login page if available.

4. Specify the allowed user roles.

5. Specify the allowed users.

Since the module is in its primary stage, please report any issues that you may find.

Resources

Share

Posted in .net, asp.net, Tools | 23,202 views | 3 Comments

3 Responses to “ASP.NET Maintenance Mode Module”

  1. Open Source ASP.NET Maintenance Mode Module…

    Thank you for submitting this cool story – Trackback from DotNetShoutout…

  2. [...] Read more here: ASP.NET Maintenance Mode Module | Raihan Iqbal [...]

  3. We like your blog theme can you tell me the name of it or where you found it? cheers mate.

Leave a Reply