﻿<?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>博客园-Rickie Lee's blog</title><link>http://www.cnblogs.com/rickie/</link><description>我是Rickie，毕业于上海交大，一直从事.NET平台上相关技术的开发、研究，多年服务于B2C 电子商务领域，包括前台、后台及仓库管理系统的业务流程分析、开发设计与实施。 现在正式加盟 - http://www.entlib.com协力创建基于.NET的开源电子商务系统。MSN：rickiechina@hotmail.com  -- 欢迎交流！</description><language>zh-cn</language><lastBuildDate>Wed, 10 Feb 2010 06:33:22 GMT</lastBuildDate><pubDate>Wed, 10 Feb 2010 06:33:22 GMT</pubDate><ttl>60</ttl><item><title>创业第三个月小结</title><link>http://www.cnblogs.com/rickie/archive/2010/02/01/1660883.html</link><dc:creator>Rickie</dc:creator><author>Rickie</author><pubDate>Mon, 01 Feb 2010 03:38:00 GMT</pubDate><guid>http://www.cnblogs.com/rickie/archive/2010/02/01/1660883.html</guid><description><![CDATA[<p>阅读: 2789 评论: 17 作者: <a href="http://www.cnblogs.com/rickie/" target="_blank">Rickie</a> 发表于 2010-02-01 11:38 <a href="http://www.cnblogs.com/rickie/archive/2010/02/01/1660883.html" target="_blank">原文链接</a></p>&nbsp; 
<p align="center"><strong><span style="font-family: 宋体">创业第三个月小结</span></strong></p>
<p>&nbsp;</p>
<p><span style="font-family: 宋体">这段时间，和现有的一些客户和潜在的客户进行了交流和沟通，总结了一些客户的反馈意见，下决心对整个</span>entlib.com<span style="font-family: 宋体">电子商务系统的前台购物平台进行了全面的重构（新版本为</span>v2.5<span style="font-family: 宋体">），采用</span>DIV/CSS<span style="font-family: 宋体">技术替换了原来的</span>table <span style="font-family: 宋体">布局，因为所有页面及控件都需要更新，工作量相当而言较大。不过，在大家的共同努力下，目前已经完成了全部的工作，包括测试，已经更新了在线演示系统</span> <a href="http://demo.entlib.com/" target="_blank">http://demo.entlib.com/</a> <span style="font-family: 宋体">，欢迎各位体验。近期会提供新版本的免费下载。</span></p>
<p>&nbsp;</p>
<p><span style="font-family: 宋体">同时对电子商务系统进行了其他方面的改进，如用户体验、缓存、性能提升、主题模板切换等等。</span></p>
<p>&nbsp;</p>
<p><span style="font-family: 宋体">另外，还有一些技术方面的网友，经常询问是否开源的话题？</span></p>
<p>-- 我们已经提供了一些开源的系统，如开源entlib论坛系统、开源ASP.NET博客系统。</p>
<p><span style="font-family: 宋体">其实，是否开源不是任何公司的目标，没有一家公司会高薪养着技术人员为人民服务。公司的目标是生存和发展，只有能够存活，才能够进一步提供更好的产品和服务。是否开源以及如何开源，公司还会进一步考虑。</span></p>
<p>&nbsp;</p>
<p><span style="font-family: 宋体">目前</span>Sun<span style="font-family: 宋体">公司被</span>Oracle <span style="font-family: 宋体">收购（坚持开源的被坚持不开源的收购），</span>Sun <span style="font-family: 宋体">赢得了声誉和没有带来任何价值的市场和客户，却没有赢得利益。</span></p>
<p><span style="font-family: 宋体">假设每个</span>MySQL<span style="font-family: 宋体">的客户，仅仅支付</span>10$ <span style="font-family: 宋体">的</span>License<span style="font-family: 宋体">费用，估计</span>Sun <span style="font-family: 宋体">也不是今天的结局。</span></p>
<p>&nbsp;</p>
<p><strong><span style="font-family: 宋体">言归正传，说说</span>EntLib eCommerce System v2.5</strong><strong><span style="font-family: 宋体">的主要改进：</span></strong></p>
<p>1. <span style="font-family: 宋体">采用</span>DIV/CSS <span style="font-family: 宋体">将前台购物系统进行重构。</span></p>
<p>2. <span style="font-family: 宋体">减少前台购物平台中过多的弹出窗口，采用页面跳转方式，提高友好的客户购物体验。</span></p>
<p>3. <span style="font-family: 宋体">对导航菜单进行改进，是导航菜单更加简洁和直观，并且可折叠。</span></p>
<p>4. <span style="font-family: 宋体">前台购物系统增加缓存</span> cache<span style="font-family: 宋体">的使用，增强前台购物网站的性能。同时，升级</span> Enterprise Library <span style="font-family: 宋体">企业库到最新版本</span> v4.1<span style="font-family: 宋体">。</span></p>
<p>5. <span style="font-family: 宋体">对前台购物平台的一些栏目也进行了改进，如右侧的热门产品列表、客户最近浏览的产品列表、购物车等等。</span></p>
<p>6. <span style="font-family: 宋体">针对产品明细页面，采用了</span>jQuery<span style="font-family: 宋体">及其插件</span>jqzoom <span style="font-family: 宋体">改进产品图片的预览效果，提升客户的体验。</span></p>
<p><span style="font-family: 宋体">
<div align="center"><img border="0" alt="" src="http://images.cnblogs.com/cnblogs_com/rickie/ec/entlib_productdetail_2.gif" width="680" height="450" /></div></span>
<p>&nbsp;</p>
<p><span style="font-family: 'Arial', 'sans-serif'; color: #3b3e39; font-size: 10pt"></span></p>
<p><span style="font-family: 宋体">为了方便客户的定制化开发工作，我们的电子商务小组随后将提供相关的定制化开发文档。</span></p>
<p>&nbsp;</p>
<p><span style="font-family: 宋体">针对一些客户经常询问的模板问题，其实在</span>ASP.NET<span style="font-family: 宋体">平台下，很容易进行模板的切换。我们对</span>CSS<span style="font-family: 宋体">也根据不同的用途进行了分类，方便后期定制化开发。 
<div align="center"><img border="0" alt="" src="http://images.cnblogs.com/cnblogs_com/rickie/ec/entlib_ecommerce_theme.gif" width="500" height="650" /></div></span>
<p>&nbsp;</p>
<p>&nbsp;</p> <img src="http://www.cnblogs.com/rickie/aggbug/1660883.html?type=1" width="1" height="1" alt=""/><p>评论: 17　<a href="http://www.cnblogs.com/rickie/archive/2010/02/01/1660883.html#pagedcomment" target="_blank">查看评论</a>　<a href="http://www.cnblogs.com/rickie/archive/2010/02/01/1660883.html#commentform" target="_blank">发表评论</a></p><hr/><p>最新新闻：<br/>· <a href="http://news.cnblogs.com/n/56838/" target="_blank">谷歌联合创始人谈Buzz：可以分享实时位置</a><span style="color:gray">(2010-02-10 14:28)</span><br/>· <a href="http://news.cnblogs.com/n/56837/" target="_blank">Android命名 冻酸奶之后是姜饼</a><span style="color:gray">(2010-02-10 14:11)</span><br/>· <a href="http://news.cnblogs.com/n/56836/" target="_blank">MySpace中国全面转型：欲争夺数字音乐版权</a><span style="color:gray">(2010-02-10 14:02)</span><br/>· <a href="http://news.cnblogs.com/n/56835/" target="_blank">王冉：中国会成全球最大移动互联网市场</a><span style="color:gray">(2010-02-10 13:42)</span><br/>· <a href="http://news.cnblogs.com/n/56833/" target="_blank">冷静，社交游戏！</a><span style="color:gray">(2010-02-10 13:38)</span><br/></p><p>编辑推荐：<a href="http://news.cnblogs.com/n/56829/" target="_blank">.NET Reflector即将商业化</a><br/></p><p>网站导航：<a href="http://www.cnblogs.com" target="_blank">博客园首页</a>&nbsp;&nbsp;<a href="http://home.cnblogs.com/" target="_blank">个人主页</a>&nbsp;&nbsp;<a href="http://news.cnblogs.com" target="_blank">新闻</a>&nbsp;&nbsp;<a href="http://home.cnblogs.com/ing/" target="_blank">闪存</a>&nbsp;&nbsp;<a href="http://home.cnblogs.com/group/" target="_blank">小组</a>&nbsp;&nbsp;<a href="http://space.cnblogs.com/q/" target="_blank">博问</a>&nbsp;&nbsp;<a href="http://space.cnblogs.com" target="_blank">社区</a>&nbsp;&nbsp;<a href="http://kb.cnblogs.com" target="_blank">知识库</a></p>]]></description></item><item><title>创业第二个月小结</title><link>http://www.cnblogs.com/rickie/archive/2009/12/24/1631221.html</link><dc:creator>Rickie</dc:creator><author>Rickie</author><pubDate>Thu, 24 Dec 2009 03:01:00 GMT</pubDate><guid>http://www.cnblogs.com/rickie/archive/2009/12/24/1631221.html</guid><description><![CDATA[<p>阅读: 3001 评论: 46 作者: <a href="http://www.cnblogs.com/rickie/" target="_blank">Rickie</a> 发表于 2009-12-24 11:01 <a href="http://www.cnblogs.com/rickie/archive/2009/12/24/1631221.html" target="_blank">原文链接</a></p>&nbsp; 
<p align="center"><strong><span style="font-family: 宋体">创业第二个月小结</span></strong></p>
<p>&nbsp;</p>
<p><span style="font-family: 宋体">这是加入创业团队的第二个月了，简要写写这个月的一些心得和工作小结。希望给正在创业的，或有创业骚动的朋友一些启示。</span></p>
<p>&nbsp;</p>
<p><strong>1. </strong><strong><span style="font-family: 宋体">不仅既当爹，又当妈，还要当爷爷奶奶。</span></strong></p>
<p><span style="font-family: 宋体">创业初期，为了控制成本，我们对人手控制得很紧，每个人需要做很多不同类型的工作，就是既要当爹，还要当妈，还要当爷爷奶奶的这种。</span></p>
<p>&nbsp;</p>
<p><span style="font-family: 宋体">我们主要涉足的是</span>B2C<span style="font-family: 宋体">电子商务解决方案，包括前台购物网站、后台业务处理系统、还有</span>RMA<span style="font-family: 宋体">售后系统、</span>WMS<span style="font-family: 宋体">仓库管理系统等等。</span></p>
<p>&nbsp;</p>
<p><span style="font-family: 宋体">本来，我以前只关注项目管理、系统架构设计、数据库和业务逻辑的开发设计，一直都没有关注</span> UI<span style="font-family: 宋体">（用户界面）方面的工作。这次，也不得不亲自操刀做起页面设计来。买了好几本</span>CSS/DIV<span style="font-family: 宋体">、</span>jQuery<span style="font-family: 宋体">方面的</span> UI <span style="font-family: 宋体">设计书籍，临时抱佛脚，开始</span> UI <span style="font-family: 宋体">设计工作。</span></p>
<p>&nbsp;</p>
<p><span style="font-family: 宋体">幸好在大学读书的时候，曾兼职做过</span>Dreamweaver / Fireworks/ Flash <span style="font-family: 宋体">（当时流行的网页设计三剑客）的培训老师，多少有点设计方面的基础知识，加上还有一定的学习能力（呵呵～～～），总算完成了网站</span>UI<span style="font-family: 宋体">设计工作。当然来自网友的批评意见也不少，我自己也不满意。这段时间，先凑合吧。</span></p>
<p>&nbsp;</p>
<p><span style="font-family: 宋体">其实，不仅仅是</span>UI<span style="font-family: 宋体">设计工作，还包括和用户的沟通、网站推广等等</span>&#8230;.. <span style="font-family: 宋体">很多其他方面的工作。</span></p>
<p>&nbsp;</p>
<p><span style="font-family: 宋体">这从另外一个角度来讲，创业需要有比较全面的知识和快速的学习能力，同时这也是对个人能力的一个全面锻炼。</span></p>
<p>&nbsp;</p>
<p><span style="font-family: 宋体">第二个月的主要工作是将电子商务系统的前台、后台在线演示系统上线了，这样可以给客户更多直接的体验。同时，还完成了电子商务系统后台的业务操作手册的编写。</span></p>
<p>&nbsp;</p>
<p><span style="font-family: 宋体">本来是想在有时间的时候，深入研究一下</span>BizTalk <span style="font-family: 宋体">和交流、分享</span>SQL Service Broker<span style="font-family: 宋体">的消息机制的应用，看来需要延后一些时间了。</span></p>
<p>&nbsp;</p>
<p><strong>2. </strong><strong><span style="font-family: 宋体">追随自己的内心和直觉，做自己想做的和喜欢做的事情。</span></strong></p>
<p>&nbsp;</p>
<p><span style="font-family: 宋体">走在创业的路上，正如李开复所说，不要只是</span>live your life(<span style="font-family: 宋体">过一生</span>)<span style="font-family: 宋体">，而是</span>lead your life(<span style="font-family: 宋体">引领人生</span>)<span style="font-family: 宋体">。</span></p>
<p>&nbsp;</p>
<p><span style="font-family: 宋体">大家都知道创业很艰难，风险也很大。因此，我也不敢邀请朋友一起创业，很多朋友都是靠每个月的薪水养家糊口，担心他们承受不了失败的风险；另外，创业还需要有激情和持久、主动的心态。</span></p>
<p>&nbsp;</p>
<p><span style="font-family: 宋体">当然，我也不是一想到就来做的，我也分析了自己的优势和劣势，机会和风险，并且做最坏的打算，自己还是可以接受的。</span></p>
<p>&nbsp;</p>
<p><span style="font-family: 宋体">现在好多业界大佬（苹果的</span>Steve Jobs(<span style="font-family: 宋体">乔布斯</span>)<span style="font-family: 宋体">、李开复、开心网程炳皓）都说：要有勇气来追随你的内心和直觉，做自己想做的和喜欢做的事情。</span></p>
<p>&nbsp;</p>
<p><span style="font-family: 宋体">其实，之前我也一直都犹豫，没有勇气。只是，前段时间被别人推了一把，才走上了创业这条路（呵呵～～）。</span></p>
<p>&nbsp;</p>
<p><span style="font-family: 宋体">我自己很享受创业这个过程，甚至觉得过程比结果更重要，就算以后失败了，我也会这样说。失败了，我也不会后悔，失败也是很好的经验和人生体验。如同读大学、谈恋爱一样，创业也是一种新的人生经历。如果没有创业，我或许在老了的时候，会后悔年轻的时候为什么不试试呢。</span></p>
<p>&nbsp;</p>
<p><strong>Rickie Li</strong></p>
<p><a href="http://www.entlib.com/" target="_blank">http://www.entlib.com/</a></p>
<p>MSN<span style="font-family: 宋体">：</span> <a href="&#109;&#97;&#105;&#108;&#116;&#111;&#58;&#114;&#105;&#99;&#107;&#105;&#101;&#99;&#104;&#105;&#110;&#97;&#64;&#104;&#111;&#116;&#109;&#97;&#105;&#108;&#46;&#99;&#111;&#109;" target="_blank">rickiechina@hotmail.com</a></p>
<p>&nbsp;</p><img src="http://www.cnblogs.com/rickie/aggbug/1631221.html?type=1" width="1" height="1" alt=""/><p>评论: 46　<a href="http://www.cnblogs.com/rickie/archive/2009/12/24/1631221.html#pagedcomment" target="_blank">查看评论</a>　<a href="http://www.cnblogs.com/rickie/archive/2009/12/24/1631221.html#commentform" target="_blank">发表评论</a></p><hr/><p>最新新闻：<br/>· <a href="http://news.cnblogs.com/n/56838/" target="_blank">谷歌联合创始人谈Buzz：可以分享实时位置</a><span style="color:gray">(2010-02-10 14:28)</span><br/>· <a href="http://news.cnblogs.com/n/56837/" target="_blank">Android命名 冻酸奶之后是姜饼</a><span style="color:gray">(2010-02-10 14:11)</span><br/>· <a href="http://news.cnblogs.com/n/56836/" target="_blank">MySpace中国全面转型：欲争夺数字音乐版权</a><span style="color:gray">(2010-02-10 14:02)</span><br/>· <a href="http://news.cnblogs.com/n/56835/" target="_blank">王冉：中国会成全球最大移动互联网市场</a><span style="color:gray">(2010-02-10 13:42)</span><br/>· <a href="http://news.cnblogs.com/n/56833/" target="_blank">冷静，社交游戏！</a><span style="color:gray">(2010-02-10 13:38)</span><br/></p><p>编辑推荐：<a href="http://news.cnblogs.com/n/56829/" target="_blank">.NET Reflector即将商业化</a><br/></p><p>网站导航：<a href="http://www.cnblogs.com" target="_blank">博客园首页</a>&nbsp;&nbsp;<a href="http://home.cnblogs.com/" target="_blank">个人主页</a>&nbsp;&nbsp;<a href="http://news.cnblogs.com" target="_blank">新闻</a>&nbsp;&nbsp;<a href="http://home.cnblogs.com/ing/" target="_blank">闪存</a>&nbsp;&nbsp;<a href="http://home.cnblogs.com/group/" target="_blank">小组</a>&nbsp;&nbsp;<a href="http://space.cnblogs.com/q/" target="_blank">博问</a>&nbsp;&nbsp;<a href="http://space.cnblogs.com" target="_blank">社区</a>&nbsp;&nbsp;<a href="http://kb.cnblogs.com" target="_blank">知识库</a></p>]]></description></item><item><title>{SmartAssembly} – 混淆你的程序集代码使用向导</title><link>http://www.cnblogs.com/rickie/archive/2009/11/13/1602239.html</link><dc:creator>Rickie</dc:creator><author>Rickie</author><pubDate>Fri, 13 Nov 2009 00:53:00 GMT</pubDate><guid>http://www.cnblogs.com/rickie/archive/2009/11/13/1602239.html</guid><description><![CDATA[<p>阅读: 2350 评论: 25 作者: <a href="http://www.cnblogs.com/rickie/" target="_blank">Rickie</a> 发表于 2009-11-13 08:53 <a href="http://www.cnblogs.com/rickie/archive/2009/11/13/1602239.html" target="_blank">原文链接</a></p>&nbsp; 
<p align="center"><strong>{SmartAssembly} &#8211; </strong><strong><span style="font-family: 宋体">混淆你的程序集代码使用向导</span></strong></p>
<p>&nbsp;&nbsp;</p>
<p>SmartAssembly <span style="font-family: 宋体">提供了一种用于优化和混淆你的</span> .NET <span style="font-family: 宋体">程序集，保护你的作品和软件，减小分发包的大小，提高程序性能。</span>Visual Studio 2003/2005/2008 <span style="font-family: 宋体">都集成了一个</span>Dotfuscator <span style="font-family: 宋体">社区版的小工具，功能很简单，使用也比较方便，具体操作可参考如下的文章：</span><span style="font-family: 'Arial', 'sans-serif'; color: #3b3e39; font-size: 9pt"><a href="http://forum.entlib.com/Default.aspx?g=posts&amp;t=656" target="_blank"><span style="color: #41519a; text-decoration: none; text-underline: none">Visual Studio 2008 </span><span style="font-family: 宋体; color: #41519a; text-decoration: none; text-underline: none">中</span><span style="color: #41519a; text-decoration: none; text-underline: none">Dotfuscator</span><span style="font-family: 宋体; color: #41519a; text-decoration: none; text-underline: none">的使用</span></a></span></p>
<p>&nbsp;</p>
<p><span style="font-family: 宋体">这里，演示</span>SmartAssembly <span style="font-family: 宋体">混淆工具的使用，该工具功能比较强（</span><a href="http://www.smartassembly.com/" target="_blank"><span style="color: windowtext; text-decoration: none; text-underline: none">http://www.smartassembly.com</a> </span><span style="font-family: 宋体">），已经被</span>RedGate<span style="font-family: 宋体">收购了，感兴趣的朋友可以去下载。下面介绍具体的操作过程。</span></p>
<p>&nbsp;</p>
<p>1. <span style="font-family: 宋体">启动</span>SmartAssembly <span style="font-family: 宋体">应用程序，进入主界面，点击</span>New Project <span style="font-family: 宋体">按钮，创建一个新的项目。</span></p>
<p><span style="font-family: 宋体">
<div align="center"><img border="0" alt="" src="http://images.cnblogs.com/cnblogs_com/rickie/SmartAssembly_1.gif" width="804" height="533" /></div></span></p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>2. <span style="font-family: 宋体">选择需要改进和保护的主程序集，可以为</span>Windows Forms <span style="font-family: 宋体">应用程序、</span>WPF<span style="font-family: 宋体">应用程序、</span>Console <span style="font-family: 宋体">控制台程序、</span>DLL<span style="font-family: 宋体">程序集、</span>ASP.NET Web <span style="font-family: 宋体">应用程序等等。</span></p>
<p>&nbsp;</p>
<p><span style="font-family: 宋体">这里，我具体演示如何对一个</span>ASP.NET Web <span style="font-family: 宋体">应用进行保护。点击</span> Browse Assembly <span style="font-family: 宋体">按钮，选择</span>Web <span style="font-family: 宋体">应用程序编译完成的程序集。</span></p>
<p>
<div align="center"><img border="0" alt="" src="http://images.cnblogs.com/cnblogs_com/rickie/SmartAssembly_2.gif" width="769" height="497" /></div>&nbsp;</p>
<p>3. <span style="font-family: 宋体">在选择好主程序集后，然后回到</span>SmartAssembly<span style="font-family: 宋体">程序界面，如下图所示。设置经过</span>SmartAssembly<span style="font-family: 宋体">处理之后的程序集存放的位置。通过点击</span>Set Destination <span style="font-family: 宋体">按钮，进行设置。</span></p>
<p>&nbsp;</p>
<p>
<div align="center"><img border="0" alt="" src="http://images.cnblogs.com/cnblogs_com/rickie/SmartAssembly_3.gif" width="769" height="463" /></div>&nbsp;</p>
<p>4. <span style="font-family: 宋体">下面逐一设置</span>SmartAssembly<span style="font-family: 宋体">的程序参数。第一个是</span>Dependencies Merging<span style="font-family: 宋体">，设置主程序集依赖的其他相关程序集。</span></p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p><span style="font-family: 宋体">
<div align="center"><img border="0" alt="" src="http://images.cnblogs.com/cnblogs_com/rickie/SmartAssembly_4.gif" width="788" height="860" /></div>对于本范例而言，选择依赖的</span>BIZ / DAC / Entity / Common <span style="font-family: 宋体">四个依赖程序集。比较神奇的是，这些依赖的程序集会合并到主程序集中，这样在发布的时候，只需要发布主程序即可，依赖程序集都不需要一起发布了。</span></p>
<p>&nbsp;</p>
<p><span style="font-family: 宋体">另外，建议不要选择第三方的程序集，如下图所示，我们不需要选择</span> Enterprise Library <span style="font-family: 宋体">相关的程序集。这样，在发布应用程序时，则需要保护第三方的程序集。</span></p>
<p>
<div align="center"><img border="0" alt="" src="http://images.cnblogs.com/cnblogs_com/rickie/SmartAssembly_5.gif" width="482" height="279" /></div></p>
<p>5. Pruning <span style="font-family: 宋体">精简代码，这一步将从程序集中删除一些没有用的代码和元数据。</span>SmartAssembly<span style="font-family: 宋体">将检查程序集中的代码，自动判断哪些代码是有用的，哪些代码是从不会执行到的。同时，也将移除没有用的元数据。并可以分别选择对主程序集和依赖的程序集进行精简代码操作。</span></p>
<p><span style="font-family: 宋体"></span>&nbsp;</p>
<p><span style="font-family: 宋体">这里，我没有选择任何程序集。有兴趣的朋友，可以试试。</span></p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>
<div align="center"><img border="0" alt="" src="http://images.cnblogs.com/cnblogs_com/rickie/SmartAssembly_6.gif" width="480" height="213" /></div>&nbsp;</p>
<p>6. Obfuscation <span style="font-family: 宋体">混淆代码</span></p>
<p><span style="font-family: 宋体">混淆代码是保护你的程序集最重要的方法。它将类和方法的名称更改为不可读的字符，但不会改变代码的功能，达到保护代码的目的。同时，也可以减少元数据，减小程序集的大小。</span></p>
<p>&nbsp;</p>
<p><span style="font-family: 宋体">这里，我选择主程序集和所有依赖的程序集进行混淆，如下图所示。</span></p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p><span style="font-family: 宋体">
<div align="center"><img border="0" alt="" src="http://images.cnblogs.com/cnblogs_com/rickie/SmartAssembly_7.gif" width="500" height="456" /></div>下面还有</span>Types/Methods <span style="font-family: 宋体">名称以及</span>Fields<span style="font-family: 宋体">名称的混淆设置，这里保持默认值。</span></p>
<p>&nbsp;</p>
<p><span style="font-family: 宋体">后面还有很多其他的选项，这里就逐一解释了，有兴趣的朋友可以自己看看。上述的这些设置，已经足以对发布的应用程序代码进行保护了。</span></p>
<p>&nbsp;</p>
<p>7. Build <span style="font-family: 宋体">输出混淆后的程序集</span></p>
<p>&nbsp;<span style="font-family: 宋体">点击</span>Build <span style="font-family: 宋体">按钮，就输出混淆后的程序集了，并且所有依赖的程序集都合并在一起了，这样在发布的时候，只需要发布合并后的一个程序集和第三方的程序集了。另外，你还可以看看混淆</span>/<span style="font-family: 宋体">合并后程序集的大小肯定有变小。</span></p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>
<div align="center"><img border="0" alt="" src="http://images.cnblogs.com/cnblogs_com/rickie/SmartAssembly_8.gif" width="562" height="302" /></div>CSDN <span style="font-family: 宋体">上有</span>SmartAssembly <span style="font-family: 宋体">最新版的破解版本，可以下载下来试用一下，或者直接到</span>SmartAssembly<span style="font-family: 宋体">官方网站下载一个评估版本试试。</span></p>
<p>&nbsp;</p>
<p><span style="font-family: 宋体">最后，在</span>Reflector <span style="font-family: 宋体">中看看反编译的效果。呵呵，这下反编译代码就头大了。</span></p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>
<div align="center"><img border="0" alt="" src="http://images.cnblogs.com/cnblogs_com/rickie/SmartAssembly_9.gif" width="806" height="549" /></div>&nbsp;</p>
<p><span style="font-family: 宋体">在</span>SmartAssembly<span style="font-family: 宋体">设置中，有个</span>Other Protections <span style="font-family: 宋体">的选项，你可以选择在添加一些错误的</span>metadata stream<span style="font-family: 宋体">，如下图所示，这样在使用</span>Reflector <span style="font-family: 宋体">反编译工具根本就无法打开该程序集。</span></p>
<p>
<div align="center"><img border="0" alt="" src="http://images.cnblogs.com/cnblogs_com/rickie/SmartAssembly_10.gif" width="509" height="335" /></div></p>
<p>&nbsp;</p><img src="http://www.cnblogs.com/rickie/aggbug/1602239.html?type=1" width="1" height="1" alt=""/><p>评论: 25　<a href="http://www.cnblogs.com/rickie/archive/2009/11/13/1602239.html#pagedcomment" target="_blank">查看评论</a>　<a href="http://www.cnblogs.com/rickie/archive/2009/11/13/1602239.html#commentform" target="_blank">发表评论</a></p><hr/><p>最新新闻：<br/>· <a href="http://news.cnblogs.com/n/56838/" target="_blank">谷歌联合创始人谈Buzz：可以分享实时位置</a><span style="color:gray">(2010-02-10 14:28)</span><br/>· <a href="http://news.cnblogs.com/n/56837/" target="_blank">Android命名 冻酸奶之后是姜饼</a><span style="color:gray">(2010-02-10 14:11)</span><br/>· <a href="http://news.cnblogs.com/n/56836/" target="_blank">MySpace中国全面转型：欲争夺数字音乐版权</a><span style="color:gray">(2010-02-10 14:02)</span><br/>· <a href="http://news.cnblogs.com/n/56835/" target="_blank">王冉：中国会成全球最大移动互联网市场</a><span style="color:gray">(2010-02-10 13:42)</span><br/>· <a href="http://news.cnblogs.com/n/56833/" target="_blank">冷静，社交游戏！</a><span style="color:gray">(2010-02-10 13:38)</span><br/></p><p>编辑推荐：<a href="http://news.cnblogs.com/n/56829/" target="_blank">.NET Reflector即将商业化</a><br/></p><p>网站导航：<a href="http://www.cnblogs.com" target="_blank">博客园首页</a>&nbsp;&nbsp;<a href="http://home.cnblogs.com/" target="_blank">个人主页</a>&nbsp;&nbsp;<a href="http://news.cnblogs.com" target="_blank">新闻</a>&nbsp;&nbsp;<a href="http://home.cnblogs.com/ing/" target="_blank">闪存</a>&nbsp;&nbsp;<a href="http://home.cnblogs.com/group/" target="_blank">小组</a>&nbsp;&nbsp;<a href="http://space.cnblogs.com/q/" target="_blank">博问</a>&nbsp;&nbsp;<a href="http://space.cnblogs.com" target="_blank">社区</a>&nbsp;&nbsp;<a href="http://kb.cnblogs.com" target="_blank">知识库</a></p>]]></description></item><item><title>创业心得和体会（第一篇）-- 献给有创业骚动的朋友</title><link>http://www.cnblogs.com/rickie/archive/2009/11/10/1599544.html</link><dc:creator>Rickie</dc:creator><author>Rickie</author><pubDate>Tue, 10 Nov 2009 02:01:00 GMT</pubDate><guid>http://www.cnblogs.com/rickie/archive/2009/11/10/1599544.html</guid><description><![CDATA[<p>阅读: 3249 评论: 34 作者: <a href="http://www.cnblogs.com/rickie/" target="_blank">Rickie</a> 发表于 2009-11-10 10:01 <a href="http://www.cnblogs.com/rickie/archive/2009/11/10/1599544.html" target="_blank">原文链接</a></p><p align="center"><strong><span style="font-family: 宋体">创业心得和体会（第一篇）</span>-- </strong><strong><span style="font-family: 宋体">献给有创业骚动的朋友</span></strong></p>
<p align="left">&nbsp;<br /><span style="font-family: 宋体">加盟</span><a>EntLib.com </a><span style="font-family: 宋体">创业公司的时间近</span>3<span style="font-family: 宋体">周时间，记录一下这段时间的心得和体会（本来计划是一月一次的，但这个月来得稍早了一点）：</span></p>
<p>&nbsp;1. <span style="font-family: 宋体">首先，从心理上，需要从上班的状态转换到创业的状态，虽然说说似乎很容易，但也需要一些时间。最大的差别是没有人每月给你发工资，虽然你可以说我并不缺这点钱，但你就会感觉一个月下来，是不是什么都没有做，因为你习惯了每个月的薪水，是对你一个月来工作的肯定。创业会让你体验一种新的刺激，同时也需要承受寂寞，因为你身边的多数人都是上班族，包括你的同学、朋友、家人等等。他们虽然不会反对你的行为和想法，但是他们也非常难以理解你的行为和想法。</span></p>
<p>--- <span style="font-family: 宋体">哥不是在创业，而是在体验寂寞。</span></p>
<p>&nbsp;</p>
<p>2. <span style="font-family: 宋体">创业需要考虑的是公司的生存和发展，一般在上班状态，我们不需要考虑这些问题。创业中，你会经常思考很多事情，在这个过程中，有时你对创业充满了信心，认为成功率很高；有时你会觉得有很多困难，创业前景很艰难。创业人员一定需要有激情，让你保持旺盛的斗志，就像遇到美女一样，让你的内心有一种按捺不住的冲动，这样就不是一两次挫折就可以让你心灰意冷的。</span></p>
<p>--- <span style="font-family: 宋体">哥不是在创业，而是在体验一种新的生活状态。</span></p>
<p><span style="font-family: 宋体"></span>&nbsp;</p>
<p>3. <span style="font-family: 宋体">如同在工作中经常碰到一些棘手的问题需要解决一样，经过认真分析，往往可以找到多种途径来解决。在创业过程中，如何经营和发现一些新的方法和想法来促进业务的发展，可以想象为创业者的工作和任务，如果成功解决这一问题，自然就会有相应的报酬。<br /><br /></span><span style="font-family: 宋体">其实，这个世界提供的机会和资源是很多的，就是要你静心去思考和发掘。如果看到或想到一些非常有启发性的</span>idea<span style="font-family: 宋体">，你会突然豁然开朗或感觉柳暗花明又一村。不经意间，一篇很小的文章，恰恰可以解决困扰你的一些问题。<br /><br /></span><span style="font-family: 宋体">这些天，在沉淀多年的技术积累、想法和思路，就像工作中完成了一个项目，写项目总结报告一样，现在应该是到了需要转站的时候了。我也经常对自己说，其实一切都老天爷的安排，老天爷今天让你遇见谁，你就遇见谁。世上的一切，冥冥中都是天意，自有安排，我只需要顺势而为。<br /></span><br />--- <span style="font-family: 宋体">别迷信老天爷，那只是一个传说。<br /><br /></span><span style="font-family: 宋体">简单介绍一下老天爷给我安排的工作：</span></p>
<p><span style="font-family: 宋体">提供面向</span>B2C<span style="font-family: 宋体">领域的企业级电子商务系统，功能很全面，流程也很规范，远远超出市场上一些电子商务系统。<br /><br /></span><span style="font-family: 宋体">从技术上而言，系统需要改进的地方是</span> -- <span style="font-family: 宋体">提高用户操作的体验，增强系统的可扩展性。系统是基于微软的</span>.Net <span style="font-family: 宋体">技术平台，可以查看该<a href="http://www.entlib.com/" target="_blank">电子商务系统的更详细信息</a>，</span><span style="font-family: 宋体">欢迎交流和分享。</span></p>
<p>&nbsp;</p> <img src="http://www.cnblogs.com/rickie/aggbug/1599544.html?type=1" width="1" height="1" alt=""/><p>评论: 34　<a href="http://www.cnblogs.com/rickie/archive/2009/11/10/1599544.html#pagedcomment" target="_blank">查看评论</a>　<a href="http://www.cnblogs.com/rickie/archive/2009/11/10/1599544.html#commentform" target="_blank">发表评论</a></p><hr/><p>最新新闻：<br/>· <a href="http://news.cnblogs.com/n/56838/" target="_blank">谷歌联合创始人谈Buzz：可以分享实时位置</a><span style="color:gray">(2010-02-10 14:28)</span><br/>· <a href="http://news.cnblogs.com/n/56837/" target="_blank">Android命名 冻酸奶之后是姜饼</a><span style="color:gray">(2010-02-10 14:11)</span><br/>· <a href="http://news.cnblogs.com/n/56836/" target="_blank">MySpace中国全面转型：欲争夺数字音乐版权</a><span style="color:gray">(2010-02-10 14:02)</span><br/>· <a href="http://news.cnblogs.com/n/56835/" target="_blank">王冉：中国会成全球最大移动互联网市场</a><span style="color:gray">(2010-02-10 13:42)</span><br/>· <a href="http://news.cnblogs.com/n/56833/" target="_blank">冷静，社交游戏！</a><span style="color:gray">(2010-02-10 13:38)</span><br/></p><p>编辑推荐：<a href="http://news.cnblogs.com/n/56829/" target="_blank">.NET Reflector即将商业化</a><br/></p><p>网站导航：<a href="http://www.cnblogs.com" target="_blank">博客园首页</a>&nbsp;&nbsp;<a href="http://home.cnblogs.com/" target="_blank">个人主页</a>&nbsp;&nbsp;<a href="http://news.cnblogs.com" target="_blank">新闻</a>&nbsp;&nbsp;<a href="http://home.cnblogs.com/ing/" target="_blank">闪存</a>&nbsp;&nbsp;<a href="http://home.cnblogs.com/group/" target="_blank">小组</a>&nbsp;&nbsp;<a href="http://space.cnblogs.com/q/" target="_blank">博问</a>&nbsp;&nbsp;<a href="http://space.cnblogs.com" target="_blank">社区</a>&nbsp;&nbsp;<a href="http://kb.cnblogs.com" target="_blank">知识库</a></p>]]></description></item><item><title>推荐三篇文章，分别是关于微软企业库、ASP.NET MVC以及SEO优化</title><link>http://www.cnblogs.com/rickie/archive/2009/11/06/1597360.html</link><dc:creator>Rickie</dc:creator><author>Rickie</author><pubDate>Fri, 06 Nov 2009 05:25:00 GMT</pubDate><guid>http://www.cnblogs.com/rickie/archive/2009/11/06/1597360.html</guid><description><![CDATA[<p>阅读: 504 评论: 4 作者: <a href="http://www.cnblogs.com/rickie/" target="_blank">Rickie</a> 发表于 2009-11-06 13:25 <a href="http://www.cnblogs.com/rickie/archive/2009/11/06/1597360.html" target="_blank">原文链接</a></p><p>这段时间一直在开发和完善电子商务系统（B2C eCommerce System）的前、后台业务系统（主要是代码和数据库方面的整理和优化），功能很强大，远远超过ECSHOP和SHOPEX，计划下周提供免费下载。</p>
<p>&nbsp;</p>
<p>这里先推荐一下同事们编写的三篇文章，适合不同读者阅读：</p>
<p><strong style="color: red">1. 微软企业库（Enterprise Library）-- 提供中文PDF 文档下载</strong></p>
<p><img border="0" alt="" src="http://blog.entlib.com/userfiles/entlibforum/image/logo/pnp_logo.gif" /></p>
<p>参加过微软项目开发的人都知道，所有微软合作开发的项目，都需要使用Enterprise Library，的确是很好的一套类库，并且还免费、开源，非常推荐！</p>
<p>所有在.NET 平台上的开发、设计人员，都应该了解一下微软企业库（Enterprise Library）。</p>
<p><a class="post_link" href="http://forum.entlib.com/Default.aspx?g=posts&amp;t=576" target="_blank">最新版 Enterprise Library 企业库 V4.1 中文学习手册 --- 最新提供PDF 整合文档下载！！！</a></p>
<p>&nbsp;</p>
<p><strong style="color: red">2. ASP.NET MVC 学习向导</strong></p>
<p><img border="0" alt="" src="http://blog.entlib.com/userfiles/entlibforum/image/logo/NerdDinner_Logo.png" /></p>
<p>根据《Professional ASP.NET MVC 1.0》中微软牛人Scott Guthrie 提供免费下载的第一章，一步一步演示如何通过ASP.NET MVC 1.0 正式版创建NerdDinner 范例程序。对了解如何使用最新的ASP.NET MVC 1.0框架创建Web Application 非常有帮助。&nbsp;<br /></p>
<p>&nbsp;<a class="post_link" href="http://forum.entlib.com/Default.aspx?g=posts&amp;t=476" target="_blank">一步一步学习ASP.NET MVC 1.0创建NerdDinner 范例程序 (Part 1-10) - 强烈推荐！</a></p>
<p>这篇文章适合于对ASP.NET MVC 新技术感兴趣的开发人员，因为文章内容比较多，需要2-3天时间可以读完。文章图文并茂，非常容易上手。</p>
<p>&nbsp;</p>
<p><strong style="color: red">3. SEO - 电子商务网站的快速SEO解决方案</strong></p>
<p>针对国内电子商务网站关于SEO的一些思考和建议，提供了一些常用的、简单可行的SEO行动方案。本文的大部分建议都基于SEO基本知识和我们的电子商务实践， 同时也参考业内的SEO专家文章和搜索引擎公司的官方文档。本文，对从事电子商务网站或一般个人/企业网站开发都非常有帮助。</p>
<p>&nbsp;<a class="post_link" href="http://forum.entlib.com/Default.aspx?g=posts&amp;t=644" target="_blank">电子商务网站的快速SEO解决方案 （葵花宝典 - PDF 文档下载）</a></p>
<p>&nbsp;</p>
<p>&nbsp;</p><img src="http://www.cnblogs.com/rickie/aggbug/1597360.html?type=1" width="1" height="1" alt=""/><p>评论: 4　<a href="http://www.cnblogs.com/rickie/archive/2009/11/06/1597360.html#pagedcomment" target="_blank">查看评论</a>　<a href="http://www.cnblogs.com/rickie/archive/2009/11/06/1597360.html#commentform" target="_blank">发表评论</a></p><hr/><p>最新新闻：<br/>· <a href="http://news.cnblogs.com/n/56838/" target="_blank">谷歌联合创始人谈Buzz：可以分享实时位置</a><span style="color:gray">(2010-02-10 14:28)</span><br/>· <a href="http://news.cnblogs.com/n/56837/" target="_blank">Android命名 冻酸奶之后是姜饼</a><span style="color:gray">(2010-02-10 14:11)</span><br/>· <a href="http://news.cnblogs.com/n/56836/" target="_blank">MySpace中国全面转型：欲争夺数字音乐版权</a><span style="color:gray">(2010-02-10 14:02)</span><br/>· <a href="http://news.cnblogs.com/n/56835/" target="_blank">王冉：中国会成全球最大移动互联网市场</a><span style="color:gray">(2010-02-10 13:42)</span><br/>· <a href="http://news.cnblogs.com/n/56833/" target="_blank">冷静，社交游戏！</a><span style="color:gray">(2010-02-10 13:38)</span><br/></p><p>编辑推荐：<a href="http://news.cnblogs.com/n/56829/" target="_blank">.NET Reflector即将商业化</a><br/></p><p>网站导航：<a href="http://www.cnblogs.com" target="_blank">博客园首页</a>&nbsp;&nbsp;<a href="http://home.cnblogs.com/" target="_blank">个人主页</a>&nbsp;&nbsp;<a href="http://news.cnblogs.com" target="_blank">新闻</a>&nbsp;&nbsp;<a href="http://home.cnblogs.com/ing/" target="_blank">闪存</a>&nbsp;&nbsp;<a href="http://home.cnblogs.com/group/" target="_blank">小组</a>&nbsp;&nbsp;<a href="http://space.cnblogs.com/q/" target="_blank">博问</a>&nbsp;&nbsp;<a href="http://space.cnblogs.com" target="_blank">社区</a>&nbsp;&nbsp;<a href="http://kb.cnblogs.com" target="_blank">知识库</a></p>]]></description></item><item><title>今天正式加盟 EntLib.com 公司 ～～～ 体验新的生活！</title><link>http://www.cnblogs.com/rickie/archive/2009/10/27/1590621.html</link><dc:creator>Rickie</dc:creator><author>Rickie</author><pubDate>Tue, 27 Oct 2009 05:59:00 GMT</pubDate><guid>http://www.cnblogs.com/rickie/archive/2009/10/27/1590621.html</guid><description><![CDATA[<p>阅读: 540 评论: 13 作者: <a href="http://www.cnblogs.com/rickie/" target="_blank">Rickie</a> 发表于 2009-10-27 13:59 <a href="http://www.cnblogs.com/rickie/archive/2009/10/27/1590621.html" target="_blank">原文链接</a></p><p>&nbsp;</p>
<p>好久没有更新博客了！日子过得越来越懒了！</p>
<p>现在是时候开始新的生活了，活动活动，动动筋骨了。</p>
<p>今天正式加盟 EntLib.com，专注于电子商务系统（网上商城和在线购物平台）的业务流程及系统设计、咨询和培训等等。</p>
<p>在电子商务领域沉浸了多年，从当初的.com 公司泡沫，到现在B2C在中国蓬勃发展，我也成为电子商务的资深专家了（呵呵 ～～～）。</p>
<p>当然，我仍旧会写（或整理、翻译）一些技术方面的文章，和大家交流。</p>
<p>**</p>
<p>EntLib.com （<a href="http://www.entlib.com/" target="_blank">http://www.entlib.com/</a> ）还是一家小规模的电子商务软件提供商，在孵化阶段，欢迎提意见。</p>
<p>今天，就写到这里，欢迎交流、分享。谢谢！</p>
<p><img alt="" src="http://www.cnblogs.com/Emoticons/qface/055242240.gif" /></p>
<p>&nbsp;</p><img src="http://www.cnblogs.com/rickie/aggbug/1590621.html?type=1" width="1" height="1" alt=""/><p>评论: 13　<a href="http://www.cnblogs.com/rickie/archive/2009/10/27/1590621.html#pagedcomment" target="_blank">查看评论</a>　<a href="http://www.cnblogs.com/rickie/archive/2009/10/27/1590621.html#commentform" target="_blank">发表评论</a></p><hr/><p>最新新闻：<br/>· <a href="http://news.cnblogs.com/n/56838/" target="_blank">谷歌联合创始人谈Buzz：可以分享实时位置</a><span style="color:gray">(2010-02-10 14:28)</span><br/>· <a href="http://news.cnblogs.com/n/56837/" target="_blank">Android命名 冻酸奶之后是姜饼</a><span style="color:gray">(2010-02-10 14:11)</span><br/>· <a href="http://news.cnblogs.com/n/56836/" target="_blank">MySpace中国全面转型：欲争夺数字音乐版权</a><span style="color:gray">(2010-02-10 14:02)</span><br/>· <a href="http://news.cnblogs.com/n/56835/" target="_blank">王冉：中国会成全球最大移动互联网市场</a><span style="color:gray">(2010-02-10 13:42)</span><br/>· <a href="http://news.cnblogs.com/n/56833/" target="_blank">冷静，社交游戏！</a><span style="color:gray">(2010-02-10 13:38)</span><br/></p><p>编辑推荐：<a href="http://news.cnblogs.com/n/56829/" target="_blank">.NET Reflector即将商业化</a><br/></p><p>网站导航：<a href="http://www.cnblogs.com" target="_blank">博客园首页</a>&nbsp;&nbsp;<a href="http://home.cnblogs.com/" target="_blank">个人主页</a>&nbsp;&nbsp;<a href="http://news.cnblogs.com" target="_blank">新闻</a>&nbsp;&nbsp;<a href="http://home.cnblogs.com/ing/" target="_blank">闪存</a>&nbsp;&nbsp;<a href="http://home.cnblogs.com/group/" target="_blank">小组</a>&nbsp;&nbsp;<a href="http://space.cnblogs.com/q/" target="_blank">博问</a>&nbsp;&nbsp;<a href="http://space.cnblogs.com" target="_blank">社区</a>&nbsp;&nbsp;<a href="http://kb.cnblogs.com" target="_blank">知识库</a></p>]]></description></item><item><title>CodeProject: ASP.NET Page Life Cycle</title><link>http://www.cnblogs.com/rickie/archive/2008/04/29/1175747.html</link><dc:creator>Rickie</dc:creator><author>Rickie</author><pubDate>Tue, 29 Apr 2008 02:32:00 GMT</pubDate><guid>http://www.cnblogs.com/rickie/archive/2008/04/29/1175747.html</guid><description><![CDATA[<p>阅读: 1240 评论: 0 作者: <a href="http://www.cnblogs.com/rickie/" target="_blank">Rickie</a> 发表于 2008-04-29 10:32 <a href="http://www.cnblogs.com/rickie/archive/2008/04/29/1175747.html" target="_blank">原文链接</a></p>CodeProject: ASP.NET Page Life Cycle<BR><BR><BR>This article describes the life cycle of the page from the moment the URL is hit from the web browser till the HTML code is generated and sent to the web browser. Let us start by looking at some keywords that are involved in the life cycle of the page.<BR>........<BR><BR>
<H2>Events in the life cycle of page </H2>
<P><STRONG>PreInit</STRONG>: All the Pre and Post events are introduced as part of .NET Framework 2.0. As the name suggests this event is fired before the Init method is fired. Most common functionalities implemented in this method include<BR><BR>a. Check the IsPostBack property<BR>b. Set the master page dynamically<BR>c. Set the theme property of the page dynamically<BR>d. Read or Set the profile property values.<BR>e. Re-create the dynamic controls</P>
<P><STRONG>Init</STRONG>: This event is raised after all controls in the page are initialized and any skin settings have been applied. This event is used to read or initialize control properties. It can be used to register events for some controls for which the events are not specified in the aspx page.<BR>Ex: OnClick event of the Button can be registered in the Init rather than specifying in the OnClick property of the Button in the aspx page.</P>
<P><STRONG>InitComplete</STRONG>: Use this event for processing tasks that require all initialization be complete.</P>
<P><STRONG>PreLoad</STRONG>: Use this event if you need to perform processing on your page or control before the Load event. After the Page raises this event, it loads view state for itself and all controls, and then processes any postback data included with the Request instance.</P>
<P><STRONG>Load</STRONG>: The Page calls the OnLoad event method on the Page, then recursively does the same for each child control, which does the same for each of its child controls until the page and all controls are loaded. Use the OnLoad event method to set properties in controls and establish database connections.</P>
<P><STRONG>Control events</STRONG>: Use these events to handle specific control events, such as a Button control's Click event or a TextBox control's TextChanged event.</P>
<P><STRONG>LoadComplete</STRONG>: Use this event for tasks that require that all other controls on the page be loaded.<BR></P>
<P><STRONG>PreRender</STRONG>: This is the last event raised before the HTML code is generated for the page. The PreRender event also occurs for each control on the page. Use the event to make final changes to the contents of the page or its controls.</P>
<P><STRONG>SaveStateComplete</STRONG>: Before this event occurs, ViewState has been saved for the page and for all controls. Any changes to the page or controls at this point will be ignored.<BR>Use this event perform tasks that require view state to be saved, but that do not make any changes to controls. </P>
<P><STRONG>Render</STRONG>: This is the stage where the HTML code for the page is rendered. The Page object calls the Render method of each control at this stage. All ASP.NET Web server controls have a Render method that writes out the control's markup that is sent to the browser.</P>
<P><STRONG>UnLoad</STRONG>: This event occurs for each control and then for the page. In controls, use this event to do final cleanup for specific controls, such as closing control-specific database connections.<BR>For the page itself, use this event to do final cleanup work, such as closing open files and database connections, or finishing up logging or other request-specific tasks. <BR><BR></P><!-- Article Ends --><!-- Main Page Contents End -->
<FORM id=aspnetForm style="PADDING-RIGHT: 0px; PADDING-LEFT: 0px; PADDING-BOTTOM: 0px; MARGIN: 0px; PADDING-TOP: 0px" name=aspnetForm action=PageLifeCycle.aspx method=post>
<DIV><STRONG>Source URL:</STRONG><A href="http://www.codeproject.com/KB/aspnet/PageLifeCycle.aspx"><BR>http://www.codeproject.com/KB/aspnet/PageLifeCycle.aspx</A><BR><BR></DIV></FORM><img src="http://www.cnblogs.com/rickie/aggbug/1175747.html?type=1" width="1" height="1" alt=""/><p>评论: 0　<a href="http://www.cnblogs.com/rickie/archive/2008/04/29/1175747.html#pagedcomment" target="_blank">查看评论</a>　<a href="http://www.cnblogs.com/rickie/archive/2008/04/29/1175747.html#commentform" target="_blank">发表评论</a></p><hr/><p>最新新闻：<br/>· <a href="http://news.cnblogs.com/n/56838/" target="_blank">谷歌联合创始人谈Buzz：可以分享实时位置</a><span style="color:gray">(2010-02-10 14:28)</span><br/>· <a href="http://news.cnblogs.com/n/56837/" target="_blank">Android命名 冻酸奶之后是姜饼</a><span style="color:gray">(2010-02-10 14:11)</span><br/>· <a href="http://news.cnblogs.com/n/56836/" target="_blank">MySpace中国全面转型：欲争夺数字音乐版权</a><span style="color:gray">(2010-02-10 14:02)</span><br/>· <a href="http://news.cnblogs.com/n/56835/" target="_blank">王冉：中国会成全球最大移动互联网市场</a><span style="color:gray">(2010-02-10 13:42)</span><br/>· <a href="http://news.cnblogs.com/n/56833/" target="_blank">冷静，社交游戏！</a><span style="color:gray">(2010-02-10 13:38)</span><br/></p><p>编辑推荐：<a href="http://news.cnblogs.com/n/56829/" target="_blank">.NET Reflector即将商业化</a><br/></p><p>网站导航：<a href="http://www.cnblogs.com" target="_blank">博客园首页</a>&nbsp;&nbsp;<a href="http://home.cnblogs.com/" target="_blank">个人主页</a>&nbsp;&nbsp;<a href="http://news.cnblogs.com" target="_blank">新闻</a>&nbsp;&nbsp;<a href="http://home.cnblogs.com/ing/" target="_blank">闪存</a>&nbsp;&nbsp;<a href="http://home.cnblogs.com/group/" target="_blank">小组</a>&nbsp;&nbsp;<a href="http://space.cnblogs.com/q/" target="_blank">博问</a>&nbsp;&nbsp;<a href="http://space.cnblogs.com" target="_blank">社区</a>&nbsp;&nbsp;<a href="http://kb.cnblogs.com" target="_blank">知识库</a></p>]]></description></item><item><title>为 SQL Server 启用 AWE 内存</title><link>http://www.cnblogs.com/rickie/archive/2008/04/25/1171224.html</link><dc:creator>Rickie</dc:creator><author>Rickie</author><pubDate>Fri, 25 Apr 2008 08:15:00 GMT</pubDate><guid>http://www.cnblogs.com/rickie/archive/2008/04/25/1171224.html</guid><description><![CDATA[<p>阅读: 767 评论: 0 作者: <a href="http://www.cnblogs.com/rickie/" target="_blank">Rickie</a> 发表于 2008-04-25 16:15 <a href="http://www.cnblogs.com/rickie/archive/2008/04/25/1171224.html" target="_blank">原文链接</a></p>为 SQL Server 启用 AWE 内存<BR><BR>
<P>下面的示例显示如何激活 AWE 以及如何为 <B>min server memory</B> 配置 <TT>1</TT> GB 的限制，为 <B>max server memory</B> 配置 <TT>6</TT> GB 的限制。 </P>
<P>首先，配置 AWE：<BR>-- turn on advance configuration<BR>sp_configure 'show advanced options', 1<BR>reconfigure with override<BR>go<BR><BR>-- enable extended memory<BR>sp_configure 'awe enabled', 1<BR>reconfigure with override<BR>go<BR><BR>然后，配置内存：<BR>-- enable RAM for SQL <BR>sp_configure 'min server memory', 1024<BR>reconfigure with override<BR>go</P>
<P>sp_configure 'max server memory', 6144<BR>reconfigure with override<BR>go<BR><BR><STRONG>Reference:</STRONG><BR><A href="http://technet.microsoft.com/zh-cn/library/ms190673.aspx">http://technet.microsoft.com/zh-cn/library/ms190673.aspx</A><BR><BR><BR><BR></P><img src="http://www.cnblogs.com/rickie/aggbug/1171224.html?type=1" width="1" height="1" alt=""/><p>评论: 0　<a href="http://www.cnblogs.com/rickie/archive/2008/04/25/1171224.html#pagedcomment" target="_blank">查看评论</a>　<a href="http://www.cnblogs.com/rickie/archive/2008/04/25/1171224.html#commentform" target="_blank">发表评论</a></p><hr/><p>最新新闻：<br/>· <a href="http://news.cnblogs.com/n/56838/" target="_blank">谷歌联合创始人谈Buzz：可以分享实时位置</a><span style="color:gray">(2010-02-10 14:28)</span><br/>· <a href="http://news.cnblogs.com/n/56837/" target="_blank">Android命名 冻酸奶之后是姜饼</a><span style="color:gray">(2010-02-10 14:11)</span><br/>· <a href="http://news.cnblogs.com/n/56836/" target="_blank">MySpace中国全面转型：欲争夺数字音乐版权</a><span style="color:gray">(2010-02-10 14:02)</span><br/>· <a href="http://news.cnblogs.com/n/56835/" target="_blank">王冉：中国会成全球最大移动互联网市场</a><span style="color:gray">(2010-02-10 13:42)</span><br/>· <a href="http://news.cnblogs.com/n/56833/" target="_blank">冷静，社交游戏！</a><span style="color:gray">(2010-02-10 13:38)</span><br/></p><p>编辑推荐：<a href="http://news.cnblogs.com/n/56829/" target="_blank">.NET Reflector即将商业化</a><br/></p><p>网站导航：<a href="http://www.cnblogs.com" target="_blank">博客园首页</a>&nbsp;&nbsp;<a href="http://home.cnblogs.com/" target="_blank">个人主页</a>&nbsp;&nbsp;<a href="http://news.cnblogs.com" target="_blank">新闻</a>&nbsp;&nbsp;<a href="http://home.cnblogs.com/ing/" target="_blank">闪存</a>&nbsp;&nbsp;<a href="http://home.cnblogs.com/group/" target="_blank">小组</a>&nbsp;&nbsp;<a href="http://space.cnblogs.com/q/" target="_blank">博问</a>&nbsp;&nbsp;<a href="http://space.cnblogs.com" target="_blank">社区</a>&nbsp;&nbsp;<a href="http://kb.cnblogs.com" target="_blank">知识库</a></p>]]></description></item><item><title>SQL Server 2005: Wait Type - PAGEIOLATCH_SH</title><link>http://www.cnblogs.com/rickie/archive/2008/03/20/1114496.html</link><dc:creator>Rickie</dc:creator><author>Rickie</author><pubDate>Thu, 20 Mar 2008 03:46:00 GMT</pubDate><guid>http://www.cnblogs.com/rickie/archive/2008/03/20/1114496.html</guid><description><![CDATA[<p>阅读: 1504 评论: 0 作者: <a href="http://www.cnblogs.com/rickie/" target="_blank">Rickie</a> 发表于 2008-03-20 11:46 <a href="http://www.cnblogs.com/rickie/archive/2008/03/20/1114496.html" target="_blank">原文链接</a></p><P>PAGEIOLATCH_SH: Occurs when a task is waiting on a latch for a buffer that is in an I/O request. The latch request is in Shared mode. PAGEIOLATCH_SH waits is very brief as they are only held on a page during IO operations.</P>
<P>You can also identify I/O bottlenecks by examining the latch waits. These latch waits account for the physical I/O waits when a page is accessed for reading or writing and the page is not available in the buffer pool. When the page is not found in the buffer pool, an asynchronous I/O is posted and then the status of the I/O is checked. If I/O has already completed, the worker proceeds normally. Otherwise, it waits on PAGEIOLATCH_EX or PAGEIOLATCH_SH, depending upon the type of request. The following DMV query can be used to find I/O latch wait statistics.</P>
<P>Select&nbsp; wait_type,&nbsp; <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; waiting_tasks_count,&nbsp; <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; wait_time_ms <BR>from&nbsp;&nbsp;&nbsp; sys.dm_os_wait_stats&nbsp;&nbsp; <BR>where&nbsp;&nbsp;&nbsp; wait_type like 'PAGEIOLATCH%'&nbsp;&nbsp; <BR>order by wait_type </P>
<P>More detail information on performance probblems in SQL Server 2005, please navigate to the following article.</P>
<P>Troubleshooting Performance Problems in SQL Server 2005<BR><A href="http://www.microsoft.com/technet/prodtechnol/sql/2005/tsprfprb.mspx">http://www.microsoft.com/technet/prodtechnol/sql/2005/tsprfprb.mspx</A><BR><BR><BR><BR></P><img src="http://www.cnblogs.com/rickie/aggbug/1114496.html?type=1" width="1" height="1" alt=""/><p>评论: 0　<a href="http://www.cnblogs.com/rickie/archive/2008/03/20/1114496.html#pagedcomment" target="_blank">查看评论</a>　<a href="http://www.cnblogs.com/rickie/archive/2008/03/20/1114496.html#commentform" target="_blank">发表评论</a></p><hr/><p>最新新闻：<br/>· <a href="http://news.cnblogs.com/n/56838/" target="_blank">谷歌联合创始人谈Buzz：可以分享实时位置</a><span style="color:gray">(2010-02-10 14:28)</span><br/>· <a href="http://news.cnblogs.com/n/56837/" target="_blank">Android命名 冻酸奶之后是姜饼</a><span style="color:gray">(2010-02-10 14:11)</span><br/>· <a href="http://news.cnblogs.com/n/56836/" target="_blank">MySpace中国全面转型：欲争夺数字音乐版权</a><span style="color:gray">(2010-02-10 14:02)</span><br/>· <a href="http://news.cnblogs.com/n/56835/" target="_blank">王冉：中国会成全球最大移动互联网市场</a><span style="color:gray">(2010-02-10 13:42)</span><br/>· <a href="http://news.cnblogs.com/n/56833/" target="_blank">冷静，社交游戏！</a><span style="color:gray">(2010-02-10 13:38)</span><br/></p><p>编辑推荐：<a href="http://news.cnblogs.com/n/56829/" target="_blank">.NET Reflector即将商业化</a><br/></p><p>网站导航：<a href="http://www.cnblogs.com" target="_blank">博客园首页</a>&nbsp;&nbsp;<a href="http://home.cnblogs.com/" target="_blank">个人主页</a>&nbsp;&nbsp;<a href="http://news.cnblogs.com" target="_blank">新闻</a>&nbsp;&nbsp;<a href="http://home.cnblogs.com/ing/" target="_blank">闪存</a>&nbsp;&nbsp;<a href="http://home.cnblogs.com/group/" target="_blank">小组</a>&nbsp;&nbsp;<a href="http://space.cnblogs.com/q/" target="_blank">博问</a>&nbsp;&nbsp;<a href="http://space.cnblogs.com" target="_blank">社区</a>&nbsp;&nbsp;<a href="http://kb.cnblogs.com" target="_blank">知识库</a></p>]]></description></item><item><title>SQL Server 2005: Wait Type - CXPACKET </title><link>http://www.cnblogs.com/rickie/archive/2008/03/18/1111965.html</link><dc:creator>Rickie</dc:creator><author>Rickie</author><pubDate>Tue, 18 Mar 2008 10:40:00 GMT</pubDate><guid>http://www.cnblogs.com/rickie/archive/2008/03/18/1111965.html</guid><description><![CDATA[<p>阅读: 3562 评论: 0 作者: <a href="http://www.cnblogs.com/rickie/" target="_blank">Rickie</a> 发表于 2008-03-18 18:40 <a href="http://www.cnblogs.com/rickie/archive/2008/03/18/1111965.html" target="_blank">原文链接</a></p><STRONG>Wait type - CXPACKET</STRONG>&nbsp;<BR><BR>It means&nbsp;SQL Query is&nbsp;involved in parallel query execution. This waittype indicates that the SPID is waiting on a parallel process to complete or start.<BR><BR>CXPACKET: Occurs when trying to synchronize the query processor exchange iterator. You may consider lowering the degree of parallelism if contention on this wait type becomes a problem. <BR><BR>******<BR>
<DIV class=title><STRONG>How to configure cost threshold for parallelism Option</STRONG><!----></DIV><!--Content type: DocStudio. Transform: devdiv2mtps.xslt.-->
<DIV id=mainSection>
<DIV id=mainBody><SPAN style="COLOR: darkgray"></SPAN>
<P><SPAN id=changeHistory></SPAN>
<P>Use the <B>cost threshold for parallelism</B> option to specify the threshold at which Microsoft SQL Server creates and runs parallel plans for queries. SQL Server creates and runs a parallel plan for a query only when the estimated cost to run a serial plan for the same query is higher than the value set in <B>cost threshold for parallelism</B>. The cost refers to an estimated elapsed time in seconds required to run the serial plan on a specific hardware configuration. Only set <B>cost threshold for parallelism</B> on symmetric multiprocessors.</P>
<DIV class=section id=sectionSection0>
<P>Longer queries usually benefit from parallel plans; the performance advantage negates the additional time required to initialize, synchronize, and terminate parallel plans. The <B>cost threshold for parallelism option</B> is actively used when a mix of short and longer queries is run. The short queries run serial plans, whereas the longer queries use parallel plans. The value of <B>cost threshold for parallelism </B>determines which queries are considered short, and they should therefore be run using serial plans.</P>
<P>In certain cases, a parallel plan may be chosen even though the query's cost plan is less than the current <B>cost threshold for parallelism</B> value. This can happen because the decision to use a parallel or serial plan is based on a cost estimate provided before the full optimization is complete.</P>
<P>The<B> cost threshold for parallelism</B> option can be set to any value from 0 through 32767. The default value is 5.</P>
<P>SQL Server ignores the <B>cost threshold for parallelism</B> value under the following conditions:</P>
<UL>
<LI>Your computer has only one processor.<BR>
<LI>Only a single CPU is available to SQL Server because of the <B>affinity mask</B> configuration option.<BR>
<LI>The <B>max degree of parallelism</B><B> </B>option is set to 1.<BR></LI></UL>
<P>The <B>cost threshold for parallelism</B> option is an advanced option. If you are using the <B>sp_configure</B> system stored procedure to change the setting, you can change <B>cost threshold for parallelism</B> only when <B>show advanced options</B> is set to 1. The setting takes effect immediately (without a server restart).</P></DIV>
<DIV class=MTPS_CollapsibleRegion id=ctl00_rs1_mainContentContainer_cpe400783>
<DIV class=CollapseRegionLink id=ctl00_rs1_mainContentContainer_cpe400783_h>The following example sets the cost threshold for parallelism to 10 seconds.</DIV>
<DIV class=MTPS_CollapsibleSection id=ctl00_rs1_mainContentContainer_cpe400783_c style="DISPLAY: block; OVERFLOW: visible; WIDTH: auto; HEIGHT: auto">
<DIV class=MTPS_CollapsibleSection id="" style="BORDER-RIGHT: medium none; BORDER-TOP: medium none; DISPLAY: block; BORDER-LEFT: medium none; BORDER-BOTTOM: medium none">
<P><TT>sp_configure 'show advanced options', 1;</TT> </P>
<P><TT>GO</TT> </P>
<P></P>
<P><TT>reconfigure;</TT> </P>
<P><TT>GO</TT> </P>
<P></P>
<P><TT>sp_configure 'cost threshold for parallelism', 10;</TT> </P>
<P><TT>GO</TT> </P>
<P></P>
<P><TT>reconfigure;</TT> </P>
<P><TT>GO</TT> </P>
<P></P></DIV></DIV></DIV></DIV></DIV><img src="http://www.cnblogs.com/rickie/aggbug/1111965.html?type=1" width="1" height="1" alt=""/><p>评论: 0　<a href="http://www.cnblogs.com/rickie/archive/2008/03/18/1111965.html#pagedcomment" target="_blank">查看评论</a>　<a href="http://www.cnblogs.com/rickie/archive/2008/03/18/1111965.html#commentform" target="_blank">发表评论</a></p><hr/><p>最新新闻：<br/>· <a href="http://news.cnblogs.com/n/56838/" target="_blank">谷歌联合创始人谈Buzz：可以分享实时位置</a><span style="color:gray">(2010-02-10 14:28)</span><br/>· <a href="http://news.cnblogs.com/n/56837/" target="_blank">Android命名 冻酸奶之后是姜饼</a><span style="color:gray">(2010-02-10 14:11)</span><br/>· <a href="http://news.cnblogs.com/n/56836/" target="_blank">MySpace中国全面转型：欲争夺数字音乐版权</a><span style="color:gray">(2010-02-10 14:02)</span><br/>· <a href="http://news.cnblogs.com/n/56835/" target="_blank">王冉：中国会成全球最大移动互联网市场</a><span style="color:gray">(2010-02-10 13:42)</span><br/>· <a href="http://news.cnblogs.com/n/56833/" target="_blank">冷静，社交游戏！</a><span style="color:gray">(2010-02-10 13:38)</span><br/></p><p>编辑推荐：<a href="http://news.cnblogs.com/n/56829/" target="_blank">.NET Reflector即将商业化</a><br/></p><p>网站导航：<a href="http://www.cnblogs.com" target="_blank">博客园首页</a>&nbsp;&nbsp;<a href="http://home.cnblogs.com/" target="_blank">个人主页</a>&nbsp;&nbsp;<a href="http://news.cnblogs.com" target="_blank">新闻</a>&nbsp;&nbsp;<a href="http://home.cnblogs.com/ing/" target="_blank">闪存</a>&nbsp;&nbsp;<a href="http://home.cnblogs.com/group/" target="_blank">小组</a>&nbsp;&nbsp;<a href="http://space.cnblogs.com/q/" target="_blank">博问</a>&nbsp;&nbsp;<a href="http://space.cnblogs.com" target="_blank">社区</a>&nbsp;&nbsp;<a href="http://kb.cnblogs.com" target="_blank">知识库</a></p>]]></description></item></channel></rss>