我遇到了没有生成路由的情况。ControllerB
… lots of other endpoints under ControllerC 编译应用程序时,会生成反向路由因为应用程序路由文件变得太大,所以决定将路由拆分到单独的路由文件中,每个包一个: routesForA.routes
GET /foo packageA.ControllerA.met
我有以下路由,并在浏览器中输入它们可以正常运行并正确路由,但是如果我使用Html.ActionLink,它将尝试使用DefaultStuff路由。路由 "DefaultStuff", new { id = UrlParameter.Optionalaction=Index
我缺少什么来允许ActionLink生成。反