06 2014 档案
摘要:一、windows下安装MongoDbhttp://docs.mongodb.org/manual/tutorial/install-mongodb-on-windows/
阅读全文
摘要:Request.Url.PathAndQuery public RedirectResult AddToCart(Cart cart, int productId, string returnUrl) { Product product = this...
阅读全文
摘要:第一步:事件总线和事件聚合器 【1】事件总线IEventBus IUnitOfWork.cs using System;using System.Collections.Generic;using System.Linq;using System.Text;using System...
阅读全文
摘要:第一步:定义拦截行为:CachingBehavior 和ExceptionLoggingBehavior 他们都继承接口:IInterceptionBehavior (程序集 Microsoft.Practices.Unity.Interception.dll, v2.1.505.0 ...
阅读全文
摘要:C# 反射泛型 摘自:http://www.itwis.com/html/net/c/20110411/10175.html C#泛型反射和普通反射的区别,泛型反射和普通反射的区别就是泛型参数的处理上先看一个简单的例子。class Class1{ public void Test(T t...
阅读全文
摘要:Html.RenderPartial与Html.RenderAction的区别http://blog.sina.com.cn/s/blog_8278b1800100zkn0.htmlASP.NETMVCHtmlHelper用法大全http://blog.sina.com.cn/s/blog_8278...
阅读全文
摘要:UnitTestFramework 单元测试:http://www.360doc.com/content/13/0527/09/7304817_288474427.shtml
阅读全文
摘要: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:...
阅读全文
摘要:@RenderSection母模板:_mainLayout.cshtml @ViewBag.Title................. @RenderSection("HeaderSection", false) 使用母模板:@model...
阅读全文