Strongly typed controller name in asp.net mvc 2

Can I use strongly typed controller name and action name in asp.net mvc? for example, instead of

ActionLink ("ActionName", "ControllerName");

somthing like this

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

Thank you, Alexander.

+2


a source to share


1 answer


T4MVC does it. Watch this video for an introduction:



http://channel9.msdn.com/posts/jongalloway/Jon-Takes-Five-with-David-Ebbo-on-T4MVC/

+1


a source







All Articles