Loading

上一页 1 ··· 11 12 13 14 15 16 17 18 19 ··· 52 下一页
摘要: The Chromium.org team listed several options for accelerating the build (at this point about half-way down the page): In decreasing order of speedup: Install Microsoft hotfix 935225. Install Microsoft... 阅读全文
posted @ 2011-07-26 13:59 today4king 阅读(323) 评论(0) 推荐(0) 编辑
摘要: 其实下文中说的解决方案不仅仅适用于应用了Ef的项目,其它涉及数据访问的测试同样适用。不说先贴上原文链接 :(一)http://graemehill.ca/unit-testing-an-entity-framework-data-access-layer-part-1-just-hit-the-database(二)http://graemehill.ca/unit-testing-an-entity-framework-data-access-layer-part-2-rolling-back-the-test-database(三)http://graemehill.ca/high-per 阅读全文
posted @ 2011-07-25 11:00 today4king 阅读(431) 评论(0) 推荐(0) 编辑
摘要: 转自:http://geekswithblogs.net/BlackRabbitCoder/archive/2011/06/16/c.net-fundamentals-choosing-the-right-collection-class.aspx The .NET Base Class Library (BCL) has a wide array of collection classes at... 阅读全文
posted @ 2011-07-21 16:05 today4king 阅读(386) 评论(0) 推荐(0) 编辑
摘要: 请先看dudu的文章http://www.cnblogs.com/dudu/archive/2011/07/09/entity_framework_many_to_many.html一般的多对多关系数据库表:Mapping代码:Code Snippet modelBuilder.Entity<BlogPost>() .HasMany(b => b.Categories) .WithMany(c => c.CategoryBlogPosts) .Map ( m => { m.MapLeftKey("BlogPostID"); m.MapRight 阅读全文
posted @ 2011-07-19 17:44 today4king 阅读(3292) 评论(0) 推荐(0) 编辑
摘要: 1)First case for an sample user:publicclassMockHttpContext:HttpContextBase{privatereadonlyIPrincipal_user=newGenericPrincipal(newGenericIdentity("username"),null/*roles*/);publicoverrideIPrincipalUser{get{return_user;}set{base.User=value;}}publicMockHttpContext(stringUserName){_user=newGen 阅读全文
posted @ 2011-07-18 18:50 today4king 阅读(379) 评论(0) 推荐(0) 编辑
摘要: 这里先感谢dudu的研究,有了非常好的样例代码!!~~ 贴上连接,如果没有看过的同学请先阅读: http://www.cnblogs.com/dudu/archive/2011/07/07/entity_framework_one_to_one.html 问题://针对“一对一”关系的设置modelBuilder.Entity<BlogSite>().HasRequired(b => b.Blog... 阅读全文
posted @ 2011-07-14 11:57 today4king 阅读(399) 评论(0) 推荐(1) 编辑
摘要: 消息 每条文本消息最多能发送32767个字符(16386个中文字加一个英文字符),每条语音留言最长为3分钟(这个系自己加上,原文中没有)Gtalk支持下列的表情符号,将会以蓝色粗体显示出来 :-| :-O :-x :-P :-D ;-) :-( :-) B-) :'( :| :O :x :P :D :) :( :)在消息首尾加上*(注意,必须是半角),消息将会以粗体字显示,如*爱死Gtalk了*在消息首尾加上_(半角),消息会以斜体字显示,如_就爱Gtalk_要插入类似 ♥??的特殊符号,请在"开始-程序-附件-系统工具-字符映射表"插入 对话窗口 拖动一聊天窗口到 阅读全文
posted @ 2011-07-08 11:41 today4king 阅读(1009) 评论(0) 推荐(0) 编辑
摘要: WLW没装好,暂时文本看看吧 :) 问题原因:其实isapi 也是有x64版本的,但是会有个script cannt run 的error.然后手头也没有破解的isapi新版,再者mvc routing 的出现这个早晚要被淘汰。想办法暂时跑跑吧。安装: win7x64安装x86会提示iis下必须按x86方式运行,好的记住这点,在接下来有个错误,咱不管他,compatibility(兼容性)改为 previous version of windows(不知道中文怎么说大概就是跟老版系统兼容,不过也奇怪一般程序都能选择兼容的windows版本,但它没有就这一个,所以不会选错)IIS配置:因为是ii 阅读全文
posted @ 2011-07-07 13:25 today4king 阅读(344) 评论(0) 推荐(0) 编辑
摘要: Target Envirment is a comment ajax loading view.It will load newest comments after user submit a new comment .But under IE6 its always cached ,and the reasone is the same url.And Jquery catche propertiy set to false is not effected.what simpplest is to add a random to the url make the request diffr. 阅读全文
posted @ 2011-07-07 13:13 today4king 阅读(241) 评论(0) 推荐(0) 编辑
摘要: 现在Windows 7 RTM旗舰中文版已经推出了,对于刻录机的朋友们可能第一个要考虑的就是如何从硬盘安装Windows 7,所以特别写一篇关于从硬盘安装Windows 7 的方法,当然该方法对Vista也适用,希望对大家有所帮助。 一、先下载Windows 7, Windows 7 Ultimate(x86/x64)MSDN简体中文旗舰版下载,如果已经下载请向下看。 二、如您打算安装双系统,则直接加载ISO到虚拟光驱或者提取ISO到某目录下,然后执行根目录下setup.exe即可,但是为了维护的管理方便 请遵从windows 7的默认约定最好选择与现有系统不冲突的驱动器进行安装即可一般把wi 阅读全文
posted @ 2011-07-05 23:06 today4king 阅读(346) 评论(0) 推荐(0) 编辑
上一页 1 ··· 11 12 13 14 15 16 17 18 19 ··· 52 下一页