摘要:
routes.MapRoute( name: "blog", //包含参数的url url: "{year}-{month}-{day}", defaults: new... 阅读全文
摘要:
mvc可以直接配置路由,虽然aspx已经是过去式,但是学习一下也是有必要的。1、直接在global.ashax中Application_BeginRequest方法中讲url重写 protected void Application_BeginRequest(object sender, ... 阅读全文