<?xml version="1.0" encoding="utf-8"?><feed xmlns="http://www.w3.org/2005/Atom"><title type="text">博客园_leeolevis_分类_藏金阁</title><id>http://feed.cnblogs.com/blog/u/51427/category/296524/rss</id><updated>2012-06-03T08:30:00Z</updated><generator>feed.cnblogs.com</generator><link rel="alternate" type="text/html" href="http://www.cnblogs.com/leeolevis/category/296524.html"/><link rel="self" type="application/atom+xml" href="http://feed.cnblogs.com/blog/u/51427/category/296524/rss"/><entry><id>http://www.cnblogs.com/leeolevis/archive/2011/03/03/1969917.html</id><title type="text">【转】Memcache and Mongodb</title><summary type="text">MemcacheMemcache的优势我觉得总结下来主要体现在：1） 分布式。可以由10台拥有4G内存的机器，构成一个40G的内存池，如果觉得还不够大可以增加机器，这样一个大的内存池，完全可以把大部分热点业务数据保存进去，由内存来阻挡大部分对数据库读的请求，对数据库释放可观的压力。2） 单点。如果Web服务器或App服务器做负载均衡的话，在各自内存中保存的缓存可能各不相同，如果数据需要同步的话，比较麻烦（各自自己过期，还是分发数据同步？），即使数据并不需要同步，用户也可能因为数据的不一致而产生用户体验上的不友好。3） 性能强。不用怀疑和数据库相比确实是，根源上还是内存的读写和磁盘读写效率上几个</summary><published>2011-03-03T06:41:00Z</published><updated>2011-03-03T06:41:00Z</updated><author><name>leeolevis</name><uri>http://www.cnblogs.com/leeolevis/</uri></author><link rel="alternate" href="http://www.cnblogs.com/leeolevis/archive/2011/03/03/1969917.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/leeolevis/archive/2011/03/03/1969917.html"/><content type="html"/></entry><entry><id>http://www.cnblogs.com/leeolevis/archive/2011/03/03/1969668.html</id><title type="text">ADO.NET Entity Framework之ESQL</title><summary type="text">目录 1esql的查询结果集 ObjectQuery1 1.1ObjectQuery&lt;实体&gt;1 1.2ObjectQuery&lt;DbDataRecord&gt;1 1.3ObjectQuery&lt;简单类型&gt;1 2esql的使用2 2.1it关键字2 2.2value 关键字2 2.3查询参数的使用3 2.4中文字段3 3得到esql与sql字串3 3.1CommandText属性4 3.2ToTraceString方法4 4ObjectQuery的Linq方法4 4.1Where4 4.2OrderBy4 4.3Select4 4.4SelectValue(proje</summary><published>2011-03-03T02:52:00Z</published><updated>2011-03-03T02:52:00Z</updated><author><name>leeolevis</name><uri>http://www.cnblogs.com/leeolevis/</uri></author><link rel="alternate" href="http://www.cnblogs.com/leeolevis/archive/2011/03/03/1969668.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/leeolevis/archive/2011/03/03/1969668.html"/><content type="html"/></entry><entry><id>http://www.cnblogs.com/leeolevis/archive/2011/03/01/1968411.html</id><title type="text">ADO.NET Entity Framework之ObjectQuery</title><summary type="text">目录 1ObjectQuery&lt;T&gt;数据加载方式1 1.1访问方式1 1.2Context.CreateQuery&lt;T&gt;()1 1.3ObjectQuery&lt;DbDataRecord&gt;2 1.4ObjectQuery&lt;简单类型&gt;3 2Execute方法与ObjectResult3 2.1Execute方法3 2.2ObjectResult&lt;T&gt; 结果集4 3类型转换4 3.1OfType(TResultType)4 4Linq方法5 4.1All5 4.2Any5 4.3Take5 4.4Skip5 4.5First6 4.6Firs</summary><published>2011-03-01T14:14:00Z</published><updated>2011-03-01T14:14:00Z</updated><author><name>leeolevis</name><uri>http://www.cnblogs.com/leeolevis/</uri></author><link rel="alternate" href="http://www.cnblogs.com/leeolevis/archive/2011/03/01/1968411.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/leeolevis/archive/2011/03/01/1968411.html"/><content type="html"/></entry><entry><id>http://www.cnblogs.com/leeolevis/archive/2011/03/01/1968409.html</id><title type="text">ADO.NET Entity Framework之ObjectContext</title><summary type="text">目录 1说明1 2Context操作数据1 2.1AddObject 添加实体1 2.2DeleteObject 删除实体1 2.3Detach 分离实体2 2.4修改实体2 2.5ApplyPropertyChanges 修改实体2 2.6Attach / AttachTo 附加实体2 2.7CreateEntityKey 创建EntityKey3 2.7.1EntityKey3 2.8GetObjectByKey/TryGetObjectByKey 通过EntityKey得到实体3 2.9CreateQuery 创建查询4 3状态管理4 3.1EntityState 状态枚举4 3.2Co</summary><published>2011-03-01T14:12:00Z</published><updated>2011-03-01T14:12:00Z</updated><author><name>leeolevis</name><uri>http://www.cnblogs.com/leeolevis/</uri></author><link rel="alternate" href="http://www.cnblogs.com/leeolevis/archive/2011/03/01/1968409.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/leeolevis/archive/2011/03/01/1968409.html"/><content type="html"/></entry><entry><id>http://www.cnblogs.com/leeolevis/archive/2011/03/01/1968370.html</id><title type="text">NET 4，3，2，1其实什么也没有变</title><summary type="text">最近,身边的不少程序员抱怨NET的变化太快了,觉得跟不上变化,心情很沮丧,有的甚至有放弃编程这个行业的想法. 我这篇文章的主题是[NET 4,3,2,1其实什么也没有变],贯穿本文的例子是如何动态调用方法.本文的目的不是驳斥NET升级的无意义,只是想从一个小的技术点说明变与不变是相对的.当一个新技术出现后,了解它出现的意义,了解它的前身,了解它的后续,比盲目的追从要有用的多. 下面看例子,(注:下面的一组例子只演示了从NET1.0 到NET4.0 中动态调用方法的常用方式,在这里我们不谈性能) NET4.0 中用dynamic实现动态调用方法 在NET4.0 中可以用dynamic 定义一个对</summary><published>2011-03-01T13:20:00Z</published><updated>2011-03-01T13:20:00Z</updated><author><name>leeolevis</name><uri>http://www.cnblogs.com/leeolevis/</uri></author><link rel="alternate" href="http://www.cnblogs.com/leeolevis/archive/2011/03/01/1968370.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/leeolevis/archive/2011/03/01/1968370.html"/><content type="html"/></entry><entry><id>http://www.cnblogs.com/leeolevis/archive/2010/12/01/1893337.html</id><title type="text">挖掘经典：几乎被人遗忘的HTML七种用法</title><summary type="text">当今的WEB领域，新概念、新技术不断涌现 -- WEB2.0、AJAX、HTML5.0... ... 但在几乎被我们忽略的HTML和XHTML里，还有许多并不为人所知的，但却非常有用的一些TAG 以下就是其中的七种用法： 一、元素分组：&lt;fieldset&gt;、&lt;legend&gt; 示例： 1&lt;fieldset&gt;2&lt;legend&gt;健康信息：&lt;/legend&gt;3&lt;form&gt;4&lt;label&gt;身高：&lt;inputtype="text"/&gt;&lt;/label&gt;5&lt;label&gt;体</summary><published>2010-12-01T06:08:00Z</published><updated>2010-12-01T06:08:00Z</updated><author><name>leeolevis</name><uri>http://www.cnblogs.com/leeolevis/</uri></author><link rel="alternate" href="http://www.cnblogs.com/leeolevis/archive/2010/12/01/1893337.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/leeolevis/archive/2010/12/01/1893337.html"/><content type="html"/></entry><entry><id>http://www.cnblogs.com/leeolevis/archive/2010/11/22/1883994.html</id><title type="text">用 IIS 7、ARR 與 Velocity 建设高性能的大型网站</title><summary type="text">本帖是研讨会中的一些杂记，搭配一些官方的文档，经整合归纳后，介绍 IIS 7 如何搭配新一代的 ARR (Application Request Routing)，建置Server Farm 并达到比过去NLB 更优的Load Balancing 功能，此外还介绍微软新一代的分布式缓存技术 Velocity。-------------------------------------------------------------------------------------------------------过去及目前 Windows Server 中的 NLB (Network Load </summary><published>2010-11-22T03:55:00Z</published><updated>2010-11-22T03:55:00Z</updated><author><name>leeolevis</name><uri>http://www.cnblogs.com/leeolevis/</uri></author><link rel="alternate" href="http://www.cnblogs.com/leeolevis/archive/2010/11/22/1883994.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/leeolevis/archive/2010/11/22/1883994.html"/><content type="html"/></entry><entry><id>http://www.cnblogs.com/leeolevis/archive/2010/10/25/1860534.html</id><title type="text">(收藏)《博客园精华集》分类索引</title><summary type="text">(收藏)《博客园精华集》分类索引(收藏)《博客园精华集》WEB分册(收藏)《博客园精华集》Sharepoint分册(收藏)《博客园精华集》JavaScript（共213篇）(收藏)《博客园精华集》网站维护性能安全（共16篇）(收藏)《博客园精华集》HTML/CSS部分筛选结果（共90篇）(收藏)《博客园精华集》WEB标准部分筛选结果（共55篇）(收藏)《博客园精华集》ASP.NET分册(收藏)《博客园精华集》MOSS分类筛选结果（共68篇）(收藏)《博客园精华集》CLR/C#分册(收藏)《博客园精华集》LINQ筛选结果（共33篇）(收藏)《博客园精华集》Web控件筛选结果（共136篇）(收藏)</summary><published>2010-10-25T08:43:00Z</published><updated>2010-10-25T08:43:00Z</updated><author><name>leeolevis</name><uri>http://www.cnblogs.com/leeolevis/</uri></author><link rel="alternate" href="http://www.cnblogs.com/leeolevis/archive/2010/10/25/1860534.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/leeolevis/archive/2010/10/25/1860534.html"/><content type="html"/></entry><entry><id>http://www.cnblogs.com/leeolevis/archive/2010/08/09/1795999.html</id><title type="text">Resharper 5 Key &amp;amp;&amp;amp; MSDN Ultimate Key</title><summary type="text">Resharper 5 提供了支持 Visual Studio 2010 的能力。官方地址：http://www.jetbrains.com/resharper/index.html在官方网站可以下载得到30天试用的版本注册码出自地址：http://kb.cnblogs.com/a/1628928/ 感谢共享User Name: User Key: D9d09DSYJel9IyuDU4btAQwZcbLugUadMSDN Ultimate包含Key(简体中文版本)：ed2k://|file|cn_visual_studio_2010_ultimate_x86_dvd_532347.iso|26</summary><published>2010-08-09T10:49:00Z</published><updated>2010-08-09T10:49:00Z</updated><author><name>leeolevis</name><uri>http://www.cnblogs.com/leeolevis/</uri></author><link rel="alternate" href="http://www.cnblogs.com/leeolevis/archive/2010/08/09/1795999.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/leeolevis/archive/2010/08/09/1795999.html"/><content type="html"/></entry><entry><id>http://www.cnblogs.com/leeolevis/archive/2010/07/13/1776509.html</id><title type="text">Linq之动态排序（字符传入）</title><summary type="text">Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--&gt;staticclassProgram{staticvoidMain(string[]args){string[]array={"aaa","bb","c"};foreach(variteminarray.AsQueryable().OrderBy("Length")){Console.WriteLine(item);</summary><published>2010-07-13T07:18:00Z</published><updated>2010-07-13T07:18:00Z</updated><author><name>leeolevis</name><uri>http://www.cnblogs.com/leeolevis/</uri></author><link rel="alternate" href="http://www.cnblogs.com/leeolevis/archive/2010/07/13/1776509.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/leeolevis/archive/2010/07/13/1776509.html"/><content type="html"/></entry><entry><id>http://www.cnblogs.com/leeolevis/archive/2010/07/04/1770706.html</id><title type="text">NTDiscuz数据库的读写分离思路</title><summary type="text">目前在Discuz!NT这个产品中，数据库作为数据持久化工具，必定在并发访问频繁且负载压力较大的情况下成为系统性能的‘瓶颈’。即使使用本地缓存等方式来解决频繁访问数据库的问题，但仍旧会有大量的并发请求要访问动态数据，虽然 SQL2005及2008以上版本中性能不断提升，查询计划和存储过程运行得越来越高效，但最终还是要面临‘瓶颈’这一问 题。当然这也是许多大型网站不断研究探索各式各样的方案来有效降低数据访问负荷的原因， 其中的‘读写分离’方案就是一种被广泛采用的方案。 Discuz!NT这个产品在其企业版中提供了对‘读写分离’机制的支持，使对CPU及内存消耗严重的操作(CUD)被分离到一台或几台</summary><published>2010-07-03T16:53:00Z</published><updated>2010-07-03T16:53:00Z</updated><author><name>leeolevis</name><uri>http://www.cnblogs.com/leeolevis/</uri></author><link rel="alternate" href="http://www.cnblogs.com/leeolevis/archive/2010/07/04/1770706.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/leeolevis/archive/2010/07/04/1770706.html"/><content type="html"/></entry></feed>
