MVC中路由名称的意义4

now*_*ed. 5 c# routing asp.net-mvc-4 .net-4.5 visual-studio-2012

我正在Routing研究MVC 的概念,特别是在以下行:

routes.MapRoute(
 "Default", // Route name
 "{controller}/{action}/{id}", // Route Pattern
 new { controller = "Home", action = "Index", id = UrlParameter.Optional } // Default values.
 );
Run Code Online (Sandbox Code Playgroud)

一切都很好,但我没有得到的意义Route Name.

这只是一个术语吗?或者有什么重要的吗?

我错过了使用它或MVC 4中使用的地方在哪里?

提前致谢.

jbl*_*jbl 5

Am I missing using it or where are the places it is used in MVC 4 ?
Run Code Online (Sandbox Code Playgroud)

Helper方法使用路由名称.

例如,参见RouteLinkRouteUrl方法: