General Action Link in MVC 3 / Razor

Just started a new MVC 3 project, and I cannot get a generic link to the action and the URLs that I use for MVC 2 futures.

What nuget packages and namespaces do I need to keep?

Example

Html.ActionLink<HomeController>(c => c.Index(), "Home") 

Answer:

You just need to reference Microsoft.Web.Mvc through NuGet MvcContrib - and make the namespace available in the views.

+7
source share
3 answers

What nuget packages and namespaces do I need to keep?

  • The official NuGet Mvc3Futures package is here
  • Namespace for Microsoft.Web.Mvc Ad
+5
source

Take the T4MVC package at NuGet.

+3
source

Just need to contact Microsoft.Web.Mvc

+1
source

All Articles