Is there a "global" OnActionExecuting that I can override to have all my MVC actions (regardless of controller) do something when they get called? If so, how?
+2
A:
Nope. The easiest way to do this is to write a common base class that all of your controller types subclass, then stick an action filter on that base class or override its OnActionExecuting() method.
Levi
2009-09-16 04:55:12
...of course, it all depends on what need's to be done.
David Andres
2009-09-16 05:05:49