<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/"><channel><title>Leafwiz 's Column - 春种秋收，农民万岁</title><link>http://blog.csdn.net/leafwiz/</link><description>Architecture from the Infrastructure</description><dc:language>zh-CN</dc:language><lastUpdateTime>Fri, 23 Nov 2007 14:52:35 GMT</lastUpdateTime><ttl>60</ttl><item><dc:creator>Leafwiz</dc:creator><title>一个简单的异步编程类库的实现</title><link>http://blog.csdn.net/Leafwiz/archive/2007/11/23/1899444.aspx</link><pubDate>Fri, 23 Nov 2007 14:53:00 GMT</pubDate><guid>http://blog.csdn.net/Leafwiz/archive/2007/11/23/1899444.aspx</guid><wfw:comment>http://blog.csdn.net/leafwiz/comments/1899444.aspx</wfw:comment><comments>http://blog.csdn.net/Leafwiz/archive/2007/11/23/1899444.aspx#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/leafwiz/comments/commentRss/1899444.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=1899444</trackback:ping><description>一个简单的异步编程类库的实现，允许Threading策略的替换。&lt;img src ="http://blog.csdn.net/leafwiz/aggbug/1899444.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>Leafwiz</dc:creator><title>使用XLINQ解析RSS</title><link>http://blog.csdn.net/Leafwiz/archive/2007/11/23/1899362.aspx</link><pubDate>Fri, 23 Nov 2007 14:17:00 GMT</pubDate><guid>http://blog.csdn.net/Leafwiz/archive/2007/11/23/1899362.aspx</guid><wfw:comment>http://blog.csdn.net/leafwiz/comments/1899362.aspx</wfw:comment><comments>http://blog.csdn.net/Leafwiz/archive/2007/11/23/1899362.aspx#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/leafwiz/comments/commentRss/1899362.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=1899362</trackback:ping><description>LINQ支持.NET语言使用类似SQL的语法从数据源中读取数据，LINQ for XML(XLINQ)是LINQ中的一个重要组成部分。这两天用VS2008写了一个简单的RSS阅读器，实验了一下XLINQ的用法，感觉非常好。&lt;img src ="http://blog.csdn.net/leafwiz/aggbug/1899362.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>Leafwiz</dc:creator><title>关于Singleton的一些思考(DRAFT)</title><link>http://blog.csdn.net/Leafwiz/archive/2007/04/08/1556757.aspx</link><pubDate>Sun, 08 Apr 2007 17:56:00 GMT</pubDate><guid>http://blog.csdn.net/Leafwiz/archive/2007/04/08/1556757.aspx</guid><wfw:comment>http://blog.csdn.net/leafwiz/comments/1556757.aspx</wfw:comment><comments>http://blog.csdn.net/Leafwiz/archive/2007/04/08/1556757.aspx#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/leafwiz/comments/commentRss/1556757.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=1556757</trackback:ping><description>      模式是用来解决问题的，Singleton就是用来解决一个全局可见的类型的实例的访问控制的问题。如果某一个类在程序实例中只有一个实例，或者某一个类的对象需要在程序的全局可以访问，比如Log操作，你很可能会想到用Singleton。

在很多糟糕的设计中，充斥着各种各样的Singleton，一个简单的程序可能有十数个*Manager， 代码中充斥着*Manager.Instance，如果在这些Manager在构造或者析构上存在任何的依赖关系的，你很难确定在你需要用某一个Manager的时候，他已经OnBoard了呢。在多线程的情况下，这些manager的使用也需要极为小心，因为你不知道目前那一个manager正在lock状态中，死锁极为常见。

Singleton的另一个问题是扩展性，当你需要Scale out你的service的时候，使用Singleton的程序往往需要更多的修改，而单个对象则很容易成为系统的单点瓶颈。

