Click here to Skip to main content
15,892,809 members
Articles / Programming Languages / C# 4.0

Web site Maintenance Page MVC 3

Rate me:
Please Sign up or sign in to vote.
0.00/5 (No votes)
6 Nov 2012CPOL 11.4K  
Hi,Can anyone tell me how re-direct to web site down Maintenace page in MVC3, so whenever users log in they should be re-directed to Maintenance down page, when site is downNote :- Some users should be able to access the application for testing purpose, remaining all user should be...

Alternatives

Members may post updates or alternatives to this current article in order to show different approaches or add new features.

Please Sign up or sign in to vote.
6 Nov 2012Sandeep Mewara
I have not tried so not sure about App_Offline.htm way to handle it. Details here: App_Offline.htm [^]Following is one of the ways suggested and implemented by quite a few: Implement “Down for maintenance” page[^]. It says:You can use a catch-all route with a RouteConstraint with the IP...

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
United States United States
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions