Using Custom Security Attributes in ASP.NET MVC

added by mceranski
1/20/2010 9:29:25 PM

1 Kicks, 168 Views

Using the Authorize attribute with "magic strings" to secure controller methods can produce some undesirable code. By using custom attributes and extension methods you can clean up your code and streamline your design.