&lt;img src ="http://blog.csdn.net/leafwiz/aggbug/1556757.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>Leafwiz</dc:creator><title>.NET的构造函数2，3事[Intermidiate]</title><link>http://blog.csdn.net/Leafwiz/archive/2007/04/08/1556662.aspx</link><pubDate>Sun, 08 Apr 2007 16:53:00 GMT</pubDate><guid>http://blog.csdn.net/Leafwiz/archive/2007/04/08/1556662.aspx</guid><wfw:comment>http://blog.csdn.net/leafwiz/comments/1556662.aspx</wfw:comment><comments>http://blog.csdn.net/Leafwiz/archive/2007/04/08/1556662.aspx#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/leafwiz/comments/commentRss/1556662.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=1556662</trackback:ping><description>.NET中，构造对象往往都是要通过构造函数的，但是也有情况是特殊的。在某些情况下，编译器会跳过构造函数，那么，你知道是什么情况下么？
基础回顾性文章，讲述构造函数的作用和一些关于构造函数的规则，另外介绍了一种不经过构造函数的对象构造的情况。&lt;img src ="http://blog.csdn.net/leafwiz/aggbug/1556662.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>Leafwiz</dc:creator><title>C#多语言编程</title><link>http://blog.csdn.net/Leafwiz/archive/2005/04/04/336463.aspx</link><pubDate>Mon, 04 Apr 2005 21:23:00 GMT</pubDate><guid>http://blog.csdn.net/Leafwiz/archive/2005/04/04/336463.aspx</guid><wfw:comment>http://blog.csdn.net/leafwiz/comments/336463.aspx</wfw:comment><comments>http://blog.csdn.net/Leafwiz/archive/2005/04/04/336463.aspx#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/leafwiz/comments/commentRss/336463.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=336463</trackback:ping><description>C#多语言编程 ， Hints and memoes&lt;img src ="http://blog.csdn.net/leafwiz/aggbug/336463.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>Leafwiz</dc:creator><title>C# Memo</title><link>http://blog.csdn.net/Leafwiz/archive/2005/03/22/326228.aspx</link><pubDate>Tue, 22 Mar 2005 09:24:00 GMT</pubDate><guid>http://blog.csdn.net/Leafwiz/archive/2005/03/22/326228.aspx</guid><description>一些备忘录&lt;img src ="http://blog.csdn.net/leafwiz/aggbug/326228.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>Leafwiz</dc:creator><title>垃圾收集的原理浅析</title><link>http://blog.csdn.net/Leafwiz/archive/2005/01/20/260724.aspx</link><pubDate>Thu, 20 Jan 2005 11:56:00 GMT</pubDate><guid>http://blog.csdn.net/Leafwiz/archive/2005/01/20/260724.aspx</guid><wfw:comment>http://blog.csdn.net/leafwiz/comments/260724.aspx</wfw:comment><comments>http://blog.csdn.net/Leafwiz/archive/2005/01/20/260724.aspx#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/leafwiz/comments/commentRss/260724.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=260724</trackback:ping><description>垃圾收集中的常用算法简单总结&lt;img src ="http://blog.csdn.net/leafwiz/aggbug/260724.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>Leafwiz</dc:creator><title>ThreadPool应用指南(未完成版本)</title><link>http://blog.csdn.net/Leafwiz/archive/2004/11/10/176452.aspx</link><pubDate>Wed, 10 Nov 2004 23:35:00 GMT</pubDate><guid>http://blog.csdn.net/Leafwiz/archive/2004/11/10/176452.aspx</guid><wfw:comment>http://blog.csdn.net/leafwiz/comments/176452.aspx</wfw:comment><comments>http://blog.csdn.net/Leafwiz/archive/2004/11/10/176452.aspx#Feedback</comments><slash:comments>3</slash:comments><wfw:commentRss>http://blog.csdn.net/leafwiz/comments/commentRss/176452.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=176452</trackback:ping><description>ThreadPool应用指南(未完成版本)&lt;img src ="http://blog.csdn.net/leafwiz/aggbug/176452.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>Leafwiz</dc:creator><title>TaskTrack Pro安装设置简单记录</title><link>http://blog.csdn.net/Leafwiz/archive/2004/11/05/168968.aspx</link><pubDate>Fri, 05 Nov 2004 15:58:00 GMT</pubDate><guid>http://blog.csdn.net/Leafwiz/archive/2004/11/05/168968.aspx</guid><wfw:comment>http://blog.csdn.net/leafwiz/comments/168968.aspx</wfw:comment><comments>http://blog.csdn.net/Leafwiz/archive/2004/11/05/168968.aspx#Feedback</comments><slash:comments>3</slash:comments><wfw:commentRss>http://blog.csdn.net/leafwiz/comments/commentRss/168968.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=168968</trackback:ping><description> TestTrack Pro 是一个用于软件设计的BUG和缺陷的跟踪检测的工具，可供多人使用，让所有人准时，保持一致，Windows版本，该软件是BUG跟踪类软件的佼佼者。本文是一些安装技巧。&lt;img src ="http://blog.csdn.net/leafwiz/aggbug/168968.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>Leafwiz</dc:creator><title>C# Inner Class vs. java 的inner class比较</title><link>http://blog.csdn.net/Leafwiz/archive/2004/11/03/165696.aspx</link><pubDate>Wed, 03 Nov 2004 17:16:00 GMT</pubDate><guid>http://blog.csdn.net/Leafwiz/archive/2004/11/03/165696.aspx</guid><wfw:comment>http://blog.csdn.net/leafwiz/comments/165696.aspx</wfw:comment><comments>http://blog.csdn.net/Leafwiz/archive/2004/11/03/165696.aspx#Feedback</comments><slash:comments>1</slash:comments><wfw:commentRss>http://blog.csdn.net/leafwiz/comments/commentRss/165696.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=165696</trackback:ping><description>C#内部类的使用和Java的简单比较&lt;img src ="http://blog.csdn.net/leafwiz/aggbug/165696.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>Leafwiz</dc:creator><title>C# delegate design choices</title><link>http://blog.csdn.net/Leafwiz/archive/2004/11/01/161826.aspx</link><pubDate>Mon, 01 Nov 2004 10:46:00 GMT</pubDate><guid>http://blog.csdn.net/Leafwiz/archive/2004/11/01/161826.aspx</guid><wfw:comment>http://blog.csdn.net/leafwiz/comments/161826.aspx</wfw:comment><comments>http://blog.csdn.net/Leafwiz/archive/2004/11/01/161826.aspx#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/leafwiz/comments/commentRss/161826.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=161826</trackback:ping><description>C# delegate materials,[reference 1]&lt;img src ="http://blog.csdn.net/leafwiz/aggbug/161826.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>Leafwiz</dc:creator><title>一些C#学习资料[mark]</title><link>http://blog.csdn.net/Leafwiz/archive/2004/11/01/161788.aspx</link><pubDate>Mon, 01 Nov 2004 10:23:00 GMT</pubDate><guid>http://blog.csdn.net/Leafwiz/archive/2004/11/01/161788.aspx</guid><wfw:comment>http://blog.csdn.net/leafwiz/comments/161788.aspx</wfw:comment><comments>http://blog.csdn.net/Leafwiz/archive/2004/11/01/161788.aspx#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/leafwiz/comments/commentRss/161788.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=161788</trackback:ping><description>一些C#学习资料,以备不时之需&lt;img src ="http://blog.csdn.net/leafwiz/aggbug/161788.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>Leafwiz</dc:creator><title>how much should the system be configurable?</title><link>http://blog.csdn.net/Leafwiz/archive/2004/10/29/158618.aspx</link><pubDate>Fri, 29 Oct 2004 15:51:00 GMT</pubDate><guid>http://blog.csdn.net/Leafwiz/archive/2004/10/29/158618.aspx</guid><wfw:comment>http://blog.csdn.net/leafwiz/comments/158618.aspx</wfw:comment><comments>http://blog.csdn.net/Leafwiz/archive/2004/10/29/158618.aspx#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/leafwiz/comments/commentRss/158618.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=158618</trackback:ping><description>how much should the system be configurable if you use reflection&lt;img src ="http://blog.csdn.net/leafwiz/aggbug/158618.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>Leafwiz</dc:creator><title>使用命令行访问VSS的简单脚本</title><link>http://blog.csdn.net/Leafwiz/archive/2004/10/29/158416.aspx</link><pubDate>Fri, 29 Oct 2004 14:34:00 GMT</pubDate><guid>http://blog.csdn.net/Leafwiz/archive/2004/10/29/158416.aspx</guid><wfw:comment>http://blog.csdn.net/leafwiz/comments/158416.aspx</wfw:comment><comments>http://blog.csdn.net/Leafwiz/archive/2004/10/29/158416.aspx#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/leafwiz/comments/commentRss/158416.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=158416</trackback:ping><description>介绍使用命令行从VSS 获取文件的简单脚本&lt;img src ="http://blog.csdn.net/leafwiz/aggbug/158416.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>Leafwiz</dc:creator><title>这就是机器的差距</title><link>http://blog.csdn.net/Leafwiz/archive/2004/10/29/157456.aspx</link><pubDate>Fri, 29 Oct 2004 00:11:00 GMT</pubDate><guid>http://blog.csdn.net/Leafwiz/archive/2004/10/29/157456.aspx</guid><wfw:comment>http://blog.csdn.net/leafwiz/comments/157456.aspx</wfw:comment><comments>http://blog.csdn.net/Leafwiz/archive/2004/10/29/157456.aspx#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/leafwiz/comments/commentRss/157456.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=157456</trackback:ping><description>intermedia data&lt;img src ="http://blog.csdn.net/leafwiz/aggbug/157456.aspx" width = "1" height = "1" /&gt;</description></item></channel></rss>