Just started a new MVC 3 project and I can't get the strongly-type generic action link and url helpers I am used to in MVC 2 futures.
Which nuget packages and namespaces do I need to get hold off?
Example
Html.ActionLink<HomeController>(c => c.Index(), "Home")
ANSWER:
Just needed to reference Microsoft.Web.Mvc via NuGet MvcContrib - and make the namespace available in the views.
Which nuget packages and namespaces do I need to get hold off?
Grab the T4MVC package in NuGet.
Just need to reference Microsoft.Web.Mvc
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With