asp.net mvc 僞靜態

1.mvc 路由配置html

routes.MapRoute(
name: "Product",
url: "item/{id}.html",
defaults: new { controller = "Product", action = "Index" },
constraints: new { id = @"^\d+" }
);mvc

相關文章
相關標籤/搜索