tags:

views:

132

answers:

1

Hi, I have a filter attribute that I'd like to be applied to every action on my controller. Is there a built in mechanism to support this? Right now, I'm manually adding the filter to each action, but that's error prone and tedious. If there isn't support for controller level filter attributes, is there a better way to perform the logic?

+4  A: 

Apply the filter attribute to the controller class.

Brad Wilson
Go figure that it is that easy... thanks!
Jim Geurts