06 2014 档案

摘要:一、windows下安装MongoDbhttp://docs.mongodb.org/manual/tutorial/install-mongodb-on-windows/ 阅读全文
posted @ 2014-06-25 20:20 easy5 阅读(153) 评论(0) 推荐(0) 编辑
摘要:Request.Url.PathAndQuery public RedirectResult AddToCart(Cart cart, int productId, string returnUrl) { Product product = this... 阅读全文
posted @ 2014-06-18 22:48 easy5 阅读(193) 评论(0) 推荐(0) 编辑
摘要:第一步:事件总线和事件聚合器 【1】事件总线IEventBus IUnitOfWork.cs using System;using System.Collections.Generic;using System.Linq;using System.Text;using System... 阅读全文
posted @ 2014-06-16 15:12 easy5 阅读(2106) 评论(0) 推荐(2) 编辑
摘要:第一步:定义拦截行为:CachingBehavior 和ExceptionLoggingBehavior 他们都继承接口:IInterceptionBehavior (程序集 Microsoft.Practices.Unity.Interception.dll, v2.1.505.0 ... 阅读全文
posted @ 2014-06-16 14:43 easy5 阅读(1432) 评论(0) 推荐(1) 编辑
摘要:C# 反射泛型 摘自:http://www.itwis.com/html/net/c/20110411/10175.html C#泛型反射和普通反射的区别,泛型反射和普通反射的区别就是泛型参数的处理上先看一个简单的例子。class Class1{ public void Test(T t... 阅读全文
posted @ 2014-06-16 11:22 easy5 阅读(15375) 评论(1) 推荐(5) 编辑
摘要:Html.RenderPartial与Html.RenderAction的区别http://blog.sina.com.cn/s/blog_8278b1800100zkn0.htmlASP.NETMVCHtmlHelper用法大全http://blog.sina.com.cn/s/blog_8278... 阅读全文
posted @ 2014-06-15 12:37 easy5 阅读(315) 评论(0) 推荐(0) 编辑
摘要:UnitTestFramework 单元测试:http://www.360doc.com/content/13/0527/09/7304817_288474427.shtml 阅读全文
posted @ 2014-06-14 08:48 easy5 阅读(149) 评论(0) 推荐(0) 编辑
摘要:Fluent API :http://social.msdn.microsoft.com/Search/zh-CN?query=Fluent%20API&Refinement=95&ac=4http://msdn.microsoft.com/zh-cn/data/hh134698.aspxhttp:... 阅读全文
posted @ 2014-06-10 20:38 easy5 阅读(340) 评论(0) 推荐(0) 编辑
摘要:@RenderSection母模板:_mainLayout.cshtml @ViewBag.Title................. @RenderSection("HeaderSection", false) 使用母模板:@model... 阅读全文
posted @ 2014-06-06 09:13 easy5 阅读(214) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示