Error!
Success!

MVC IsAuthorized and AuthorizedActionLink

0
kicks

MVC IsAuthorized and AuthorizedActionLink  (Unpublished)

Robert Dean published a great post last year about his Security Aware Html.ActionLink. It allowed you to conditionally render links based on the [AuthorizeAttribute] assigned to a controller’s action methods. Here’s an alternative implementation based on expressions, so you get type safety, intellisense and slightly simpler code.


Kicked By:
Drop Kicked By: