Loading

上一页 1 ··· 4 5 6 7 8 9 10 11 12 ··· 52 下一页
摘要: This article features a huge amount of Photoshop web design tutorials, which will teach you simple effects which can be combined together in order to create a great website design. Theses tutorials are perfect for first time Photoshop users because there short and sweet. I hope you enjoy the article 阅读全文
posted @ 2012-09-11 13:42 today4king 阅读(504) 评论(2) 推荐(0) 编辑
摘要: 在开发环境编译的时候老是不通过,错误信息显示Nuget服务503,奇怪之下在本地跑了下update, 还真是: 再打开nuget官网:http://nuget.org 黄了~ 要发布怎么办?(咱是自动发布,在发布时会自己build + precompile) 求助于dudu后得到方法如下,在解决方案根目录.nuget下找到文件NuGet.targets 注释下图中的文字: ... 阅读全文
posted @ 2012-08-20 11:40 today4king 阅读(909) 评论(2) 推荐(1) 编辑
摘要: Git真是一个神奇的工具,今天花了一个小时时间解决了这个分支同步的问题,在对分支的认识上也进步了不少。“git gc”是个好命令,可以优化指令,没事就可以跑跑。岔题了,错误信息如下git push origin xxxx....[remote rejected] xxxx->xxxx <no such ref>.....查遍了SOF等地方,都无法解决自己的问题,无奈只能慢慢看gitref.org一点点尝试了,当然备份库是必须的。发现边尝试边理解学习真是快,很多GIt概念都清晰了,也查阅了不少文档,但是终究没有ref这个东西。好吧,ref==reference谁都知道,其实这个 阅读全文
posted @ 2012-08-19 12:57 today4king 阅读(2177) 评论(0) 推荐(0) 编辑
摘要: 误区一:机械键盘防水性能很差。其实这个问题是来自于对机械键盘PCB的天然误解,因为电脑中有PCB的地方几乎都是很怕水的,而像机械键盘这样下面整张PCB的家伙,必然是不防水的吧。实际使用中机械键盘的防水性能和普通的薄膜键盘差距并不大。所有的键盘产品,包括机械和薄膜,怕水的都是IC电路部分,而主键区进水基本晾干即可。大家不要看到PCB和焊点就担心机械键盘烧掉。只要你在键盘进水后,迅速的断电,然后将键盘有IC芯片的位置垫高让水排出、晾干,最后都是可以正常使用的。误区二:只有低价键盘键帽会打油对于机械键盘的手感,键帽也是非常关键的一个环节。现在包括filco、jaki、steel、aron、plum以 阅读全文
posted @ 2012-08-15 09:57 today4king 阅读(18243) 评论(1) 推荐(1) 编辑
摘要: Entity Framework Migrations are handled from the package manager console in Visual Studio. The usage is shown in various tutorials, but I haven’t found a complete list of the commands available and their usage, so I created my own. There are four available commands.Enable-Migrations:Enables Code Fir 阅读全文
posted @ 2012-08-13 17:24 today4king 阅读(6665) 评论(1) 推荐(1) 编辑
摘要: 通过ActionResult类查找它的子类,下面是找到的代码://ViewResultBase.cs public override void ExecuteResult(ControllerContext context) { if (context == null) throw new ArgumentNullException("context"); if (string.IsNullOrEmpty(this.ViewName)) this.ViewName = context.RouteData.GetRequiredStri... 阅读全文
posted @ 2012-08-08 17:17 today4king 阅读(908) 评论(0) 推荐(0) 编辑
摘要: 可以尝试的方法: 1、删除Bin目录,重新编译; 2、如果项目类型是网站,检查是否重用了应用程序池; 3、只对需要查找的程序集GetTypes(); 阅读全文
posted @ 2012-08-03 17:59 today4king 阅读(3039) 评论(0) 推荐(0) 编辑
摘要: 参考文章:http://blogs.iis.net/bills/ar Technorati Tags: iis,iis 7,backup,restore chive/2008/03/24/how-to-backup-restore-iis7-configuration.aspx IIS服务所有文件都在这个目录下:\windows\system32\inetsrv\ 文件方式:拷贝或者覆... 阅读全文
posted @ 2012-08-01 12:07 today4king 阅读(1145) 评论(0) 推荐(0) 编辑
摘要: 写Tab时为了保证慢加载下tab输出不乱必须在服务端写,然后就是出现了很多难看的if else,今天花了点时间写了个帮助类,跟ActionLink的使用一样。示例代码: <ul> <li>@Html.TabLink("新闻", "s", new { t = "n" }, new { onclick = "return channelSwitch('n');" }, "tab_selected")</li> <li>@Html.Tab 阅读全文
posted @ 2012-07-23 18:09 today4king 阅读(925) 评论(0) 推荐(0) 编辑
摘要: public static HtmlHelper CreateHtmlHelper(ViewDataDictionary vd){ Mock<ViewContext> mockViewContext = new Mock<ViewContext>( new ControllerContext( new Mock<HttpContextBase>().Object, new RouteData(), new Mock<ControllerBase>().Object), new Mock<IVie... 阅读全文
posted @ 2012-07-23 16:09 today4king 阅读(378) 评论(0) 推荐(0) 编辑
上一页 1 ··· 4 5 6 7 8 9 10 11 12 ··· 52 下一页