摘要: 1:问题描述 @Url.Action("Index", "Home", new { Key = "Key", Val = new { Name = "TypeDescriptor" } }) 期望结果: /Home/Index?Key=Key&Name=TypeDescriptor 实际结果:... 阅读全文
posted @ 2015-05-21 15:19 刘小吉 阅读(2875) 评论(1) 推荐(1) 编辑
摘要: 阅读全文
posted @ 2015-05-21 11:34 刘小吉 阅读(201) 评论(0) 推荐(0) 编辑
摘要: 解决方案:1,在每个视图上面添加@inherits System.Web.Mvc.WebViewPage2,将views中的web.config COPY到新的视图模版文件夹下,就可以了 阅读全文
posted @ 2015-05-21 11:16 刘小吉 阅读(3970) 评论(1) 推荐(0) 编辑
摘要: 当新建一个MVC WEB程序 当你打开一个视图按F5运行 这时候并且不能政策运行会出现与个错误无法找到资源。这时候站点的默认设置是把这个个默认设置更改成红色框框的地方为修改点你以为这样就完了吗 错了还需要修改host配置打开C:\Windows\System32\drivers\etc\路径找到ho... 阅读全文
posted @ 2015-05-21 11:04 刘小吉 阅读(201) 评论(0) 推荐(0) 编辑