﻿<?xml version="1.0" encoding="utf-8" standalone="yes"?><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>博客园-Ryu666's IT乐园</title><link>http://www.cnblogs.com/Ryu666/</link><description>“软件设计是我的挚爱。产品是副作用，我只享受制造过程。”      ——黄耀辉</description><language>zh-cn</language><lastBuildDate>Tue, 14 Oct 2008 10:30:09 GMT</lastBuildDate><pubDate>Tue, 14 Oct 2008 10:30:09 GMT</pubDate><ttl>60</ttl><item><title>再见了亲爱的学生们，再见了敬爱的同事们，再见了信狮</title><link>http://www.cnblogs.com/Ryu666/archive/2008/01/28/1055419.html</link><dc:creator>黄耀辉</dc:creator><author>黄耀辉</author><pubDate>Sun, 27 Jan 2008 20:01:00 GMT</pubDate><guid>http://www.cnblogs.com/Ryu666/archive/2008/01/28/1055419.html</guid><wfw:comment>http://www.cnblogs.com/Ryu666/comments/1055419.html</wfw:comment><comments>http://www.cnblogs.com/Ryu666/archive/2008/01/28/1055419.html#Feedback</comments><slash:comments>94</slash:comments><wfw:commentRss>http://www.cnblogs.com/Ryu666/comments/commentRss/1055419.html</wfw:commentRss><trackback:ping>http://www.cnblogs.com/Ryu666/services/trackbacks/1055419.html</trackback:ping><description><![CDATA[摘要: 眨眼间07年已经过去，又是来到了一个新的起点，所有的事物都将化整为零，就如我最近的网络签名一般“一切从空白解决方案开始”。<br><br>今天突然有感而发，写了7千多字的告别词。这也是我历史以来写的最长一篇博客，我想也是最后一篇这么长的了，写了快12个小时了。其实还想继续写下去，还有很多想写，但基于时间问题，只能搁笔了，而且没来得及校对，请见谅。<br><br>敬告(非警告)！！<br>本文只会公布到个人博客首页。与信狮无关的同志，请忽入内，谢谢！&nbsp;&nbsp;<a href='http://www.cnblogs.com/Ryu666/archive/2008/01/28/1055419.html'>阅读全文</a><img src ="http://www.cnblogs.com/Ryu666/aggbug/1055419.html?type=1" width = "1" height = "1" /><br><br><a href="http://news.cnblogs.com/n/42984/" target="_blank">[新闻]Silverlight 2正式版SDK可以下载</a><br/><a href="http://www.cnblogs.com" target="_blank">博客园首页</a>&nbsp;<a href="http://space.cnblogs.com" target="_blank">社区</a>&nbsp;<a href="http://news.cnblogs.com" target="_blank">新闻频道</a>&nbsp;<a href="http://space.cnblogs.com/group.htm" target="_blank">小组</a>&nbsp;<a href="http://space.cnblogs.com/q" target="_blank">博问</a>&nbsp;<a href="http://wz.cnblogs.com/" target="_blank">网摘</a>&nbsp;<a href="http://space.cnblogs.com/ing" target="_blank">闪存</a>]]></description></item><item><title>ASP.NET 3.5 Extensions CTP 预览版 已经发布</title><link>http://www.cnblogs.com/Ryu666/archive/2007/12/11/990106.html</link><dc:creator>黄耀辉</dc:creator><author>黄耀辉</author><pubDate>Mon, 10 Dec 2007 17:22:00 GMT</pubDate><guid>http://www.cnblogs.com/Ryu666/archive/2007/12/11/990106.html</guid><wfw:comment>http://www.cnblogs.com/Ryu666/comments/990106.html</wfw:comment><comments>http://www.cnblogs.com/Ryu666/archive/2007/12/11/990106.html#Feedback</comments><slash:comments>1</slash:comments><wfw:commentRss>http://www.cnblogs.com/Ryu666/comments/commentRss/990106.html</wfw:commentRss><trackback:ping>http://www.cnblogs.com/Ryu666/services/trackbacks/990106.html</trackback:ping><description><![CDATA[摘要: ASP.NET 3.5 Extensions CTP 预览版 已经发布，大家赶紧体验吧！<br>另外，还提供快速入门，相当体贴，呵呵&nbsp;&nbsp;<a href='http://www.cnblogs.com/Ryu666/archive/2007/12/11/990106.html'>阅读全文</a><img src ="http://www.cnblogs.com/Ryu666/aggbug/990106.html?type=1" width = "1" height = "1" /><br><br><a href="http://news.cnblogs.com/n/42983/" target="_blank">[新闻]Silverlight对Flash 微软打垮Adobe</a><br/><a href="http://www.cnblogs.com" target="_blank">博客园首页</a>&nbsp;<a href="http://space.cnblogs.com" target="_blank">社区</a>&nbsp;<a href="http://news.cnblogs.com" target="_blank">新闻频道</a>&nbsp;<a href="http://space.cnblogs.com/group.htm" target="_blank">小组</a>&nbsp;<a href="http://space.cnblogs.com/q" target="_blank">博问</a>&nbsp;<a href="http://wz.cnblogs.com/" target="_blank">网摘</a>&nbsp;<a href="http://space.cnblogs.com/ing" target="_blank">闪存</a>]]></description></item><item><title>.NET Framework开源了!ASP.NET 3.5扩展发布!Silverlight 2.0发布!</title><link>http://www.cnblogs.com/Ryu666/archive/2007/12/01/979040.html</link><dc:creator>黄耀辉</dc:creator><author>黄耀辉</author><pubDate>Fri, 30 Nov 2007 16:38:00 GMT</pubDate><guid>http://www.cnblogs.com/Ryu666/archive/2007/12/01/979040.html</guid><wfw:comment>http://www.cnblogs.com/Ryu666/comments/979040.html</wfw:comment><comments>http://www.cnblogs.com/Ryu666/archive/2007/12/01/979040.html#Feedback</comments><slash:comments>14</slash:comments><wfw:commentRss>http://www.cnblogs.com/Ryu666/comments/commentRss/979040.html</wfw:commentRss><trackback:ping>http://www.cnblogs.com/Ryu666/services/trackbacks/979040.html</trackback:ping><description><![CDATA[摘要: 随着VS2008和.NET Framework3.5的正式版于11月16日发布，微软给咱们.NET拥戴者的惊喜真是一浪紧接一浪啊。<br>来自微软开发团队领班Scott Guthrie的消息（微软产品路线图）,微软将给我们带来：&nbsp;&nbsp;<a href='http://www.cnblogs.com/Ryu666/archive/2007/12/01/979040.html'>阅读全文</a><img src ="http://www.cnblogs.com/Ryu666/aggbug/979040.html?type=1" width = "1" height = "1" /><br><br><a href="http://news.cnblogs.com/n/42981/" target="_blank">[新闻]IBM扩大研究规模 在上海成立研究院</a><br/><a href="http://www.cnblogs.com" target="_blank">博客园首页</a>&nbsp;<a href="http://space.cnblogs.com" target="_blank">社区</a>&nbsp;<a href="http://news.cnblogs.com" target="_blank">新闻频道</a>&nbsp;<a href="http://space.cnblogs.com/group.htm" target="_blank">小组</a>&nbsp;<a href="http://space.cnblogs.com/q" target="_blank">博问</a>&nbsp;<a href="http://wz.cnblogs.com/" target="_blank">网摘</a>&nbsp;<a href="http://space.cnblogs.com/ing" target="_blank">闪存</a>]]></description></item><item><title>俱乐部6月30日活动讲义下载</title><link>http://www.cnblogs.com/Ryu666/archive/2007/06/30/801611.html</link><dc:creator>黄耀辉</dc:creator><author>黄耀辉</author><pubDate>Sat, 30 Jun 2007 14:09:00 GMT</pubDate><guid>http://www.cnblogs.com/Ryu666/archive/2007/06/30/801611.html</guid><wfw:comment>http://www.cnblogs.com/Ryu666/comments/801611.html</wfw:comment><comments>http://www.cnblogs.com/Ryu666/archive/2007/06/30/801611.html#Feedback</comments><slash:comments>6</slash:comments><wfw:commentRss>http://www.cnblogs.com/Ryu666/comments/commentRss/801611.html</wfw:commentRss><trackback:ping>http://www.cnblogs.com/Ryu666/services/trackbacks/801611.html</trackback:ping><description><![CDATA[摘要: 不经不觉本月活动已经结束，谢谢各位朋友捧场。同时，因时间关系未能与各位更详尽深入地探讨企业库3.x的新特性，在此表示万分抱歉。<br>&nbsp;&nbsp;<a href='http://www.cnblogs.com/Ryu666/archive/2007/06/30/801611.html'>阅读全文</a><img src ="http://www.cnblogs.com/Ryu666/aggbug/801611.html?type=1" width = "1" height = "1" /><br><br><a href="http://news.cnblogs.com/n/42980/" target="_blank">[新闻]eWeek评Google八大“20%项目”</a><br/><a href="http://www.cnblogs.com" target="_blank">博客园首页</a>&nbsp;<a href="http://space.cnblogs.com" target="_blank">社区</a>&nbsp;<a href="http://news.cnblogs.com" target="_blank">新闻频道</a>&nbsp;<a href="http://space.cnblogs.com/group.htm" target="_blank">小组</a>&nbsp;<a href="http://space.cnblogs.com/q" target="_blank">博问</a>&nbsp;<a href="http://wz.cnblogs.com/" target="_blank">网摘</a>&nbsp;<a href="http://space.cnblogs.com/ing" target="_blank">闪存</a>]]></description></item><item><title>使用企业库DAAB开发企业级应用的示例[下载]</title><link>http://www.cnblogs.com/Ryu666/archive/2007/05/29/764493.html</link><dc:creator>黄耀辉</dc:creator><author>黄耀辉</author><pubDate>Tue, 29 May 2007 14:53:00 GMT</pubDate><guid>http://www.cnblogs.com/Ryu666/archive/2007/05/29/764493.html</guid><wfw:comment>http://www.cnblogs.com/Ryu666/comments/764493.html</wfw:comment><comments>http://www.cnblogs.com/Ryu666/archive/2007/05/29/764493.html#Feedback</comments><slash:comments>16</slash:comments><wfw:commentRss>http://www.cnblogs.com/Ryu666/comments/commentRss/764493.html</wfw:commentRss><trackback:ping>http://www.cnblogs.com/Ryu666/services/trackbacks/764493.html</trackback:ping><description><![CDATA[摘要: 没想到05年写的那篇《企业库EntLib初识(2)--数据访问应用程序块DataAccessApplicationBlock》到现在还有朋友关注，应各位的要求，现将教学中的DEMO奉献出来，供广大.NET爱好者，特别是对企业库感兴趣的朋友参考。<br><br>        其实要把企业库运用到企业开发中是非常方便、简单的事情。出于企业库1.1DAAB在初始运行的时候会出现短时间（大概2、3秒）的延时，被蒙上了“庞大”，“低效”的阴影，所以很多人不愿意使用。但它的性能已在企业库2.0及3.0中被不断改良，所以可用性还是很高的。&nbsp;&nbsp;<a href='http://www.cnblogs.com/Ryu666/archive/2007/05/29/764493.html'>阅读全文</a><img src ="http://www.cnblogs.com/Ryu666/aggbug/764493.html?type=1" width = "1" height = "1" /><br><br><a href="http://news.cnblogs.com/n/42979/" target="_blank">[新闻]微软终于发布Silverlight 2正式版</a><br/><a href="http://www.cnblogs.com" target="_blank">博客园首页</a>&nbsp;<a href="http://space.cnblogs.com" target="_blank">社区</a>&nbsp;<a href="http://news.cnblogs.com" target="_blank">新闻频道</a>&nbsp;<a href="http://space.cnblogs.com/group.htm" target="_blank">小组</a>&nbsp;<a href="http://space.cnblogs.com/q" target="_blank">博问</a>&nbsp;<a href="http://wz.cnblogs.com/" target="_blank">网摘</a>&nbsp;<a href="http://space.cnblogs.com/ing" target="_blank">闪存</a>]]></description></item><item><title>ASP.NET国际化(多语言)支持组件[提供下载]</title><link>http://www.cnblogs.com/Ryu666/archive/2007/04/05/702052.html</link><dc:creator>黄耀辉</dc:creator><author>黄耀辉</author><pubDate>Thu, 05 Apr 2007 15:58:00 GMT</pubDate><guid>http://www.cnblogs.com/Ryu666/archive/2007/04/05/702052.html</guid><wfw:comment>http://www.cnblogs.com/Ryu666/comments/702052.html</wfw:comment><comments>http://www.cnblogs.com/Ryu666/archive/2007/04/05/702052.html#Feedback</comments><slash:comments>16</slash:comments><wfw:commentRss>http://www.cnblogs.com/Ryu666/comments/commentRss/702052.html</wfw:commentRss><trackback:ping>http://www.cnblogs.com/Ryu666/services/trackbacks/702052.html</trackback:ping><description><![CDATA[摘要:     最近，经常有朋友问ASP.NET如何实现国际化(多语言)支持方面的问题。前段时间我正好做过这样的一个组件，现本着“人人为我，我为人人”共享精神，发布于此。<br>    其实ASP.NET已经集成对国际化和本地化的支持,但前些日子我正好在研究CS，所以没有采用微软内置的多语言支持方案，而是采用CS2.1项目的多语言支持方案为蓝本进行改写的。<br><br>使用说明:<br>&nbsp;&nbsp;<a href='http://www.cnblogs.com/Ryu666/archive/2007/04/05/702052.html'>阅读全文</a><img src ="http://www.cnblogs.com/Ryu666/aggbug/702052.html?type=1" width = "1" height = "1" /><br><br><a href="http://news.cnblogs.com/n/42977/" target="_blank">[新闻]微软首次打破先例 Windows 7不再改名</a><br/><a href="http://www.cnblogs.com" target="_blank">博客园首页</a>&nbsp;<a href="http://space.cnblogs.com" target="_blank">社区</a>&nbsp;<a href="http://news.cnblogs.com" target="_blank">新闻频道</a>&nbsp;<a href="http://space.cnblogs.com/group.htm" target="_blank">小组</a>&nbsp;<a href="http://space.cnblogs.com/q" target="_blank">博问</a>&nbsp;<a href="http://wz.cnblogs.com/" target="_blank">网摘</a>&nbsp;<a href="http://space.cnblogs.com/ing" target="_blank">闪存</a>]]></description></item><item><title>N年前录音，供朋友试听，听完不要扔鸡蛋就好。呵呵～(更新完毕2007.08.19)</title><link>http://www.cnblogs.com/Ryu666/archive/2006/11/15/561732.html</link><dc:creator>黄耀辉</dc:creator><author>黄耀辉</author><pubDate>Wed, 15 Nov 2006 14:26:00 GMT</pubDate><guid>http://www.cnblogs.com/Ryu666/archive/2006/11/15/561732.html</guid><wfw:comment>http://www.cnblogs.com/Ryu666/comments/561732.html</wfw:comment><comments>http://www.cnblogs.com/Ryu666/archive/2006/11/15/561732.html#Feedback</comments><slash:comments>34</slash:comments><wfw:commentRss>http://www.cnblogs.com/Ryu666/comments/commentRss/561732.html</wfw:commentRss><trackback:ping>http://www.cnblogs.com/Ryu666/services/trackbacks/561732.html</trackback:ping><description><![CDATA[<p>国语发音不准，请见谅，呵呵~<br>2004年<br>弹唱《彩虹》,原唱：羽泉<br><embed name=MediaPlayer1 pluginspage=http://www.microsoft.com/Windows/MediaPlayer src=http://www.netdev.cn/Resources/Ryu666-彩虹se.mp3 width=200 height=45 type=application/x-mplayer2 showcontrols="1" autostart="0"></embed>&nbsp;<br><br>再来发一首2003年的录音《终身美丽》， 是当年电影《瘦身男女》的主题曲。<br>虽然偶系讲广东话大D，但你会听得出发音还是不准，呵。<br>主要原因经考证有以下几点：<br>其一是这曲子没怎么练过，当时喜欢听这曲，自己扒完谱后就直接弹唱录音了。<br>其二是这首是我第一次直接弹唱录音，没有分录音乐和录唱两部分完成。<br>献丑了，嘿嘿～<br>2003年<br>弹唱《终身美丽》,原唱：郑秀文<br><embed name=MediaPlayer1 pluginspage=http://www.microsoft.com/Windows/MediaPlayer src=http://www.netdev.cn/Resources/Ryu666-终身美丽DEMO.mp3 width=200 height=45 type=application/x-mplayer2 showcontrols="1" autostart="0"></embed><br><br>－－－－－－－－－<br>谢谢各位给面子没扔鸡蛋，今天是百年难遇的07年农历7月初7星期7，在这里祝各位情侣节日快乐，同时送上最后一次弹唱录音更新，因为本身就没录几首歌，呵~<br>因为工作太忙，好久没写博客了，只能发布些陈年老酿来冲喜一下啦，呵呵~确实有些不务正业，请大家见谅！<br><br><br>倒数第三首是想当年第一次用计算机录音的曲子——许绍洋的《幸福的瞬间》，吉他谱是我一个个音从原装音乐中扒出来的，弹吉他和唱的当然还是我啦，嘿~ 这首歌第一次往外发布，希望大家喜欢。<br>&nbsp;<embed name=MediaPlayer1 pluginspage=http://www.microsoft.com/Windows/MediaPlayer src=http://www.netdev.cn/Resources/Ryu666-幸福的瞬间cut.mp3 width=200 height=45 type=application/x-mplayer2 autostart="0" showcontrols="1"><br><br>倒数第二首也是当年自己扒的谱子，连自己都还没弹熟就录了，呵~ 所以请大家多多包涵。<br>范逸臣的《I Believe》，就是我的野蛮女友那首。<br><embed name=MediaPlayer1 pluginspage=http://www.microsoft.com/Windows/MediaPlayer src=http://www.netdev.cn/Resources/Ryu666-I_Believe(国).mp3 width=200 height=45 type=application/x-mplayer2 showcontrols="1" autostart="0"><br><br><br>最后一首是在N年前那个单位，某个晚上聚餐结束后录的，还隐约记得当时喝了很多酒，拿起吉他就把音乐部分录起来了，但试过唱几遍都唱不了(已经喝到封喉的程度了，嘿~)，所以唱的部分是过后才补上的，呵~ 当时听到孙燕姿的《开始懂了》非常喜欢，就弹起这歌了，其实还没完全学会，所以有些音还唱错了嗫，呵呵~<br><embed name=MediaPlayer1 pluginspage=http://www.microsoft.com/Windows/MediaPlayer src=http://www.netdev.cn/Resources/Ryu666-开始懂了.mp3 width=200 height=45 type=application/x-mplayer2 autostart="0" showcontrols="1"><br><br><span style="COLOR: red"><strong>提示：收听前请先把右边的背景音乐(俺的"处男作"，嘿~)停掉!</strong></span></p>
<img src ="http://www.cnblogs.com/Ryu666/aggbug/561732.html?type=1" width = "1" height = "1" /><br><br><a href="http://news.cnblogs.com/n/42976/" target="_blank">[新闻]亚马逊EC2云计算计划支持Windows操作系统</a><br/><a href="http://www.cnblogs.com" target="_blank">博客园首页</a>&nbsp;<a href="http://space.cnblogs.com" target="_blank">社区</a>&nbsp;<a href="http://news.cnblogs.com" target="_blank">新闻频道</a>&nbsp;<a href="http://space.cnblogs.com/group.htm" target="_blank">小组</a>&nbsp;<a href="http://space.cnblogs.com/q" target="_blank">博问</a>&nbsp;<a href="http://wz.cnblogs.com/" target="_blank">网摘</a>&nbsp;<a href="http://space.cnblogs.com/ing" target="_blank">闪存</a>]]></description></item><item><title>为自己来一句“坚持、奋斗”</title><link>http://www.cnblogs.com/Ryu666/archive/2006/11/15/560594.html</link><dc:creator>黄耀辉</dc:creator><author>黄耀辉</author><pubDate>Tue, 14 Nov 2006 18:48:00 GMT</pubDate><guid>http://www.cnblogs.com/Ryu666/archive/2006/11/15/560594.html</guid><wfw:comment>http://www.cnblogs.com/Ryu666/comments/560594.html</wfw:comment><comments>http://www.cnblogs.com/Ryu666/archive/2006/11/15/560594.html#Feedback</comments><slash:comments>3</slash:comments><wfw:commentRss>http://www.cnblogs.com/Ryu666/comments/commentRss/560594.html</wfw:commentRss><trackback:ping>http://www.cnblogs.com/Ryu666/services/trackbacks/560594.html</trackback:ping><description><![CDATA[<p>已经有一段时间没写博客了，原因有二，其一是在上一个单位忙活了差不多半年，要腾出时间来写东西简直是"Mission Impossible "；其二，就是个人原因了，写东西对于我来讲实在是最最痛苦的事。对于<a title=Provider模型 href="http://www.cnblogs.com/Ryu666/archive/2006/11/15/560588.html">《&nbsp; <span>ASP.NET2.0 Provider</span><span>模型<span>(</span>上<span>)</span></span><span>——原理、模型与分析</span>》</a>这篇文章能正式发布，还是带有&#8220;政治任务&#8221;的背景迫使的，呵呵。说起篇文章，还真是出了吃奶般的力量，花了两个星期才给&#8220;憋&#8221;出来的。<br><br>本来今天还没能发布呢，原计划这系列是只有上下篇的，但这段时间确实是太紧张了，又加上我的进度太慢（每天就只能&#8220;憋&#8221;出几行字），再加上&#8220;政治任务&#8221;的压力压得越来越紧，所以不得不参考一下敏捷软件开发的思想，调整了一下大纲，把写完的部分先给发布了。<br><br>剩下的两部分主要都是以实现和代码解读为主，不会这么长篇大论了，理论上&#8220;生产过程&#8221;也应该没那么痛苦了，为自己来一句&#8220;坚持、奋斗&#8221;。<br></p>
<img src ="http://www.cnblogs.com/Ryu666/aggbug/560594.html?type=1" width = "1" height = "1" /><br><br><a href="http://news.cnblogs.com/n/42976/" target="_blank">[新闻]亚马逊EC2云计算计划支持Windows操作系统</a><br/><a href="http://www.cnblogs.com" target="_blank">博客园首页</a>&nbsp;<a href="http://space.cnblogs.com" target="_blank">社区</a>&nbsp;<a href="http://news.cnblogs.com" target="_blank">新闻频道</a>&nbsp;<a href="http://space.cnblogs.com/group.htm" target="_blank">小组</a>&nbsp;<a href="http://space.cnblogs.com/q" target="_blank">博问</a>&nbsp;<a href="http://wz.cnblogs.com/" target="_blank">网摘</a>&nbsp;<a href="http://space.cnblogs.com/ing" target="_blank">闪存</a>]]></description></item><item><title>ASP.NET2.0 Provider模型(上)——原理、模型与分析</title><link>http://www.cnblogs.com/Ryu666/archive/2006/11/15/560588.html</link><dc:creator>黄耀辉</dc:creator><author>黄耀辉</author><pubDate>Tue, 14 Nov 2006 17:37:00 GMT</pubDate><guid>http://www.cnblogs.com/Ryu666/archive/2006/11/15/560588.html</guid><wfw:comment>http://www.cnblogs.com/Ryu666/comments/560588.html</wfw:comment><comments>http://www.cnblogs.com/Ryu666/archive/2006/11/15/560588.html#Feedback</comments><slash:comments>28</slash:comments><wfw:commentRss>http://www.cnblogs.com/Ryu666/comments/commentRss/560588.html</wfw:commentRss><trackback:ping>http://www.cnblogs.com/Ryu666/services/trackbacks/560588.html</trackback:ping><description><![CDATA[摘要:       在ASP.NET2.0面世之前，Provider模型应该算是比较“低调”的,但随着ASP.NET2.0的日盈普及，认识Provider模型成为了灵活运用MemberShip（成员资格管理）、SiteMapPath(站点地图)、个性化等新特性的关键。如果忽略了Provider模型的存在，您了解的ASP.NET2.0将是不完整的。<br><br>    可能很多初次接触ASP.NET2.0的朋友都会产生一些疑惑：为什么在站点的App_Data目录会自动生成ASPNETDB.MDF数据库呢？登录控件为何非得依赖于SQLServer2005Express数据库呢？想把数据存储换成SQLServer2000、Orcale、Access甚至是MySQL的，行不？要使用登录控件(或MemberShip)就必需使用自动生成的数据库表（”aspnet_” 做前缀的表）来存储数据吗？……其实这一切都可以从Provider模型中找到答案。&nbsp;&nbsp;<a href='http://www.cnblogs.com/Ryu666/archive/2006/11/15/560588.html'>阅读全文</a><img src ="http://www.cnblogs.com/Ryu666/aggbug/560588.html?type=1" width = "1" height = "1" /><br><br><a href="http://news.cnblogs.com/n/42976/" target="_blank">[新闻]亚马逊EC2云计算计划支持Windows操作系统</a><br/><a href="http://www.cnblogs.com" target="_blank">博客园首页</a>&nbsp;<a href="http://space.cnblogs.com" target="_blank">社区</a>&nbsp;<a href="http://news.cnblogs.com" target="_blank">新闻频道</a>&nbsp;<a href="http://space.cnblogs.com/group.htm" target="_blank">小组</a>&nbsp;<a href="http://space.cnblogs.com/q" target="_blank">博问</a>&nbsp;<a href="http://wz.cnblogs.com/" target="_blank">网摘</a>&nbsp;<a href="http://space.cnblogs.com/ing" target="_blank">闪存</a>]]></description></item><item><title>水晶报表 For VS2005的新功能——“设计时预览” (BUG)</title><link>http://www.cnblogs.com/Ryu666/archive/2006/08/27/487571.html</link><dc:creator>黄耀辉</dc:creator><author>黄耀辉</author><pubDate>Sun, 27 Aug 2006 07:03:00 GMT</pubDate><guid>http://www.cnblogs.com/Ryu666/archive/2006/08/27/487571.html</guid><wfw:comment>http://www.cnblogs.com/Ryu666/comments/487571.html</wfw:comment><comments>http://www.cnblogs.com/Ryu666/archive/2006/08/27/487571.html#Feedback</comments><slash:comments>5</slash:comments><wfw:commentRss>http://www.cnblogs.com/Ryu666/comments/commentRss/487571.html</wfw:commentRss><trackback:ping>http://www.cnblogs.com/Ryu666/services/trackbacks/487571.html</trackback:ping><description><![CDATA[摘要: 新版的水晶报表为了我们开发方便，引入了“设计时预览”新功能。<br>这东西确实很有用，我们无需把报表放到报表查看器并运行应用便可以查看到报表运行结果，但.......&nbsp;&nbsp;<a href='http://www.cnblogs.com/Ryu666/archive/2006/08/27/487571.html'>阅读全文</a><img src ="http://www.cnblogs.com/Ryu666/aggbug/487571.html?type=1" width = "1" height = "1" /><br><br><a href="http://news.cnblogs.com/n/42975/" target="_blank">[新闻]鲍尔默失望变希望 幸亏当初未收购雅虎</a><br/><a href="http://www.cnblogs.com" target="_blank">博客园首页</a>&nbsp;<a href="http://space.cnblogs.com" target="_blank">社区</a>&nbsp;<a href="http://news.cnblogs.com" target="_blank">新闻频道</a>&nbsp;<a href="http://space.cnblogs.com/group.htm" target="_blank">小组</a>&nbsp;<a href="http://space.cnblogs.com/q" target="_blank">博问</a>&nbsp;<a href="http://wz.cnblogs.com/" target="_blank">网摘</a>&nbsp;<a href="http://space.cnblogs.com/ing" target="_blank">闪存</a>]]></description></item><item><title>大家一起来抢地盘!</title><link>http://www.cnblogs.com/Ryu666/archive/2005/12/03/290064.html</link><dc:creator>黄耀辉</dc:creator><author>黄耀辉</author><pubDate>Sat, 03 Dec 2005 11:04:00 GMT</pubDate><guid>http://www.cnblogs.com/Ryu666/archive/2005/12/03/290064.html</guid><wfw:comment>http://www.cnblogs.com/Ryu666/comments/290064.html</wfw:comment><comments>http://www.cnblogs.com/Ryu666/archive/2005/12/03/290064.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cnblogs.com/Ryu666/comments/commentRss/290064.html</wfw:commentRss><trackback:ping>http://www.cnblogs.com/Ryu666/services/trackbacks/290064.html</trackback:ping><description><![CDATA[这两天才发现了"博客地图"这玩意,挺过引的<IMG height=20 src="http://www.cnblogs.com/Emoticons/QQ/14.gif" width=20 border=0>. 所以马上抢占了两个地盘.<BR><BR>一个是博客中国搞的,强力推荐! 深圳地图精确到街道! 地址如下:<BR><A href="http://blog.mapbar.com/blogmap/">http://blog.mapbar.com/blogmap/</A><BR><BR><BR>第二个是微软的,只能精确到"深圳",而且感觉没博客中国的那个占地盘方便,嘿!,不过这个看上去国际化点儿,嘿嘿!地址如下:<BR><A href="http://www.feedmap.net/BlogMap/">http://www.feedmap.net/BlogMap/</A><BR><BR>有兴趣的朋友也可以去注一个玩玩吧!<BR>想看效果的朋友可以访问我的博客<BR><A href="http://Ryu666.cnblogs.com/">http://ryu666.cnblogs.com</A>&nbsp;<BR><BR>最后请注意:如果打算在网上作奸犯科的朋友就别搞了,不然公安会很方便找上你家门来<IMG height=20 src="http://www.cnblogs.com/Emoticons/QQ/14.gif" width=20 border=0>至于抢不抢地盘就见仁见智了，能想到它的好处的就搞吧!嘿!<img src ="http://www.cnblogs.com/Ryu666/aggbug/290064.html?type=1" width = "1" height = "1" /><br><br><a href="http://news.cnblogs.com/n/42974/" target="_blank">[新闻]微软12月举办硬件工程大会 Windows7将首次亮相</a><br/><a href="http://www.cnblogs.com" target="_blank">博客园首页</a>&nbsp;<a href="http://space.cnblogs.com" target="_blank">社区</a>&nbsp;<a href="http://news.cnblogs.com" target="_blank">新闻频道</a>&nbsp;<a href="http://space.cnblogs.com/group.htm" target="_blank">小组</a>&nbsp;<a href="http://space.cnblogs.com/q" target="_blank">博问</a>&nbsp;<a href="http://wz.cnblogs.com/" target="_blank">网摘</a>&nbsp;<a href="http://space.cnblogs.com/ing" target="_blank">闪存</a>]]></description></item><item><title>企业库数据访问应用程序块DAAB分析与应用(1)：数据操作方法(上)</title><link>http://www.cnblogs.com/Ryu666/archive/2005/11/26/284994.html</link><dc:creator>黄耀辉</dc:creator><author>黄耀辉</author><pubDate>Sat, 26 Nov 2005 05:17:00 GMT</pubDate><guid>http://www.cnblogs.com/Ryu666/archive/2005/11/26/284994.html</guid><wfw:comment>http://www.cnblogs.com/Ryu666/comments/284994.html</wfw:comment><comments>http://www.cnblogs.com/Ryu666/archive/2005/11/26/284994.html#Feedback</comments><slash:comments>4</slash:comments><wfw:commentRss>http://www.cnblogs.com/Ryu666/comments/commentRss/284994.html</wfw:commentRss><trackback:ping>http://www.cnblogs.com/Ryu666/services/trackbacks/284994.html</trackback:ping><description><![CDATA[摘要: 个人觉得DAAB可算是企业库最常用,最实用的应用程序块之一，所以熟悉它参透它实在是太有必要了。为了跟大家分享一下它给我们带来的喜悦，故有针对DAAB的各个细节作描述的冲动。希望通过关于DAAB各个主题的探讨，能让大家快速、高效地把它运用到实际项目中。<br>…………&nbsp;&nbsp;<a href='http://www.cnblogs.com/Ryu666/archive/2005/11/26/284994.html'>阅读全文</a><img src ="http://www.cnblogs.com/Ryu666/aggbug/284994.html?type=1" width = "1" height = "1" /><br><br><a href="http://news.cnblogs.com/n/42973/" target="_blank">[新闻]电脑程序与12位真人聊天 “艾尔博特”骗过3人</a><br/><a href="http://www.cnblogs.com" target="_blank">博客园首页</a>&nbsp;<a href="http://space.cnblogs.com" target="_blank">社区</a>&nbsp;<a href="http://news.cnblogs.com" target="_blank">新闻频道</a>&nbsp;<a href="http://space.cnblogs.com/group.htm" target="_blank">小组</a>&nbsp;<a href="http://space.cnblogs.com/q" target="_blank">博问</a>&nbsp;<a href="http://wz.cnblogs.com/" target="_blank">网摘</a>&nbsp;<a href="http://space.cnblogs.com/ing" target="_blank">闪存</a>]]></description></item><item><title>让你的ASP.NET应用跑回.NET Framework 1.1</title><link>http://www.cnblogs.com/Ryu666/archive/2005/11/22/282299.html</link><dc:creator>黄耀辉</dc:creator><author>黄耀辉</author><pubDate>Tue, 22 Nov 2005 13:30:00 GMT</pubDate><guid>http://www.cnblogs.com/Ryu666/archive/2005/11/22/282299.html</guid><wfw:comment>http://www.cnblogs.com/Ryu666/comments/282299.html</wfw:comment><comments>http://www.cnblogs.com/Ryu666/archive/2005/11/22/282299.html#Feedback</comments><slash:comments>1</slash:comments><wfw:commentRss>http://www.cnblogs.com/Ryu666/comments/commentRss/282299.html</wfw:commentRss><trackback:ping>http://www.cnblogs.com/Ryu666/services/trackbacks/282299.html</trackback:ping><description><![CDATA[<P>可能有朋友会遇到个问题: 在.NET Framework 1.1环境开发了ASP.NET应用,当升级到.NET Framework 2.0以后,出现了莫名的错误而不能正常运行.<BR>刚才我在使用企业库EntLib1.1(6月份版本)开发ASP.NET应用时也出现这个问题.后来经过几翻波折找到了解决方法,希望跟大家分享一下.<BR><BR>解决方法好简单,只要通过配置IIS就可以了!<BR>步骤如下:打开IIS -&gt; 右键应用目录选择"属性" -&gt;选择"ASP.NET"选项卡 -&gt;在"ASP.NET版本"下拉列表框中选择1.1的版本就可以了.<BR><BR>希望遇到同样问题的朋友可以更快得到解决方法.嘿嘿!</P><img src ="http://www.cnblogs.com/Ryu666/aggbug/282299.html?type=1" width = "1" height = "1" /><br><br><a href="http://news.cnblogs.com/n/42971/" target="_blank">[新闻]Mozilla发布网页开发工具实验室</a><br/><a href="http://www.cnblogs.com" target="_blank">博客园首页</a>&nbsp;<a href="http://space.cnblogs.com" target="_blank">社区</a>&nbsp;<a href="http://news.cnblogs.com" target="_blank">新闻频道</a>&nbsp;<a href="http://space.cnblogs.com/group.htm" target="_blank">小组</a>&nbsp;<a href="http://space.cnblogs.com/q" target="_blank">博问</a>&nbsp;<a href="http://wz.cnblogs.com/" target="_blank">网摘</a>&nbsp;<a href="http://space.cnblogs.com/ing" target="_blank">闪存</a>]]></description></item><item><title>企业库相关资源下载Enterprise Library Download[2007.5.29更新]</title><link>http://www.cnblogs.com/Ryu666/archive/2005/11/18/279833.html</link><dc:creator>黄耀辉</dc:creator><author>黄耀辉</author><pubDate>Fri, 18 Nov 2005 10:36:00 GMT</pubDate><guid>http://www.cnblogs.com/Ryu666/archive/2005/11/18/279833.html</guid><wfw:comment>http://www.cnblogs.com/Ryu666/comments/279833.html</wfw:comment><comments>http://www.cnblogs.com/Ryu666/archive/2005/11/18/279833.html#Feedback</comments><slash:comments>10</slash:comments><wfw:commentRss>http://www.cnblogs.com/Ryu666/comments/commentRss/279833.html</wfw:commentRss><trackback:ping>http://www.cnblogs.com/Ryu666/services/trackbacks/279833.html</trackback:ping><description><![CDATA[<p>贴上企业库的相关资源,希望能帮助有兴趣研究企业库的朋友。 <br>以后会不断更新，希望大家也可以分享您的资源，谢谢！ <br><br><strong><br>企业库下载<br>＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝<br>&nbsp;</strong>patterns &amp; practices Enterprise Library - June 2005 <br><a href="http://www.microsoft.com/downloads/details.aspx?FamilyId=A7D2A109-660E-444E-945A-6B32AF1581B3&amp;displaylang=en">http://www.microsoft.com/downloads/details.aspx?FamilyId=A7D2A109-660E-444E-945A-6B32AF1581B3&amp;displaylang=en</a> <br><br><span style="COLOR: red"><br></span>企业库2.0&nbsp;<a onclick="javascript:Track('ctl00_LibFrame_ctl01|ctl00_LibFrame_ctl05',this);" href="http://www.microsoft.com/downloads/details.aspx?familyid=5a14e870-406b-4f2a-b723-97ba84ae80b5&amp;displaylang=en">Enterprise Library for .NET Framework 2.0, January 2006<br></a>企业库3.0 <a href="http://www.microsoft.com/downloads/details.aspx?familyid=62ef5f79-daf2-43af-9897-d926f03b9e60&amp;displaylang=en"><font color=#002c99>Enterprise Library 3.0 &#8211; April 2007 (for .NET Framework 2.0 and 3.0)</font></a><br><font color=#002c99><span style="COLOR: red">企业库3.1 </span><font color=#000000><a style="COLOR: red" href="http://www.microsoft.com/downloads/details.aspx?FamilyID=4c557c63-708f-4280-8f0c-637481c31718&amp;DisplayLang=en"><span style="COLOR: red">Enterprise Library 3.1 - May 2007 (<span style="COLOR: red">2007.05.23发布</span>)</span><br></a></font></font><br><strong style="COLOR: red">官方社区<br>＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝<br></strong><a href="http://www.codeplex.com/entlib">http://www.codeplex.com/entlib</a><br><br><br><strong>微软WebCast－企业库系列</strong> <br>＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝<br><a href="http://ryu666.cnblogs.com/china/msdn/events/webcasts/shared/webcast/episode.aspx?newsID=1242188">企业库系列课程(1)：概述 (Level 200)</a> <br><a href="http://www.microsoft.com/china/msdn/events/webcasts/shared/webcast/episode.aspx?newsID=1242192"><font color=#002c99>企业库系列课程(2)：<span class=myTD>配置管理应用程序块 </span>(Level 300)</font></a> <br><a href="http://www.microsoft.com/china/msdn/events/webcasts/shared/webcast/episode.aspx?newsID=1242196"><font color=#002c99>企业库系列课程(3)：<span class=myTD>数据访问应用程序块</span> (Level 300)</font></a> <br><a href="http://ryu666.cnblogs.com/china/msdn/events/webcasts/shared/webcast/episode.aspx?newsID=1242201" target=_blank><font color=#002c99>企业库系列课程(4)：<span class=myTD>安全应用程序库<strong> </strong></span>(Level 300)</font></a> <br><a href="http://ryu666.cnblogs.com/china/msdn/events/webcasts/shared/webcast/episode.aspx?newsID=1242206" target=_blank><font color=#002c99>企业库系列课程(5)：<span class=myTD>日志和仪表盘管理应用程序块</span>(Level 300)</font></a> <br><a href="http://ryu666.cnblogs.com/china/msdn/events/webcasts/shared/webcast/episode.aspx?newsID=1242210" target=_blank><font color=#002c99>企业库系列课程(6)：<span class=myTD>缓存应用程序块<strong> </strong></span>(Level 300)</font></a> <br><a href="http://www.microsoft.com/china/msdn/events/webcasts/shared/webcast/episode.aspx?newsID=1242222"><font color=#002c99>企业库系列课程(7)：<span class=myTD>缓存应用程序块<strong> </strong></span>(Level 300)</font></a> <br><a href="http://www.microsoft.com/china/msdn/events/webcasts/shared/webcast/episode.aspx?newsID=1242225"><font color=#002c99>企业库系列课程(8)：<span class=myTD>加密应用程序块<strong> </strong></span>(Level 300)</font></a> <br><a href="http://www.microsoft.com/china/msdn/events/webcasts/shared/webcast/episode.aspx?newsID=1242231"><font color=#002c99>企业库系列课程(9)：<span class=myTD>构建您自己的应用程序块<strong> </strong></span>(Level 300)</font></a> <br><br><strong>插件下载<br>＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝<br></strong><font face=Verdana color=#333333>Database Rules Provider<br>把规则表达式存于数据库的提供者<br><a href="http://www.gotdotnet.com/Community/UserSamples/Details.aspx?SampleGuid=C0B0CE8E-1B72-44AB-B300-F369EB18664A">http://www.gotdotnet.com/Community/UserSamples/Details.aspx?SampleGuid=C0B0CE8E-1B72-44AB-B300-F369EB18664A</a><br><br>Security Database Console with Authorization Rules<br>带上规则表达式编辑功能的安全数据库控制台<br><a href="http://www.gotdotnet.com/Community/UserSamples/Details.aspx?SampleGuid=1A5E280E-0A0D-43EF-A7DE-562E391B82C4">http://www.gotdotnet.com/Community/UserSamples/Details.aspx?SampleGuid=1A5E280E-0A0D-43EF-A7DE-562E391B82C4</a></font></p>
<img src ="http://www.cnblogs.com/Ryu666/aggbug/279833.html?type=1" width = "1" height = "1" /><br><br><a href="http://news.cnblogs.com/n/42970/" target="_blank">[新闻]经典软件十五年深情回眸</a><br/><a href="http://www.cnblogs.com" target="_blank">博客园首页</a>&nbsp;<a href="http://space.cnblogs.com" target="_blank">社区</a>&nbsp;<a href="http://news.cnblogs.com" target="_blank">新闻频道</a>&nbsp;<a href="http://space.cnblogs.com/group.htm" target="_blank">小组</a>&nbsp;<a href="http://space.cnblogs.com/q" target="_blank">博问</a>&nbsp;<a href="http://wz.cnblogs.com/" target="_blank">网摘</a>&nbsp;<a href="http://space.cnblogs.com/ing" target="_blank">闪存</a>]]></description></item><item><title>企业库EntLib初识(3)--配置管理应用程序块ConfigurationApplicationBlock</title><link>http://www.cnblogs.com/Ryu666/archive/2005/11/12/274495.html</link><dc:creator>黄耀辉</dc:creator><author>黄耀辉</author><pubDate>Fri, 11 Nov 2005 17:29:00 GMT</pubDate><guid>http://www.cnblogs.com/Ryu666/archive/2005/11/12/274495.html</guid><wfw:comment>http://www.cnblogs.com/Ryu666/comments/274495.html</wfw:comment><comments>http://www.cnblogs.com/Ryu666/archive/2005/11/12/274495.html#Feedback</comments><slash:comments>6</slash:comments><wfw:commentRss>http://www.cnblogs.com/Ryu666/comments/commentRss/274495.html</wfw:commentRss><trackback:ping>http://www.cnblogs.com/Ryu666/services/trackbacks/274495.html</trackback:ping><description><![CDATA[<SPAN><FONT face="Times New Roman">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">偷了几天懒，今天怎么也得继续写的了，总不能让才喊出来没几天的口号告终吧。嘿～</SPAN> 
<P class=MsoNormal style="TEXT-INDENT: 21pt; TEXT-ALIGN: left; mso-char-indent-count: 2.0" align=left><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">今天我们回过头看一下在</SPAN><SPAN lang=EN-US>DAAB探讨</SPAN><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">中提到的配置管理应用程序块</SPAN><SPAN lang=EN-US>Configuration Application Block</SPAN><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">。配置管理应用程序块是企业库中的最低层，企业库的其它应用程序块都依赖于它。那为什么会依赖于它呢？现在提倡配置驱动的应用开发，就是把应用中客观存在的大量配置信息与程序代码作分离。既然微软都运用这种机制去开发企业库的框架</SPAN><SPAN lang=EN-US>(</SPAN><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">也不能排除往后版本会引入新机制</SPAN><SPAN lang=EN-US>)</SPAN><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">，我们短期内也不必论证实它的价值了。费话少说，我们就开始探讨一下配置管理应用程序块吧！</SPAN></P>
<P class=MsoNormal style="TEXT-ALIGN: left" align=left><SPAN lang=EN-US><?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /><o:p>&nbsp;</o:p></SPAN><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'"><STRONG>首先，我们了解一下配置管理应用程序块为我们带来什么。</STRONG></SPAN></P>
<P class=MsoNormal style="TEXT-INDENT: 21pt; TEXT-ALIGN: left; mso-char-indent-count: 2.0" align=left><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">从前，我们常规地会把应用程序的配置信息通过三种方式去保存：配置文件（</SPAN><SPAN lang=EN-US>ini</SPAN><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">文件或者</SPAN><SPAN lang=EN-US>XML</SPAN><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">文件）、注册表和数据库。三种方式都有各自适当的运用场合，而配置管理应用程序块的出现并不是否决了这三种方式，而是为我们提供了更好地通过这三种方式去实现应用程序配置管理的解决方案。因为配置信息与代码逻辑是分离的，所以我们可以更灵活地选择配置信息的解决方案。甚于可以通过简单的配置，不需要改写代码便可以从一种方式改变为另一种方式。</SPAN></P>
<P class=MsoNormal style="TEXT-INDENT: 21pt; TEXT-ALIGN: left; mso-char-indent-count: 2.0" align=left><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">另外，配置管理应用程序块给我们提供了简单的读写配置信息的接口。让我们简单地调用读写配置信息的方法便可以操作配置信息，而无需考虑各种物理存储结构的差异性。</SPAN></P>
<P class=MsoNormal style="TEXT-ALIGN: left" align=left><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">&nbsp;&nbsp;&nbsp; 最后就是&#8220;提供一种允许自定义存储位置和配置设置的运行时表示的可扩展模型&#8221;。这个扩展性让我们以后再探讨吧，至少现阶段微软提供的已经够用了。</SPAN></P>
<P class=MsoNormal style="TEXT-ALIGN: left" align=left><SPAN lang=EN-US><o:p>&nbsp;</o:p></SPAN><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'"><STRONG>然后，认识配置管理应用程序块的主要对象。</STRONG></SPAN></P>
<P class=MsoNormal style="TEXT-INDENT: 21pt; TEXT-ALIGN: left; mso-char-indent-count: 2.0" align=left><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">配置管理应用程序块通过存储提供程序和转换器将配置数据的读写能力与物理存储结节相分离。存储提供程序是读写特定物理存储（包括</SPAN><SPAN lang=EN-US>XML</SPAN><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">和数据库）的对象，而转换器的功能是使配置数据在应用程序期望的数据格式（如对象、数组等）与物理存储要求的格式（如</SPAN><SPAN lang=EN-US>XML</SPAN><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">和数据表）间进行转换。</SPAN></P>
<P class=MsoNormal style="TEXT-INDENT: 21pt; TEXT-ALIGN: left; mso-char-indent-count: 2.0" align=left><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">需要特别注意的是在配置管理应用程序块的解决方案中，配置数据被分离成配置元数据（</SPAN><SPAN lang=EN-US>metadata</SPAN><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">）和配置数据具体内容，分别保存在不同的配置文件中。配置元数据分别定义了存储提供程序、转换器，并在其中指定配置数据具体内容的路径，是否要加密等信息。配置数据具体内容则存放应用程序真正的配置数据内容。</SPAN></P>
<P class=MsoNormal style="TEXT-INDENT: 21pt; TEXT-ALIGN: left; mso-char-indent-count: 2.0" align=left><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">具体地说，我们通常把配置元数据存放在</SPAN><SPAN lang=EN-US>App.config</SPAN><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">或</SPAN><SPAN lang=EN-US>Web.config</SPAN><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">文件中（定义存储提供程序和转换器），关于这个配置文件的内容已经超出我们的讨论范围，请您查看相关书籍作了解，在这里我们只需知道它是以</SPAN><SPAN lang=EN-US>XML</SPAN><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">格式保存数据就足够了。关键代码段如下：</SPAN></P>
<P class=MsoNormal style="TEXT-ALIGN: left; mso-layout-grid-align: none" align=left>
<P class=MsoNormal style="TEXT-ALIGN: left" align=left><SPAN lang=EN-US style="FONT-SIZE: 9pt; FONT-FAMILY: 新宋体; mso-hansi-font-family: 'Times New Roman'; mso-font-kerning: 0pt"><SPAN style="COLOR: blue"><o:p></o:p></SPAN></SPAN></P><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">
<P></P>
<DIV style="BORDER-RIGHT: #cccccc 1px solid; PADDING-RIGHT: 5px; BORDER-TOP: #cccccc 1px solid; PADDING-LEFT: 4px; FONT-SIZE: 13px; PADDING-BOTTOM: 4px; BORDER-LEFT: #cccccc 1px solid; WIDTH: 98%; WORD-BREAK: break-all; PADDING-TOP: 4px; BORDER-BOTTOM: #cccccc 1px solid; BACKGROUND-COLOR: #eeeeee"><IMG src="http://www.cnblogs.com/images/OutliningIndicators/None.gif" align=top><SPAN style="COLOR: #000000">&nbsp;&nbsp;</SPAN><SPAN style="COLOR: #0000ff">&lt;</SPAN><SPAN style="COLOR: #800000">configurationSections</SPAN><SPAN style="COLOR: #0000ff">&gt;</SPAN><SPAN style="COLOR: #000000"><BR><IMG src="http://www.cnblogs.com/images/OutliningIndicators/None.gif" align=top><BR><IMG src="http://www.cnblogs.com/images/OutliningIndicators/None.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;</SPAN><SPAN style="COLOR: #0000ff">&lt;</SPAN><SPAN style="COLOR: #800000">configurationSection&nbsp;</SPAN><SPAN style="COLOR: #ff0000">name</SPAN><SPAN style="COLOR: #0000ff">="dataConfiguration"</SPAN><SPAN style="COLOR: #ff0000">&nbsp;encrypt</SPAN><SPAN style="COLOR: #0000ff">="false"</SPAN><SPAN style="COLOR: #0000ff">&gt;</SPAN><SPAN style="COLOR: #000000"><BR><IMG src="http://www.cnblogs.com/images/OutliningIndicators/None.gif" align=top><BR><IMG src="http://www.cnblogs.com/images/OutliningIndicators/None.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</SPAN><SPAN style="COLOR: #0000ff">&lt;</SPAN><SPAN style="COLOR: #800000">storageProvider&nbsp;</SPAN><SPAN style="COLOR: #ff0000">xsi:type</SPAN><SPAN style="COLOR: #0000ff">="XmlFileStorageProviderData"</SPAN><SPAN style="COLOR: #ff0000">&nbsp;name</SPAN><SPAN style="COLOR: #0000ff">="XML&nbsp;File&nbsp;Storage&nbsp;Provider"</SPAN><SPAN style="COLOR: #ff0000">&nbsp;path</SPAN><SPAN style="COLOR: #0000ff">="dataConfiguration.config"</SPAN><SPAN style="COLOR: #ff0000">&nbsp;</SPAN><SPAN style="COLOR: #0000ff">/&gt;</SPAN><SPAN style="COLOR: #000000"><BR><IMG src="http://www.cnblogs.com/images/OutliningIndicators/None.gif" align=top><BR><IMG src="http://www.cnblogs.com/images/OutliningIndicators/None.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</SPAN><SPAN style="COLOR: #0000ff">&lt;</SPAN><SPAN style="COLOR: #800000">dataTransformer&nbsp;</SPAN><SPAN style="COLOR: #ff0000">xsi:type</SPAN><SPAN style="COLOR: #0000ff">="XmlSerializerTransformerData"</SPAN><SPAN style="COLOR: #ff0000">&nbsp;name</SPAN><SPAN style="COLOR: #0000ff">="Xml&nbsp;Serializer&nbsp;Transformer"</SPAN><SPAN style="COLOR: #0000ff">&gt;</SPAN><SPAN style="COLOR: #000000"><BR><IMG src="http://www.cnblogs.com/images/OutliningIndicators/None.gif" align=top><BR><IMG src="http://www.cnblogs.com/images/OutliningIndicators/None.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</SPAN><SPAN style="COLOR: #0000ff">&lt;</SPAN><SPAN style="COLOR: #800000">includeTypes&nbsp;</SPAN><SPAN style="COLOR: #0000ff">/&gt;</SPAN><SPAN style="COLOR: #000000"><BR><IMG src="http://www.cnblogs.com/images/OutliningIndicators/None.gif" align=top><BR><IMG src="http://www.cnblogs.com/images/OutliningIndicators/None.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</SPAN><SPAN style="COLOR: #0000ff">&lt;/</SPAN><SPAN style="COLOR: #800000">dataTransformer</SPAN><SPAN style="COLOR: #0000ff">&gt;</SPAN><SPAN style="COLOR: #000000"><BR><IMG src="http://www.cnblogs.com/images/OutliningIndicators/None.gif" align=top><BR><IMG src="http://www.cnblogs.com/images/OutliningIndicators/None.gif" align=top></SPAN><SPAN style="COLOR: #0000ff">&lt;/</SPAN><SPAN style="COLOR: #800000">configurationSection</SPAN><SPAN style="COLOR: #0000ff">&gt;</SPAN><SPAN style="COLOR: #000000"><BR><IMG src="http://www.cnblogs.com/images/OutliningIndicators/None.gif" align=top><BR><IMG src="http://www.cnblogs.com/images/OutliningIndicators/None.gif" align=top>&nbsp;&nbsp;</SPAN><SPAN style="COLOR: #0000ff">&lt;/</SPAN><SPAN style="COLOR: #800000">configurationSections</SPAN><SPAN style="COLOR: #0000ff">&gt;</SPAN><SPAN style="COLOR: #000000"><BR><IMG src="http://www.cnblogs.com/images/OutliningIndicators/None.gif" align=top></SPAN></DIV>
<P class=MsoNormal style="TEXT-ALIGN: left; mso-layout-grid-align: none" align=left><BR>&nbsp;&nbsp;&nbsp; 我们从最外层开始分析一下上边代码：</SPAN></P>
<P class=MsoNormal style="TEXT-INDENT: 21pt; TEXT-ALIGN: left; mso-char-indent-count: 2.0" align=left><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">最外层</SPAN><SPAN lang=EN-US>&lt;configurationSections&gt;</SPAN><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">为配置节（或者叫配置区）的集合，顾名思义里面由</SPAN><SPAN lang=EN-US>N</SPAN><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">个</SPAN><SPAN lang=EN-US>configurationSection</SPAN><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">（配置节）组成。企业库里面每个应用程序块都有各自的配置节。当然我也可以在其中扩展自己配置块。</SPAN></P>
<P class=MsoNormal style="TEXT-INDENT: 21pt; TEXT-ALIGN: left; mso-char-indent-count: 2.0" align=left><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">每个</SPAN><SPAN lang=EN-US>configurationSection</SPAN><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">表示一个配置节。它的</SPAN><SPAN lang=EN-US>name</SPAN><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">属性为配置节的名称，这个属性为我们提供了配置数据与程序代码作交互的标识。</SPAN><SPAN lang=EN-US>Encrypt</SPAN><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">属性表示对具体配置内容是否进行加密。但需要注意的是对具体配置内容做加密处理，并不能简单地把属性设置为</SPAN><SPAN lang=EN-US>True</SPAN><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">，这个问题还是以后再找机会跟大家详细探讨吧。</SPAN></P>
<P class=MsoNormal style="TEXT-INDENT: 21pt; TEXT-ALIGN: left; mso-char-indent-count: 2.0" align=left><SPAN lang=EN-US>storageProvider</SPAN><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">定义了上下文配置节中的存储提供程序。它的</SPAN><SPAN lang=EN-US>type</SPAN><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">属性指定了存储提供程序的类型，分别可以是</SPAN><SPAN lang=EN-US>XML</SPAN><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">、</SPAN><SPAN lang=EN-US>SQL</SPAN><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">数据库等。到这里我们不能全部记住它们并不重要，只要用之前提到的企业库配置工具就可以从下拉列表框中选取了。取了</SPAN><SPAN lang=EN-US>type</SPAN><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">和</SPAN><SPAN lang=EN-US>name</SPAN><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">属性以外，其它的附加属性可能会因为</SPAN><SPAN lang=EN-US>type</SPAN><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">的选择而不一样，但附加属性的目的都是为了指定具体配置内容的&#8220;路径&#8221;，这里就不一一阐述了。例子中的</SPAN><SPAN lang=EN-US>path</SPAN><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">属性指的是</SPAN><SPAN lang=EN-US>type</SPAN><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">选择为</SPAN><SPAN lang=EN-US>XML</SPAN><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">后具体配置内容所存放的</SPAN><SPAN lang=EN-US>XML</SPAN><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">文件的路径。</SPAN></P>
<P class=MsoNormal style="TEXT-INDENT: 21pt; TEXT-ALIGN: left; mso-char-indent-count: 2.0" align=left><SPAN lang=EN-US>dataTransformer</SPAN><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">定义了上下文配置节中的转换器。它跟</SPAN><SPAN lang=EN-US>storageProvider</SPAN><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">组成配置元数据的核心部分。转换器的作用在前面已经讨论过了，而且属性跟</SPAN><SPAN lang=EN-US>storageProvider</SPAN><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">也相似，我们就不再罗嗦了。</SPAN></P>
<P class=MsoNormal style="TEXT-INDENT: 21pt; TEXT-ALIGN: left; mso-char-indent-count: 2.0" align=left><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">需要指出的是，上边的配置元数据我们很少会自己敲代码，因为微软已经为我们提供了一个非常不错的企业库配置工具</SPAN><SPAN lang=EN-US>Enterprise Library Configuration</SPAN><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">。使用它，我们可以方便快捷地完成所有应用程序块的相关配置工作并把配置元数据保存到</SPAN><SPAN lang=EN-US>App.config</SPAN><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">或</SPAN><SPAN lang=EN-US>Web.config</SPAN><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">文件中。</SPAN></P>
<P class=MsoNormal style="TEXT-INDENT: 21pt; TEXT-ALIGN: left; mso-char-indent-count: 2.0" align=left><SPAN lang=EN-US><o:p></o:p></SPAN></P>
<P class=MsoNormal style="TEXT-ALIGN: left" align=left><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'"><BR><STRONG>最后，来简单地体验一下配置管理应用程序块</STRONG></SPAN><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'"><STRONG>的使用。</STRONG></SPAN></P>
<P class=MsoNormal style="TEXT-INDENT: 21pt; TEXT-ALIGN: left; mso-char-indent-count: 2.0" align=left><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">第一步，配置好配置元数据（必须配置好存储提供程序和转换器）。这里一定要搞清楚概念，配置管理应用程序块本身也是要配置好才能工作的，而</SPAN><SPAN lang=EN-US>Enterprise Library Configuration</SPAN><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">是微软提供让我们可以快速做好配置工作的工具。关于</SPAN><SPAN lang=EN-US>Enterprise Library Configuration</SPAN><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">的使用方法请参照</SPAN><SPAN lang=EN-US>DAAB</SPAN><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">的配置工作：</SPAN><SPAN lang=EN-US><A href="http://Ryu666.cnblogs.com/archive/2005/11/07/270350.html">http://ryu666.cnblogs.com/archive/2005/11/07/270350.html</A></SPAN></P>
<P class=MsoNormal style="TEXT-INDENT: 21pt; TEXT-ALIGN: left; mso-char-indent-count: 2.0" align=left><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">第二步，进行读</SPAN><SPAN lang=EN-US>/</SPAN><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">写操作。我们知道配置管理应用程序块即可以读写值类型的对象又可以读写引用类型的对象，只要对象是可序列化就行了。</SPAN></P>
<P class=MsoNormal style="TEXT-ALIGN: left" align=left><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">值类型对象的写操作请看下边例程：</SPAN></P>
<P class=MsoNormal style="TEXT-ALIGN: left" align=left>
<P class=MsoNormal style="TEXT-ALIGN: left" align=left><SPAN lang=EN-US></SPAN></P><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">
<P></P>
<DIV style="BORDER-RIGHT: #cccccc 1px solid; PADDING-RIGHT: 5px; BORDER-TOP: #cccccc 1px solid; PADDING-LEFT: 4px; FONT-SIZE: 13px; PADDING-BOTTOM: 4px; BORDER-LEFT: #cccccc 1px solid; WIDTH: 98%; WORD-BREAK: break-all; PADDING-TOP: 4px; BORDER-BOTTOM: #cccccc 1px solid; BACKGROUND-COLOR: #eeeeee"><IMG src="http://www.cnblogs.com/images/OutliningIndicators/None.gif" align=top><SPAN style="COLOR: #0000ff">string</SPAN><SPAN style="COLOR: #000000">&nbsp;serverName</SPAN><SPAN style="COLOR: #000000">=</SPAN><SPAN style="COLOR: #000000">&#8221;MyServer&#8221;;<BR><IMG src="http://www.cnblogs.com/images/OutliningIndicators/None.gif" align=top><BR><IMG src="http://www.cnblogs.com/images/OutliningIndicators/None.gif" align=top>ConfigurationManager.WriteConfiguration(&#8220;SalesData&#8221;,servername);<BR><IMG src="http://www.cnblogs.com/images/OutliningIndicators/None.gif" align=top></SPAN></DIV>
<P class=MsoNormal style="TEXT-ALIGN: left" align=left><BR>&nbsp;&nbsp;&nbsp; 这个不用多说明了吧，一眼就能看得出配置管理应用程序块的写配置操作是通过</SPAN><SPAN lang=EN-US>ConfigurationManager</SPAN><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">对象的</SPAN><SPAN lang=EN-US>WriteConfiguration</SPAN><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">静态方法来实现的，参数就是需要写入的配置节名称</SPAN><SPAN lang=EN-US>(name</SPAN><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">属性</SPAN><SPAN lang=EN-US>)</SPAN><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">和需要写入的内容，就那么简单。引用类型对象的写操作其实也是一样的，只是需要先定义写入的对象类，然后给对象赋值，最后才写入。</SPAN></P>
<P class=MsoNormal style="TEXT-INDENT: 21pt; TEXT-ALIGN: left; mso-char-indent-count: 2.0" align=left><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">需要注意两点：其一，整个配置节的数据将被覆盖。其二，配置元数据中必需包含写入的配置节的定义。</SPAN></P>
<P class=MsoNormal style="TEXT-INDENT: 21pt; TEXT-ALIGN: left; mso-char-indent-count: 2.0" align=left><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">我们再看看读配置数据。同样我们也拿读值类型对象来做例子，读引用类型对象也是雷同的。</SPAN></P>
<P class=MsoNormal style="TEXT-ALIGN: left" align=left><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'"></P>
<DIV style="BORDER-RIGHT: #cccccc 1px solid; PADDING-RIGHT: 5px; BORDER-TOP: #cccccc 1px solid; PADDING-LEFT: 4px; FONT-SIZE: 13px; PADDING-BOTTOM: 4px; BORDER-LEFT: #cccccc 1px solid; WIDTH: 98%; WORD-BREAK: break-all; PADDING-TOP: 4px; BORDER-BOTTOM: #cccccc 1px solid; BACKGROUND-COLOR: #eeeeee"><IMG src="http://www.cnblogs.com/images/OutliningIndicators/None.gif" align=top><SPAN style="COLOR: #0000ff">string</SPAN><SPAN style="COLOR: #000000">&nbsp;serverName&nbsp;</SPAN><SPAN style="COLOR: #000000">=</SPAN><SPAN style="COLOR: #000000">&nbsp;(</SPAN><SPAN style="COLOR: #0000ff">string</SPAN><SPAN style="COLOR: #000000">)ConfigurationManager.GetConfiguration(</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">SalesData</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">);&nbsp;</SPAN></DIV>
<P class=MsoNormal style="TEXT-ALIGN: left" align=left><BR>&nbsp;&nbsp;&nbsp; 由此可见，我们一行代码便完成了配置数据的读取。复杂的实现逻辑已经被企业库封装起来了，我们需要做的只是简单配置。</SPAN></P>
<P class=MsoNormal style="TEXT-INDENT: 21pt; TEXT-ALIGN: left; mso-char-indent-count: 2.0" align=left><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">因为昨天写了一半睡着了，所以这篇东西分了两天来写，再加上本人的认识有限，描述不当之处望前辈们批评指正。到此就搁笔了，谢谢阅读。</SPAN></P></FONT></SPAN><img src ="http://www.cnblogs.com/Ryu666/aggbug/274495.html?type=1" width = "1" height = "1" /><br><br><a href="http://news.cnblogs.com/n/42969/" target="_blank">[新闻]MySpace推自助广告平台MyAds</a><br/><a href="http://www.cnblogs.com" target="_blank">博客园首页</a>&nbsp;<a href="http://space.cnblogs.com" target="_blank">社区</a>&nbsp;<a href="http://news.cnblogs.com" target="_blank">新闻频道</a>&nbsp;<a href="http://space.cnblogs.com/group.htm" target="_blank">小组</a>&nbsp;<a href="http://space.cnblogs.com/q" target="_blank">博问</a>&nbsp;<a href="http://wz.cnblogs.com/" target="_blank">网摘</a>&nbsp;<a href="http://space.cnblogs.com/ing" target="_blank">闪存</a>]]></description></item></channel></rss>