随笔分类 -  问题解决集中营

摘要:转至:http://www.codingwhy.com/410.html具体报错HTTP 错误 500.22 - Internal Server Error 检测到在集成的托管管道模式下不适用的 ASP.NET 设置。解决方法1、选中项目,注意右下角的属性 2、把属性中的“托管管道模式”改为“经典”... 阅读全文
posted @ 2014-11-10 20:20 zqcoder 阅读(439) 评论(0) 推荐(0)
摘要:转至:http://blchen.com/cs0103-the-name-scripts-does-not-exist-in-the-current-context-solution/更新:这个bug在ASP.NETMVC4正式版已经没有了。今天试玩VS2012里的ASP.NET MVC4,用Con... 阅读全文
posted @ 2014-11-10 20:19 zqcoder 阅读(8948) 评论(0) 推荐(0)
摘要:如何將ViewData裡包含的Html輸出(MVC)默認輸入ViewData裡的Htm系統會自動把標籤轉換而達不到預覽的效果, 我們如果要呈現解析後的HTML則要調用@MvcHtmlString.Create(ViewData["Content"].ToString()) 阅读全文
posted @ 2014-02-10 14:08 zqcoder 阅读(374) 评论(0) 推荐(0)