Strongly typed controller name in asp.net mvc 2

Posted by Alexander Shapovalov on Stack Overflow See other posts from Stack Overflow or by Alexander Shapovalov
Published on 2010-04-25T21:49:51Z Indexed on 2010/04/25 21:53 UTC
Read the original article Hit count: 597

Filed under:
|

Hello,

Is it possible to use strongly typed controller name and action name in asp.net mvc? for example instead of

ActionLink("ActionName", "ControllerName");

somthing like this

ActionLink(ControllerName(x=>x.ActionName()), ControllerName)

Thanks, Alexander.

© Stack Overflow or respective owner

Related posts about asp.net-mvc

Related posts about strongly-typed