



























在RouteConfig加入
routes.MapMvcAttributeRoutes();
控制器中加入
[Route("list_{id}.html")]
下参考
[Route("list.html")]
[Route("list_{category}.html")]
[Route("list_{category}_p{page:int}.html")]
html访问 在web.config加入
<add name="html_PageHandlerFactory" path="*.html" verb="*" type="System.Web.UI.PageHandlerFactory" resourceType="Unspecified" preCondition="integratedMode" />
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。