上一页 1 ··· 8 9 10 11 12

2014年4月10日

asp.net mvc 不找其他view模板,只找cshtml

摘要: asp.net mvc 默认找view文件时,依次找后辍名为aspx、ascx、cshtml、vbhtml的view文件。但是项目住住用C#+Razor开发,这样找,岂不有性能损失。添加以下代码: ViewEngines.Engines.Clear(); ViewEngines.Engines.Add(new RazorViewEngine() { AreaViewLocationFormats = new string[] { "~/Areas/{2}/Views/{1}/{0}.cshtml", "~/Areas/{2}/Views/Shared... 阅读全文

posted @ 2014-04-10 09:56 木龙哥 阅读(2516) 评论(9) 推荐(1)

2014年4月3日

git 代理设置

摘要: git 代理设置:git config --global http.proxy http://proxy.com:8080git config --global https.proxy http://proxy.com:8080git config --global http.sslverify false 阅读全文

posted @ 2014-04-03 09:00 木龙哥 阅读(201) 评论(0) 推荐(0)

2014年3月30日

IE11中[if lt IE 9]兼容性问题

摘要: IE11不支持 ,蛋疼的IE!!! 阅读全文

posted @ 2014-03-30 11:35 木龙哥 阅读(1087) 评论(0) 推荐(0)

2014年3月12日

快捷查看dll的PublicKeyToken

摘要: 1 @echo off 2 3 d: 4 5 cd D:\Win2003\Microsoft Visual Studio 10.0\VC\ 6 7 call vcvarsall.bat x86 8 9 echo. 10 11 12 13 if not '%1'=='... 阅读全文

posted @ 2014-03-12 21:17 木龙哥 阅读(1238) 评论(0) 推荐(0)

2014年3月9日

修改SQL Server 排序规则 (未能排它地锁定数据库以执行该操作)

摘要: use mastergoalter database DBName set single_usergoalter database DBName COLLATE Chinese_PRC_CI_AS goalter database DBName set multi_usergo 阅读全文

posted @ 2014-03-09 13:55 木龙哥 阅读(1354) 评论(0) 推荐(0)

2014年3月6日

javascript 关闭页面提示

摘要: 1 window.onbeforeunload = function (e) { 2 e = e || window.event; 3 // For IE and Firefox prior to version 4 4 ... 阅读全文

posted @ 2014-03-06 22:09 木龙哥 阅读(167) 评论(0) 推荐(0)

上一页 1 ··· 8 9 10 11 12

导航