2015年10月27日

mvc,首页静态页,无静态页走路由,如何设置?

摘要: 在protectedvoidApplication_BeginRequest(Objectsender,EventArgse)增加if(Context.Request.FilePath=="/")Context.RewritePath("index.html");在路由上再用上你的这个路由规则:ro... 阅读全文

posted @ 2015-10-27 17:37 cchliang 阅读(411) 评论(0) 推荐(0)

导航