Action and Routes don’t have to have a 1:1 relationship.
ActionLink will generate the URL to get to an action using the first matching route by action name.
RouteLink will generate a URL to a specific route determined either by name or route values.
More Related Contents:
- HTML.ActionLink method
- What does Html.HiddenFor do?
- Html.Partial vs Html.RenderPartial & Html.Action vs Html.RenderAction
- Fake DbContext of Entity Framework 4.1 to Test
- How can I get my webapp’s base URL in ASP.NET MVC?
- New asp.net charting controls – will they work with MVC (eventually)?
- How to convert View Model into JSON object in ASP.NET MVC?
- ASP.NET MVC – Find Absolute Path to the App_Data folder from Controller
- Windows update caused MVC3 and MVC4 stop working
- Parser Error Message: Could not load type ‘TestMvcApplication.MvcApplication’
- How to change default view location scheme in ASP.NET MVC?
- Create virtual directory on same azure web app
- Cannot attach the file *.mdf as database
- How to create a CheckBoxListFor extension method in ASP.NET MVC?
- Retrieve the current view name in ASP.NET MVC?
- Difference between Html.RenderAction and Html.Action
- Where and how is the _ViewStart.cshtml layout file linked?
- Connection string using Windows Authentication
- .NET MVC Call method on different controller
- Can’t find ADO.net Entity Data Model template in VS2017
- ASP.NET MVC security patch to version 3.0.0.1 breaks build [duplicate]
- Where to run a duplicate check for an entity
- How do I improve ASP.NET MVC application performance?
- Could not load file or assembly ‘Antlr3.Runtime (1)’ or one of its dependencies
- How to throw a SqlException when needed for mocking and unit testing?
- ASP.Net MVC Redirect To A Different View
- ASP.NET MVC on IIS6
- How to Convert Row to Column in Linq and SQL
- Integrate existing ASP.NET MVC application with Orchard CMS
- How can I force a hard refresh (ctrl+F5)?