ASP.NET MVC: Ignore custom attribute in a base controller class
I have a number of Controllers in my project that all inherit from a controller I've named BaseController. I wrote a custom attribute that I applied to the entire BaseController class, so that each time an action runs in any of my controllers, that attribute will run first. The problem is that I have a couple of controller actions that I'd like to ignore that attribute, but I don't know how to do it. Can anyone help? I'm using MVC 1. Thanks. I had a similar need for something like this and found that by creating an authorization filter (implementing/deriving from FilterAttribute,