【发布时间】:2013-11-15 19:14:27
【问题描述】:
我不确定如何将此 AttributeRoute 转换为 MVC5 路由。
[GET("", IsAbsoluteUrl = true)] // => main home page.
[GET("Index")]
public ActionResult Index(..) { .. }
IsAbsoluteUrl 是让我感到困惑的事情之一。
【问题讨论】:
标签: c# .net asp.net-mvc-routing asp.net-mvc-5 attributerouting