I need to test a feature in a live "asp.net mvc" web site and would want to block access to the site while testing, how would you recommend doing that? Is it possible to block access and still be able to test as an anonymous user? (I need to test the process as a user that's not logged in).
A:
I would recommend you to create HttpModule that will check is IsTesting property is set. If IsTesting is true, than redirect all requests to under_construction.html, except requests from specific IP addresses.
A_HREF
2010-03-24 06:37:36
Thank you! I'm going to give it a try.
Debra
2010-03-24 06:58:26