Source and Context
Tim Marman wrote:
If you haven't already, though, I would recommend checking out Anakrino, an awesome open-source C# decompiler.
I can't agree more with this. I have a client who needs to have secure systems that can be audited at the source level to verify that the code meets security standards. Without the ability to get to the source code and verify certain implementation details the credibility of a system is difficult to estabilish.
The biggest problem that I'm finding is that, as an avid unit-testing geek, it can be difficult to test your controllers. I'm still playing around with a few ideas, but the basic problem is that your code will typically depend on ControllerContext, which depends on HttpContext.
Yeah, that's a real bummer, but shouldn't we factor most of what happens out of band and into buisness/data access components that are context neutral? That takes care of half of the problem at least. I do like your idea of creating and using a context simulator.