摘要:1. 实体职责:1.1. PO(Persistant Object) 例如EntityFramework中生成的数据实体,映射数据库中的表结构;1.2. BO(Business Object) 对上层暴露的业务实体。架构师在开发初期定义的业务接口中所用到的实体;1.3. DTO(Data Transfer Object) 分布式服务(WebService/WCF)暴露的契约实体;1.4. VO(View Object) 例如ASP.NET MVC中的V(UI实体);1.5. 参考:http://www.cnblogs.com/BigTall/archive/2007/12/12/991779.
阅读全文
摘要:NuGet (New-Get) is a Visual Studio extension that makes it easy to install and update third-party libraries and tools in Visual Studio.NuGet (http://nuget.org) 类似java的maven。有兴趣的可参考如下文献:http://www.cnblogs.com/dudu/archive/2011/07/15/nuget.htmlhttp://www.cnblogs.com/dudu/archive/2012/06/05/nuget_serve
阅读全文
摘要:Membase Server官网:http://www.couchbase.com/products-and-services/memcached推荐Client:https://github.com/enyim/EnyimMemcached/(Build:https://github.com/enyim/EnyimMemcached/wiki/Release-builds)Q:http://memcached.org,http://www.northscale.com/download.html,http://www.membase.com/downloads/membase-server-
阅读全文
摘要:using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Web;using System.Web.Caching;namespace ClusterService.Common{ public static class CacheHelper { public static object Cache(string key) { return HttpRuntime.Cache[key]; ...
阅读全文
摘要:using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Configuration;using System.Net;using System.Threading;using Rocky.Net;namespace Rocky.Test.Unit{ internal class FileTransferTest : IUnitTest { public void Run(object arg) { C...
阅读全文