摘要:
Tag Helpers是Html Helpers的一种替换 比如,原来的视图模型定义是这样的: @using (Html.BeginForm("Register", "Account", FormMethod.Post, new { @class = "form-horizontal", role 阅读全文
摘要:
我想实现 http://localhost:5000/{moduleName}/{controller}/{action}/{id?} 这样的url. 有2个方法 方法1: 在路由里设置多个module MVC return View(string viewName) 中viewName的表达方式 阅读全文