ActionFilter

Altering the ASP NET MVC model with an ActionFilter

Action filters are executed before and/or after the execution of an action method, they can be used to modify how an action executes or to perform a separate task, such as authorization or logging.

Skipping ActionFilters in ASP NET MVC

In the previous post I showed how you can use an action filter to execute code both before and after an action method and how to apply the filter globally.