﻿<?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>博客园-可以平凡 不可以平庸 </title><link>http://www.cnblogs.com/dotnetdoor/</link><description>无爱则无忧，无欲则无求，无怒而无敌，无怨才是佛。所有烦恼，都是放不下的执著。</description><language>zh-cn</language><lastBuildDate>Sun, 05 Jul 2009 16:45:50 GMT</lastBuildDate><pubDate>Sun, 05 Jul 2009 16:45:50 GMT</pubDate><ttl>60</ttl><item><title>在你最美丽的时候，你遇见了谁？</title><link>http://www.cnblogs.com/dotnetdoor/archive/2008/11/10/1330905.html</link><dc:creator>静水流深</dc:creator><author>静水流深</author><pubDate>Mon, 10 Nov 2008 11:35:00 GMT</pubDate><guid>http://www.cnblogs.com/dotnetdoor/archive/2008/11/10/1330905.html</guid><wfw:comment>http://www.cnblogs.com/dotnetdoor/comments/1330905.html</wfw:comment><comments>http://www.cnblogs.com/dotnetdoor/archive/2008/11/10/1330905.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cnblogs.com/dotnetdoor/comments/commentRss/1330905.html</wfw:commentRss><trackback:ping>http://www.cnblogs.com/dotnetdoor/services/trackbacks/1330905.html</trackback:ping><description><![CDATA[<p style="margin: 0cm 0cm 0pt; text-indent: 14.3pt; text-align: left" align="center"><font style="font-size: 18px; font-family: 楷体_GB2312"><img style="width: 420px" alt="玩偶剧照.jpg" src="http://fm321.img.xiaonei.com/blog/20080110/10/51/A347834839401FEN.jpg" /></a>&nbsp;</font></p>
<p style="margin: 0cm 0cm 0pt; text-indent: 14.3pt; text-align: left" align="center"><font face="黑体" color="#ff6600" size="4">这个世界上有一个人会永远等着你。 </font></p>
<p style="margin: 0cm 0cm 0pt; text-indent: 14.3pt; text-align: left" align="center"><font face="黑体" color="#ff6600" size="4">无论是在什么时候 </font></p>
<p style="margin: 0cm 0cm 0pt; text-indent: 14.3pt; text-align: left" align="center"><font face="黑体" color="#ff6600" size="4">无论你在什么地方 </font></p>
<p style="margin: 0cm 0cm 0pt; text-indent: 14.3pt; text-align: left" align="center"><font face="黑体" color="#ff6600" size="4">反正你知道总会有这样一个人&#8230;</font></p>
<p style="margin: 0cm 0cm 0pt; text-indent: 14.3pt; text-align: left" align="center"><font face="黑体" color="#ff0000" size="4">世界上只有两种可以称之为浪漫的情感，</font></p>
<p style="margin: 0cm 0cm 0pt; text-indent: 14.3pt; text-align: left" align="center"><font face="黑体" color="#ff0000" size="4">一种叫相濡以沫，</font></p>
<p style="margin: 0cm 0cm 0pt; text-indent: 14.3pt; text-align: left" align="center"><font face="黑体" color="#ff0000" size="4">另一种叫相忘于江湖，</font></p>
<p style="margin: 0cm 0cm 0pt; text-indent: 14.3pt; text-align: left" align="center"><font face="黑体" color="#ff0000" size="4">我们要做的是争取和最爱的人相濡以沫，</font></p>
<p style="margin: 0cm 0cm 0pt; text-indent: 14.3pt; text-align: left" align="center"><font face="黑体" color="#ff0000" size="4">和次爱的人相忘于江湖。</font></p>
<p style="margin: 0cm 0cm 0pt; text-indent: 14.3pt; text-align: left" align="center"><font face="黑体" color="#008000" size="4">也许不是不曾心动，</font></p>
<p style="margin: 0cm 0cm 0pt; text-indent: 14.3pt; text-align: left" align="center"><font face="黑体" color="#008000" size="4">不是没有可能，只是有缘无份，</font></p>
<p style="margin: 0cm 0cm 0pt; text-indent: 14.3pt; text-align: left" align="center"><font face="黑体" color="#008000" size="4">情深缘浅，我们爱在不对的时间&#8230;&#8230;</font></p>
<p style="margin: 0cm 0cm 0pt; text-indent: 14.3pt; text-align: left" align="center"><font face="黑体"><font color="#993300" size="4">回首往事的时候, </font></font></p>
<p style="margin: 0cm 0cm 0pt; text-indent: 14.3pt; text-align: left" align="center"><font face="黑体"><font color="#993300" size="4">想起那些如流星般划过生命的爱情，</font></font></p>
<p style="margin: 0cm 0cm 0pt; text-indent: 14.3pt; text-align: left" align="center"><font face="黑体" color="#993300" size="4">我们常常会把彼此的错过归咎为缘份，</font></p>
<p style="margin: 0cm 0cm 0pt; text-indent: 14.3pt; text-align: left" align="center"><font face="黑体" color="#ffff00"><font size="4"><font color="#993300">其实说到底，缘份是那么虚幻抽象的一个概念&#8230;&#8230;</font> </font></font></p>
<p style="margin: 0cm 0cm 0pt; text-indent: 14.3pt; text-align: left" align="center"><font face="黑体" color="#0000ff" size="4">真正影响我们的，</font></p>
<p style="margin: 0cm 0cm 0pt; text-indent: 14.3pt; text-align: left" align="center"><font face="黑体" color="#0000ff" size="4">往往就是那一时三刻相遇与相爱的时机，</font></p>
<p style="margin: 0cm 0cm 0pt; text-indent: 14.3pt; text-align: left" align="center"><font face="黑体" color="#0000ff" size="4">男女之间的交往，</font></p>
<p style="margin: 0cm 0cm 0pt; text-indent: 14.3pt; text-align: left" align="center"><font face="黑体" color="#0000ff" size="4">充满了犹疑忐忑的不确定与欲言又止的矜持，</font></p>
<p style="margin: 0cm 0cm 0pt; text-indent: 14.3pt; text-align: left" align="center"><font face="黑体" color="#0000ff" size="4">一个小小的变数， </font></p>
<p style="margin: 0cm 0cm 0pt; text-indent: 14.3pt; text-align: left" align="center"><font face="黑体" color="#0000ff" size="4">就可以完全改变选择的方向。</font></p>
<p style="margin: 0cm 0cm 0pt; text-indent: 14.3pt; text-align: left" align="center"><font face="黑体" color="#993366" size="4">如果彼此出现早一点，</font></p>
<p style="margin: 0cm 0cm 0pt; text-indent: 14.3pt; text-align: left" align="center"><font face="黑体" color="#993366" size="4">也许就不会和另一个人十指紧扣，</font></p>
<p style="margin: 0cm 0cm 0pt; text-indent: 14.3pt; text-align: left" align="center"><font face="黑体" color="#993366" size="4">又或者相遇的再晚一点，</font></p>
<p style="margin: 0cm 0cm 0pt; text-indent: 14.3pt; text-align: left" align="center"><font face="黑体" color="#993366" size="4">晚到两个人在各自的爱情经历中</font></p>
<p style="margin: 0cm 0cm 0pt; text-indent: 14.3pt; text-align: left" align="center"><font face="黑体" color="#993366" size="4">慢慢地学会了包容与体谅，善待和妥协。 </font></p>
<p style="margin: 0cm 0cm 0pt; text-indent: 14.3pt; text-align: left" align="center"><font face="黑体" color="#993366" size="4">也许走到一起的时候, </font></p>
<p style="margin: 0cm 0cm 0pt; text-indent: 14.3pt; text-align: left" align="center"><font face="黑体" color="#993366" size="4">就不会那么轻易的放弃, 任性地转身, 放走了爱情<font color="#993300">&#8230;</font></font></p>
<p align="center"><font size="4"></font>&nbsp;</p>
<p align="left"><font size="4"><img style="width: 420px" alt="牵手.jpg" src="http://fm311.img.xiaonei.com/blog/20080110/11/11/A471203280234GAR.jpg" /></font></a></p>
<p align="left"><font size="4"></font>&nbsp;</p>
<p align="left"><font face="黑体" color="#ff6600" size="4">在你最美丽的时候，你遇见了谁？ </font></p>
<p align="left"><font face="黑体" color="#ff6600" size="4">在你深爱一个人的时候，谁又陪在你身边？ </font></p>
<p align="left"><font face="黑体" color="#ff6600" size="4">爱情到底给了你多少时间？ </font></p>
<p align="left"><font face="黑体" color="#ff6600" size="4">去相遇与分离？ 去选择与后悔？ </font></p>
<p align="left"><font face="黑体" color="#ff6600" size="4">不是不心动，不是不后悔，但已经没有时间再去相拥，</font></p>
<p align="left"><font face="黑体" color="#ff6600" size="4">如果爱一个人而无法在一起,，</font></p>
<p align="left"><font face="黑体" color="#ff6600" size="4">爱却无法在适当的时候相遇 。</font></p>
<p align="left"><font face="黑体" color="#ff6600" size="4">爱了却爱在不对的时候，</font></p>
<p align="left"><font face="黑体" color="#ff6600" size="4">除了珍藏那一滴心底的泪，无言的走远，</font></p>
<p align="left"><font face="黑体" color="#339966"><font size="4"><font color="#ff6600">又能有什么选择？</font>&nbsp;</font></font>&nbsp;</p>
<p align="left"><font face="黑体" color="#ff00ff" size="4">在时间的荒野, 没有早一步也没有晚一步，</font></p>
<p align="left"><font face="黑体" color="#ff00ff" size="4">于千万人之中, 去邂逅自己的爱人, 那是太难得的缘份</font></p>
<p align="left"><font face="黑体" color="#ff00ff" size="4">更多的时候, 我们只是在彼此不断地错过, </font></p>
<p align="left"><font face="黑体" color="#ff00ff" size="4">错过杨花飘风的春, </font></p>
<p align="left"><font face="黑体" color="#ff00ff" size="4">又错过了枫叶瑟索的秋, </font></p>
<p align="left"><font face="黑体" color="#ff00ff" size="4">直到漫天白雪, 年华不再, </font></p>
<p align="left"><font face="黑体" color="#ff00ff" size="4">在一次次的心酸感叹之后,才能终于了解&#8230;&#8230; </font></p>
<p align="left"><font face="黑体" color="#008080" size="4">即使真挚, </font></p>
<p align="left"><font face="黑体" color="#008080" size="4">即使亲密，</font></p>
<p align="left"><font face="黑体" color="#008080" size="4">即使两个人都已是心有戚戚,</font></p>
<p align="left"><font face="黑体" color="#008080" size="4">我们的爱, 依然需要时间来成全和考验。 </font></p>
<p align="left"><font face="黑体" size="4">这世界有着太多的这样那样的限制与隐秘的禁忌，</font></p>
<p align="left"><font face="黑体" size="4">又有太多难以预测的变故和身不由已的离合，</font></p>
<p align="left"><font face="黑体" size="4">一个转身，也许就已经一辈子错过，</font></p>
<p align="left"><font face="黑体" size="4">要到很多年以后，才会参透所有的争取与努力，</font></p>
<p align="left"><font face="黑体" size="4">也许还抵不过命运开的一个玩笑，</font></p>
<p align="left"><font face="黑体" size="4">上帝只在云端眨了一眨眼, </font></p>
<p align="left"><font face="黑体" size="4">所有的结局, 就都已经完全改变。</font></p>
<p align="left"><font face="黑体" color="#ff0000" size="4">在对的时间，遇见对的人，是一种幸福。 </font></p>
<p align="left"><font face="黑体" color="#ff0000" size="4">在对的时间，遇见错的人，是一种悲伤。 </font></p>
<p align="left"><font face="黑体" color="#ff0000" size="4">在错的时间，遇见对的人，是一声叹息。 </font></p>
<p align="left"><font size="4"><font face="黑体"><font color="#ff0000">在错的时间，遇见错的人，是一种无奈。</font>&nbsp;</font>&nbsp;</font>&nbsp;</p>
<p align="left"><font size="4"><img style="width: 420px" alt="爱情.jpg" src="http://fm321.img.xiaonei.com/blog/20080110/11/06/A439509037960MAR.jpg" /></font></a></p>
<p align="left"><font size="4"></font>&nbsp;</p>
<p align="left"><font size="4"><font face="黑体" color="#808000">回忆的花瓣掠过心湖，</font> </font></p>
<p align="left"><font face="黑体" color="#808000" size="4">泛起片片涟漪,</font></p>
<p align="left"><font face="黑体" color="#808000" size="4">爱不是千言万语，</font></p>
<p align="left"><font face="黑体"><font size="4"><font color="#808000">也不是朝朝暮暮。</font> </font></font></p>
<p align="left"><font color="#ff9900" size="4"><strong>爱是每当午夜梦醒时，</strong></font></p>
<p align="left"><font color="#ff9900"><font size="4"><strong>发现内心牵挂的依然是远方的你&#8230;&#8230;</strong></font></font></p>
<p align="left"><font size="4"><img style="width: auto" alt="想我.jpg" src="http://fm321.img.xiaonei.com/blog/20080110/14/19/A595331610659FEN.jpg" /></font></a></p>
<p align="left"><font face="黑体" color="#ff0000" size="4">PS:一个女人写的—《最完美的爱情》</font></p>
<p align="left"><font face="幼圆" color="#ff00ff" size="4"><strong>对于一个女人，最完美的爱情是，</strong></font></p>
<p align="left"><font face="幼圆" color="#ff00ff" size="4"><strong>和一个白马王子一见钟情，之后恋爱结婚，子孙满堂</strong></font></p>
<font face="幼圆">
<p align="left"><font color="#ff00ff" size="4"><strong>或者，两个人青梅竹马，</strong></font></p>
<p align="left"><font color="#ff00ff" size="4"><strong>长大后顺理成章地结婚，幸福地生活。</strong></font></p>
<p align="left"><font size="4"></font>&nbsp;</p>
<p align="left"><font size="4"><img style="width: 420px" alt="牵手.jpg" src="http://fm291.img.xiaonei.com/blog/20080110/14/15/A575662016769FEN.jpg" /></font></a></p>
<p align="left"><br />
<font color="#993300" size="4"><strong>从小便读王子与公主的童话，</strong></font></p>
<p align="left"><font color="#993300" size="4"><strong>我们相信爱情就是一生一世，</strong></font></p>
<p align="left"><font color="#993300" size="4"><strong>就是刻骨铭心，</strong></font></p>
<p align="left"><font color="#993300" size="4"><strong>就是至死不渝，</strong></font></p>
<p align="left"><font color="#993300" size="4"><strong>就是海枯石烂。</strong></font></p>
<p align="left"><font color="#993300" size="4"><strong>往往爱上一个人以后，</strong></font></p>
<p align="left"><font color="#993300" size="4"><strong>就想：&#8220;这辈子就是他了。&#8221;<br />
失恋了，</strong></font></p>
<p align="left"><font color="#993300" size="4"><strong>就想：&#8220;没有他，我就活不下去了。&#8221;<br />
那是亚当和夏娃之间的爱情。<br />
爱着的人们往往会说：</strong></font></p>
<p align="left"><font color="#993300" size="4"><strong>&#8220;我真希望世界上只剩下我们俩！&#8221;<br />
对了，这是爱情。</strong></font>&nbsp;</p>
<p align="left"><font color="#993300"><font size="4"><img style="width: 420px" alt="一辈子.jpg" src="http://fm311.img.xiaonei.com/blog/20080110/14/16/A580988718929FEN.jpg" /></font></a><font size="4">&nbsp;</font></font><br />
<font size="4"><strong><font color="#0000ff">可惜世界到处都是人，密密麻麻的人。<br />
爱情就有了破碎的可能。<br />
幸好，我们有很多选择的余地。</font><br />
<font color="#ff6600">正因为世界上人多，我们遇到的那个，</font></strong></font></p>
<p align="left"><strong><font size="4"><font color="#ffcc00"><font color="#ff6600">就是我们爱得死去活来的那个，<br />
却不一定是最适合你的那个。<br />
恋爱比结婚好，因为恋爱不需要承担过多责任。<br />
因为恋爱就是为了给人余地选择。</font></font><br />
</font><font color="#008000" size="4">高考前，每个人都经历无数次模拟考试，</font></strong></p>
<p align="left"><font color="#008000" size="4"><strong>所以最后成功。<br />
结婚前，每个人都经历过至少一次恋爱，</strong></font></p>
<p align="left"><font color="#008000" size="4"><strong>所以最后幸福。</strong></font>&nbsp;</p>
<p align="left"><font size="4"><img style="width: 420px" alt="心.jpg" src="http://fm311.img.xiaonei.com/blog/20080110/14/17/A585637872870FEN.jpg" /></font></a><font size="4">&nbsp;</font><br />
<font color="#33cccc" size="4"><strong>只陷在一次失败的爱情里无法自拔，</strong></font></p>
<p align="left"><font color="#cc99ff"><font size="4"><strong><font color="#33cccc">只能说明他不懂得爱。<br />
如同因为一次考试的失败就心灰意冷一样。<br />
有人认为&#8220;如果明知道两个人在一起不会有结果，就不要在一起！&#8221;<br />
那么，你爱他么？</font><br />
</strong></font></font><font color="#ff9900" size="4"><strong>明明知道将来会死，那么还要活吗？<br />
明明知道冬天会到，那么还要过春天吗？<br />
明明知道花儿会谢，那么还要浇灌吗？<br />
</strong>最重要的是，现在我们相爱！</font></p>
<p align="left"><font size="4"><font color="#ff9900">仅仅怕分别，所以就放弃一段美好的感情？</font><br />
<font color="#969696"><strong>正是从一次次的恋爱失败中，</strong></font></font></p>
<p align="left"><font color="#969696" size="4"><strong>我们才学会什么叫体贴，什么叫疼爱。<br />
我们才知道该分辨什么，该拒绝什么，</strong></font></p>
<p align="left"><font color="#969696" size="4"><strong>该珍惜什么，该争取什么。<br />
至少两个人曾经拥有过。<br />
恋爱不是为了结婚，是为了学习。<br />
</strong></p>
</font>
<p align="left"><font size="4"><img style="width: 420px" alt="love.jpg" src="http://fm311.img.xiaonei.com/blog/20080110/14/18/A590841684006FEN.jpg" /></font></a></p>
<p align="left"><br />
<font color="#00ff00" size="4"><strong>当然，如果总在恋爱，</strong></font></p>
<p align="left"><font color="#00ff00" size="4"><strong>那这个人不认真，不投入，不成熟，</strong></font></p>
<p align="left"><font color="#00ff00" size="4"><strong>从这点可以判断，他不适合爱。<br />
如果到了结婚的年纪，居然以前从未恋爱过，</strong></font></p>
<p align="left"><font color="#00ff00" size="4"><strong>不要认为他&#8220;纯洁&#8221;，或者别的什么，</strong></font></p>
<p align="left"><font color="#00ff00" size="4"><strong>这只能说明，他是个爱无能，</strong></font></p>
<p align="left"><font color="#00ff00" size="4"><strong>他只是为了找个孩子妈，找个保姆才想结婚。</strong></font></p>
<p align="left"><font size="4"><strong><font color="#00ff00">如果以上不是，那么注意他的性取向。</font><br />
</strong></font><font color="#ff0000" size="4"><strong>结婚以前谈过两三次恋爱，是最好的。<br />
结婚前最好同居一段时间，当然可以和性无关。<br />
当每天你的爱人打着哈欠、蓬头垢面地和你一起吃早饭<br />
商量做家务、洗衣服，包括养活动物、</strong></font></p>
<p align="left"><font color="#ff0000" size="4"><strong>看电视的时候什么频道、呕吐、拉肚子、&#8230;&#8230;<br />
当这时候仍然协调，那么OK，结婚吧。</strong></font><font color="#ff0000"><br />
</p>
<font size="4"></font></font></font>
<p align="left"><font size="4"><img style="width: 420px" alt="结婚.jpg" src="http://fm301.img.xiaonei.com/blog/20080110/14/18/A589136197463FEN.jpg" /></font></a></p>
<img src ="http://www.cnblogs.com/dotnetdoor/aggbug/1330905.html?type=1" width = "1" height = "1" /><br/><br/>--------------------------<br/>新闻：<a href="http://news.cnblogs.com/n/47989/" target="_blank">Twitter无处不在 魔兽世界Twitter发送器插件发布</a><br/>网站导航: <a href="http://www.cnblogs.com" target="_blank">博客园首页</a>&nbsp;&nbsp;<a href="http://news.cnblogs.com" target="_blank">新闻</a>&nbsp;&nbsp;<a href="http://dotnet.cnblogs.com" target="_blank">.NET频道</a>&nbsp;&nbsp;<a href="http://space.cnblogs.com" target="_blank">社区</a>&nbsp;&nbsp;<a href="http://space.cnblogs.com/q/" target="_blank">博问</a>&nbsp;&nbsp;<a href="http://space.cnblogs.com/ing/" target="_blank">闪存</a>&nbsp;&nbsp;<a href="http://zzk.cnblogs.com" target="_blank">找找看</a>]]></description></item><item><title>强烈推荐:国外100个你不可不知的网站(从肖蔚师弟那看到的，不错)</title><link>http://www.cnblogs.com/dotnetdoor/archive/2008/11/10/1330902.html</link><dc:creator>静水流深</dc:creator><author>静水流深</author><pubDate>Mon, 10 Nov 2008 11:24:00 GMT</pubDate><guid>http://www.cnblogs.com/dotnetdoor/archive/2008/11/10/1330902.html</guid><wfw:comment>http://www.cnblogs.com/dotnetdoor/comments/1330902.html</wfw:comment><comments>http://www.cnblogs.com/dotnetdoor/archive/2008/11/10/1330902.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cnblogs.com/dotnetdoor/comments/commentRss/1330902.html</wfw:commentRss><trackback:ping>http://www.cnblogs.com/dotnetdoor/services/trackbacks/1330902.html</trackback:ping><description><![CDATA[The Web is constantly turning out new and extraordinary services many of us are unfamiliar with. During TED University at this spring's TED2007 in Monterey, Julius Wiedemann, editor in charge at Taschen GmbH, offered an ultra-fast-moving ride through sites in many different areas, from art, design and illustration, to daily news, blogs and curiosity. Now, by popular demand, here's his list of 100 websites you should know and use:<br />
互联网每天都在为我们呈现许多新鲜的玩意，但我们之中的大多数人对此都可谓知之甚少。在2007年的 TED 大学开课期间，来自 Taschen 出版公司的 Julius Wiedemann 以走马观花的方式向在场学生演示了100多个此类的网站，其涵盖的范围包括艺术、设计、绘画、新闻、博客以及怪闻逸事。由于观众强烈要求来一番切身的体 验，Julius 向我们公开了他的清单——&#8220;100个你该知道并去使用的网站&#8221;：
<p><strong>1. CURIOSITY &amp; KNOWLEDGE</strong></p>
<p>（猎奇与求知）<br />
<font color="#0000ff"><u>reuters.com</u></font></a><br />
<font color="#0000ff"><u>research.philips.com</u></font></a><br />
<font color="#0000ff"><u>readme.cc.png</u></font></a><br />
<font color="#0000ff"><u>podtropolis.com</u></font></a><br />
<font color="#0000ff"><u>papertoys.com</u></font></a><br />
<font color="#0000ff"><u>new7wonders.com</u></font></a><br />
<font color="#0000ff"><u>lipsum.com</u></font></a><br />
<font color="#0000ff"><u>thomasedison.org</u></font></a><br />
<font color="#0000ff"><u>beelinetv.com</u></font></a><br />
<font color="#0000ff"><u>useit.com</u></font></a><br />
<font color="#0000ff"><u>submarinechannel.com/titlesequences</u></font></a><br />
<font color="#0000ff"><u>visual-literacy.org</u></font></a><br />
<font color="#0000ff"><u>cartype.com</u></font></a><br />
<font color="#0000ff"><u>captology.stanford.edu</u></font></a><br />
<font color="#0000ff"><u>bannerblog.com_au</u></font></a><br />
<font color="#0000ff"><u>ge.com</u></font></a><br />
<font color="#0000ff"><u>curiosityshoppeonline.com</u></font></a><br />
<font color="#0000ff"><u>creativecommons.org</u></font></a><br />
<font color="#0000ff"><u>lawsofsimplicity.com</u></font></a><br />
<font color="#0000ff"><u>gnu.org</u></font></a><br />
<u><font color="#0000ff">digg.com</font></u></a></p>
<p>&nbsp;</p>
<p><strong>2. GRAPHICS, MUSIC &amp; ARTS</strong></p>
<p>（图像、音乐、艺术）<br />
<font color="#0000ff"><u>yugop.com</u></font></a><br />
<font color="#0000ff"><u>vincent-vella.com</u></font></a><br />
<font color="#0000ff"><u>uva.co.uk</u></font></a><br />
<font color="#0000ff"><u>tutorialblog.org/free-vector-downloads</u></font></a><br />
<font color="#0000ff"><u>tate.org.uk</u></font></a><br />
<font color="#0000ff"><u>squidfingers.com/patterns</u></font></a><br />
<font color="#0000ff"><u>sohodolls.co.uk</u></font></a><br />
<font color="#0000ff"><u>radioblogclub.com</u></font></a><br />
<font color="#0000ff"><u>photogravure.com</u></font></a><br />
<font color="#0000ff"><u>netdiver.net/illustration</u></font></a><br />
<font color="#0000ff"><u>mine-control.com</u></font></a><br />
<font color="#0000ff"><u>matthewmahon.com</u></font></a><br />
<font color="#0000ff"><u>marcelod2.com.br</u></font></a><br />
<font color="#0000ff"><u>magwerk.com</u></font></a><br />
<font color="#0000ff"><u>kraftwerk.blocmedia.net</u></font></a><br />
<u><font color="#0000ff">headbangers.tv</font></u></a> *<br />
<font color="#0000ff"><u>grupow.com/circulo</u></font></a><br />
<font color="#0000ff"><u>creaturesinmyhead.com</u></font></a><br />
<font color="#0000ff"><u>bernhardwolff.com</u></font></a><br />
<font color="#0000ff"><u>arturofuentes.com</u></font></a><br />
<u><font color="#0000ff">alennox.net </font></u></a></p>
<p><strong>3. E-COMMERCE EXPERIENCE</strong></p>
<p>（电子商务新体验）<br />
<font color="#0000ff"><u>colette.fr</u></font></a><br />
<font color="#0000ff"><u>imaginemusicstore.com</u></font></a><br />
<font color="#0000ff"><u>canyon.com</u></font></a><br />
<font color="#0000ff"><u>coft1.com</u></font></a><br />
<font color="#0000ff"><u>heftyrecords.com</u></font></a><br />
<font color="#0000ff"><u>ourtype.be</u></font></a><br />
<font color="#0000ff"><u>freddyandma.com</u></font></a><br />
<font color="#0000ff"><u>nikeid.nike.com</u></font></a><br />
<font color="#0000ff"><u>feelthepower.biz</u></font></a><br />
<font color="#0000ff"><u>shopcomposition.com</u></font></a><br />
<font color="#0000ff"><u>oneill.com</u></font></a><br />
<u><font color="#0000ff">agentprovocateur.com</font></u></a></p>
<p>&nbsp;</p>
<p><strong>4. SEARCHING &amp; FINDING</strong></p>
<p>（搜索）<br />
<font color="#0000ff"><u>trendwatching.com</u></font></a><br />
<font color="#0000ff"><u>thefwa.com</u></font></a><br />
<font color="#0000ff"><u>springwise.com</u></font></a><br />
<font color="#0000ff"><u>scirus.com</u></font></a><br />
<font color="#0000ff"><u>scholar.google.com</u></font></a><br />
<font color="#0000ff"><u>podcasts.yahoo.com</u></font></a><br />
<font color="#0000ff"><u>msdewey.com</u></font></a><br />
<font color="#0000ff"><u>maps.live.com</u></font></a><br />
<font color="#0000ff"><u>chacha.com</u></font></a><br />
<u><font color="#0000ff">books.google.com</font></u></a></p>
<p>&nbsp;</p>
<p><strong>5. ONLINE RESOURCES</strong></p>
<p>（在线资源<font color="#0000ff"><u>）</u></font></a><font color="#0000ff"><u>infopresse.com/prixboomerang</u></font></a><br />
<font color="#0000ff"><u>rjnet.com.br/2velocimetro_php</u></font></a><br />
<font color="#0000ff"><u>vixy.net</u></font></a><br />
<font color="#0000ff"><u>kuler.adobe.com</u></font></a><br />
<font color="#0000ff"><u>wikitravel.org</u></font></a><br />
<font color="#0000ff"><u>thinkingwithtype.com</u></font></a><br />
<font color="#0000ff"><u>dominiopublico.gov.br</u></font></a><br />
<font color="#0000ff"><u>madehow.com</u></font></a><br />
<font color="#0000ff"><u>icp.org</u></font></a><br />
<font color="#0000ff"><u>howstuffworks.com</u></font></a><br />
<font color="#0000ff"><u>dafont.com</u></font></a><br />
<font color="#0000ff"><u>dictionary.reference.com</u></font></a><br />
<font color="#0000ff"><u>gutenberg.org</u></font></a><br />
<font color="#0000ff"><u>nationmaster.com</u></font></a><br />
<font color="#0000ff"><u>en.proverbia.net</u></font></a><br />
<font color="#0000ff"><u>del.icio.us</u></font></a><br />
<u><font color="#0000ff">touchgraph.com</font></u></a></p>
<p>&nbsp;</p>
<p><strong>6. TOP INTERACTIVE EXPERIENCE CREATORS</strong><br />
（最佳互动界面设计）<br />
<font color="#0000ff"><u>2advanced.com</u></font></a><br />
<font color="#0000ff"><u>akqa.com</u></font></a><br />
<font color="#0000ff"><u>almapbbdo.com.br</u></font></a><br />
<font color="#0000ff"><u>artless.gr.jp</u></font></a><br />
<font color="#0000ff"><u>bigspaceship.com</u></font></a><br />
<font color="#0000ff"><u>d-o-e-s.com</u></font></a><br />
<font color="#0000ff"><u>domanistudios.com</u></font></a><br />
<font color="#0000ff"><u>eurorscg4d.com</u></font></a><br />
<font color="#0000ff"><u>farfar.se</u></font></a><br />
<font color="#0000ff"><u>firstbornmultimedia.com</u></font></a><br />
<font color="#0000ff"><u>group94.com</u></font></a><br />
<font color="#0000ff"><u>heiwa-alpha.co.jp</u></font></a><br />
<font color="#0000ff"><u>hi-res.net</u></font></a><br />
<font color="#0000ff"><u>lowetesch.com</u></font></a><br />
<font color="#0000ff"><u>mecano.ca</u></font></a><br />
<font color="#0000ff"><u>northkingdom.com</u></font></a><br />
<font color="#0000ff"><u>rga.com</u></font></a><br />
<font color="#0000ff"><u>soleilnoir.com</u></font></a><br />
<u><font color="#0000ff">wefail.com</font></u></a></p>
<img src ="http://www.cnblogs.com/dotnetdoor/aggbug/1330902.html?type=1" width = "1" height = "1" /><br/><br/>--------------------------<br/>新闻：<a href="http://news.cnblogs.com/n/47989/" target="_blank">Twitter无处不在 魔兽世界Twitter发送器插件发布</a><br/>网站导航: <a href="http://www.cnblogs.com" target="_blank">博客园首页</a>&nbsp;&nbsp;<a href="http://news.cnblogs.com" target="_blank">新闻</a>&nbsp;&nbsp;<a href="http://dotnet.cnblogs.com" target="_blank">.NET频道</a>&nbsp;&nbsp;<a href="http://space.cnblogs.com" target="_blank">社区</a>&nbsp;&nbsp;<a href="http://space.cnblogs.com/q/" target="_blank">博问</a>&nbsp;&nbsp;<a href="http://space.cnblogs.com/ing/" target="_blank">闪存</a>&nbsp;&nbsp;<a href="http://zzk.cnblogs.com" target="_blank">找找看</a>]]></description></item><item><title>留哪里？</title><link>http://www.cnblogs.com/dotnetdoor/archive/2008/10/30/1322700.html</link><dc:creator>静水流深</dc:creator><author>静水流深</author><pubDate>Thu, 30 Oct 2008 01:29:00 GMT</pubDate><guid>http://www.cnblogs.com/dotnetdoor/archive/2008/10/30/1322700.html</guid><wfw:comment>http://www.cnblogs.com/dotnetdoor/comments/1322700.html</wfw:comment><comments>http://www.cnblogs.com/dotnetdoor/archive/2008/10/30/1322700.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cnblogs.com/dotnetdoor/comments/commentRss/1322700.html</wfw:commentRss><trackback:ping>http://www.cnblogs.com/dotnetdoor/services/trackbacks/1322700.html</trackback:ping><description><![CDATA[<p>要是留大连就Intel，IBM和东软可选了 </p>
<p>如果去北京或上海，心里又好舍不得大家啊</p>
<img src ="http://www.cnblogs.com/dotnetdoor/aggbug/1322700.html?type=1" width = "1" height = "1" /><br/><br/>--------------------------<br/>新闻：<a href="http://news.cnblogs.com/n/47988/" target="_blank">Firefox 3.5匆忙推出漏洞多 Mozilla本月将更新</a><br/>网站导航: <a href="http://www.cnblogs.com" target="_blank">博客园首页</a>&nbsp;&nbsp;<a href="http://news.cnblogs.com" target="_blank">新闻</a>&nbsp;&nbsp;<a href="http://dotnet.cnblogs.com" target="_blank">.NET频道</a>&nbsp;&nbsp;<a href="http://space.cnblogs.com" target="_blank">社区</a>&nbsp;&nbsp;<a href="http://space.cnblogs.com/q/" target="_blank">博问</a>&nbsp;&nbsp;<a href="http://space.cnblogs.com/ing/" target="_blank">闪存</a>&nbsp;&nbsp;<a href="http://zzk.cnblogs.com" target="_blank">找找看</a>]]></description></item><item><title>最近几天喜欢的两首歌</title><link>http://www.cnblogs.com/dotnetdoor/archive/2008/10/11/1308649.html</link><dc:creator>静水流深</dc:creator><author>静水流深</author><pubDate>Sat, 11 Oct 2008 06:58:00 GMT</pubDate><guid>http://www.cnblogs.com/dotnetdoor/archive/2008/10/11/1308649.html</guid><wfw:comment>http://www.cnblogs.com/dotnetdoor/comments/1308649.html</wfw:comment><comments>http://www.cnblogs.com/dotnetdoor/archive/2008/10/11/1308649.html#Feedback</comments><slash:comments>2</slash:comments><wfw:commentRss>http://www.cnblogs.com/dotnetdoor/comments/commentRss/1308649.html</wfw:commentRss><trackback:ping>http://www.cnblogs.com/dotnetdoor/services/trackbacks/1308649.html</trackback:ping><description><![CDATA[<p>光亮的&#8220;右手边&#8221;</p>
<p>静静地坐在你的身边<br />
还会有多少这样的时间<br />
我要迎着这窗外的光线<br />
牢牢的记住你微笑的侧脸<br />
<br />
我说了离别不会伤悲<br />
这是我对你唯一的欺骗<br />
因为我最喜欢你的双眼<br />
那么美不适合掉眼泪<br />
<br />
你要好好的去飞不需要对我想念<br />
我会默默地留下<font color="#c60a00">右手边</font>的座位<br />
有一天当你看过世界<br />
再决定你降落的地点<br />
<br />
而我也会继续地奔驰在这长长的街<br />
左手边是我的心<font color="#c60a00">右手边</font>没有谁<br />
为了你再寂寞我都可以成全<br />
因为我相信说过了再见<br />
一定会再见<br />
<br />
我说了离别不会伤悲<br />
这是我对你唯一的欺骗<br />
因为我最喜欢你的双眼<br />
那么美不适合掉眼泪<br />
<br />
你要好好的去飞不需要对我想念<br />
我会默默地留下<font color="#c60a00">右手边</font>的座位<br />
有一天当你看过世界<br />
再决定你降落的地点<br />
<br />
而我也会继续地奔驰在这长长的街<br />
左手边是我的心<font color="#c60a00">右手边</font>没有谁<br />
为了你再寂寞我都可以成全<br />
因为我相信说过了再见<br />
一定会再见<br />
<br />
你要好好的去飞不需要对我想念<br />
我会默默地留下<font color="#c60a00">右手边</font>的座位<br />
为了你再寂寞我都可以成全<br />
因为我相信说过了再见<br />
一定会再见<br />
</p>
<p>蔡健雅 &#8220;越来越不懂&#8221;</p>
<p>在我22岁时<br />
回想起当时多么想谈爱<br />
妈妈说就让它来<br />
然而在我32岁时<br />
发现我没太多的心去等待<br />
它失去某种色彩<br />
<br />
得不到的就更加爱<br />
太容易来的就不理睬<br />
其实谁不想遇见真爱<br />
爱得绝对爱得坦白<br />
以为遇上了就会明白<br />
但每次它只留下惊鸿一瞥的感慨<br />
yo 我<font color="#c60a00">越来越不懂</font>爱<br />
<br />
才32岁的我<br />
虽然一个人过也过得够精彩<br />
偶尔再想谈恋爱<br />
然而爱总是乱了节拍<br />
我只能够瞎猜也许能中了头彩<br />
中了又觉得奇怪<br />
得不到的就更加爱<br />
太容易来的就不理睬<br />
其实谁不想遇见真爱<br />
爱得绝对爱得坦白<br />
以为遇上了就会明白<br />
但每次它只留下惊鸿一瞥的感慨<br />
oh...<font color="#c60a00">越来越不懂</font>爱<br />
<br />
得不到的无所谓<br />
就算是自我安慰<br />
没必要伤悲<br />
得不到的就更加爱<br />
太容易来的就不理睬<br />
其实谁不想遇见真爱<br />
爱得绝对爱得坦白<br />
以为遇上了就会明白<br />
但每次它只留下惊鸿一瞥的感慨<br />
oh...<font color="#c60a00">越来越不懂</font>爱<br />
以为遇上了就会明白<br />
但每次它只留下惊鸿一瞥的感慨<br />
oh...<font color="#c60a00">越来越不懂</font>爱<br />
</p>
<img src ="http://www.cnblogs.com/dotnetdoor/aggbug/1308649.html?type=1" width = "1" height = "1" /><br/><br/>--------------------------<br/>新闻：<a href="http://news.cnblogs.com/n/47987/" target="_blank">预测：Twitter最可能收购的十家公司</a><br/>网站导航: <a href="http://www.cnblogs.com" target="_blank">博客园首页</a>&nbsp;&nbsp;<a href="http://news.cnblogs.com" target="_blank">新闻</a>&nbsp;&nbsp;<a href="http://dotnet.cnblogs.com" target="_blank">.NET频道</a>&nbsp;&nbsp;<a href="http://space.cnblogs.com" target="_blank">社区</a>&nbsp;&nbsp;<a href="http://space.cnblogs.com/q/" target="_blank">博问</a>&nbsp;&nbsp;<a href="http://space.cnblogs.com/ing/" target="_blank">闪存</a>&nbsp;&nbsp;<a href="http://zzk.cnblogs.com" target="_blank">找找看</a>]]></description></item><item><title>新浪短信webservice</title><link>http://www.cnblogs.com/dotnetdoor/archive/2008/08/18/1270346.html</link><dc:creator>静水流深</dc:creator><author>静水流深</author><pubDate>Mon, 18 Aug 2008 07:14:00 GMT</pubDate><guid>http://www.cnblogs.com/dotnetdoor/archive/2008/08/18/1270346.html</guid><wfw:comment>http://www.cnblogs.com/dotnetdoor/comments/1270346.html</wfw:comment><comments>http://www.cnblogs.com/dotnetdoor/archive/2008/08/18/1270346.html#Feedback</comments><slash:comments>1</slash:comments><wfw:commentRss>http://www.cnblogs.com/dotnetdoor/comments/commentRss/1270346.html</wfw:commentRss><trackback:ping>http://www.cnblogs.com/dotnetdoor/services/trackbacks/1270346.html</trackback:ping><description><![CDATA[<p>最近由于项目需要，有一个实现方案是主机接收和发送短消息，上网查资料，发现一个很简便的方法，那就是用到新浪提供的webservice。</p>
<p>有几篇文章很好，转过来以备参考：</p>
<p><font face="Verdana"><a href="http://blog.joycode.com/joy/posts/16939.aspx">http://blog.joycode.com/joy/posts/16939.aspx</a></font> 开心就好的博客</p>
<p>&nbsp;</p>
<p>在<a href="http://blog.joycode.com/joy/posts/16786.aspx">上一篇文章</a>中，提到了在我的流程监控系统中应用了<font style="color: blue; background-color: yellow">新浪</font>发送<font style="color: blue; background-color: yellow">短信</font>的Web Service，得到了大家的响应。很多人对此非常感兴趣。</p>
<p>在得到该资源的推荐者张炜先生（开发合作部的同事）的允许后，我决定公布此资源，并且提供如同鸡肋般的示例代码。</p>
<p>该资源的该问地址为：<a href="http://smsinter.sina.com.cn/ws/smswebservice0101.wsdl">http://smsinter.sina.com.cn/ws/sms<font style="color: blue; background-color: yellow">webservice</font>0101.wsdl</a>，这是一个WSDL文件格式，您可以直接在您的VS.NET环境中直接添加Web引用，把该地址输入即可。</p>
<p>该Web Service就只有一个方法，即string sendXml(carrier,userid,password,mobilenumber,content,msgtype)。各个参数全部为string类型，其含义基本如下（可能不正确）。</p>
<ul>
    <li>carrier:运营商名称，这里面可以随便输，不过似乎没有任何显示，不知道里面有没有其它奥秘。</li>
    <li>userid:您在<font style="color: blue; background-color: yellow">新浪</font>无线上注册的手机ID，即<a href="http://sms.sina.com.cn/">http://sms.sina.com.cn/</a>。</li>
    <li>password:您在<font style="color: blue; background-color: yellow">新浪</font>无线上注册手机时所使用的密码。</li>
    <li>mobilenumber:对方的手机号码;</li>
    <li>content:发送短消息的内容;</li>
    <li>msgtype:发送短消息的类型，我估计支持彩信，不过我目前仅使用文本<font style="color: blue; background-color: yellow">短信</font>方式，似乎随便输什么都可以，我使用的是&#8220;Text&#8221;。 </li>
</ul>
<p>示例如下：</p>
<p>Sina.SMSWS ws = new Sina.SMSWS();<br />
&nbsp;&nbsp;&nbsp;string result = ws.sendXml("Sina",textBox1.Text,textBox2.Text,textBox3.Text,textBox4.Text,"new");</p>
<p>&nbsp;</p>
<p>资费标准请参看<font style="color: blue; background-color: yellow">新浪</font>无线网站上的相关说明，应该是一条一角钱，不过也或者是一条两角线。由于其后台可能使用了消息队列机制，在繁忙的时候，可能会有几秒钟延迟。</p>
<p><font face="Verdana"><a href="http://www.cnblogs.com/wayfarer/archive/2004/04/05/5231.html">http://www.cnblogs.com/wayfarer/archive/2004/04/05/5231.html</a></font> 张逸的博客（06年学习petshop时就是他的fans啦，哈哈）</p>
<p>今天到博客堂，看见开心就好发的这个贴子，感觉很好。 </p>
<p>新浪发送短信的Web Service资源的该问地址为：<a href="http://smsinter.sina.com.cn/ws/smswebservice0101.wsdl">http://smsinter.sina.com.cn/ws/smswebservice0101.wsdl</a>，这是一个WSDL文件格式，您可以直接在您的VS.NET环境中直接添加Web引用，把该地址输入即可。</p>
<p>该Web Service就只有一个方法，即string sendXml(carrier,userid,password,mobilenumber,content,msgtype)。各个参数全部为string类型，其含义基本如下（可能不正确）。</p>
<ul>
    <li>carrier:运营商名称，这里面可以随便输，不过似乎没有任何显示，不知道里面有没有其它奥秘。</li>
    <li>userid:您在新浪无线上注册的手机ID，即<a href="http://sms.sina.com.cn/">http://sms.sina.com.cn/</a>。</li>
    <li>password:您在新浪无线上注册手机时所使用的密码。</li>
    <li>mobilenumber:对方的手机号码;</li>
    <li>content:发送短消息的内容;</li>
    <li>msgtype:发送短消息的类型，我估计支持彩信，不过我目前仅使用文本短信方式，似乎随便输什么都可以，我使用的是&#8220;Text&#8221;。 </li>
</ul>
<p>示例如下：</p>
<p>Sina.SMSWS ws = new Sina.SMSWS();<br />
&nbsp;&nbsp;&nbsp;string result = ws.sendXml("Sina",textBox1.Text,textBox2.Text,textBox3.Text,textBox4.Text,"new");</p>
<p>&nbsp;</p>
<p>资费标准请参看新浪无线网站上的相关说明，应该是一条一角钱，不过也或者是一条两角线。由于其后台可能使用了消息队列机制，在繁忙的时候，可能会有几秒钟延迟。<br />
</p>
<p><br />
我的说明：通过这个WebService编写发送短信的程序，就和Hello World一样简单。有兴趣的朋友自己就可以短信程序了。虽然节约不了什么money，至少打字比在手机上快些嘛。何况是自己写的，总有些自豪不是？<br />
</p>
<p>在PDAFan论坛上已经有个实例了。<a href="http://bbs.pdafans.com/viewthread.php?tid=9613" target="_new"><font color="#002c99">http://bbs.pdafans.com/viewthread.php?tid=9613</font></a> </p>
<p>我又给他增加了一点功能，至少使用起来要友好些吧！<br />
</p>
<p><font color="#a52a2a">下面是我的说明：<br />
</font></p>
<p>我用了一下这个程序.觉得遗憾的是发送后的提示信息太不友好了.我分析了sendXml()方法的返回结果.是一个类似xml格式的字符串,其中提示信息放在标签&lt;message&gt;中,例如:&lt;Message&gt;无效手机号码&lt;/Message&gt;. <br />
<br />
我不知道字符串类是否有与xml转换的方法.但我利用截取子串方法实现如下的方法: <br />
<br />
//截取处于开始字符串和结束字符串中间的字符串,尤其适合得到处于xml标签之间的字符串内容; <br />
private string GetSubString(string mainString,string startString,string endString) <br />
{ <br />
int start = mainString.IndexOf(startString); <br />
int end = mainString.IndexOf(endString); <br />
if (start&lt;0||end&lt;0) <br />
{ <br />
return null; <br />
} <br />
else <br />
{ <br />
string result = mainString.Substring(start+startString.Length,end-start-startString.Length); <br />
return result; <br />
} <br />
} <br />
<br />
其中mainString为子串,startString为起始标签,endString为结束标签.具体调用如下: <br />
<br />
string start = "&lt;Message&gt;"; <br />
string end = "&lt;/Message&gt;"; <br />
string mainString = WebServiceName.SendXml(parameter...); <br />
string result = GetSubString(mainString,start,end); <br />
<br />
然后用MessageBox显示出来,发短信的用户就知道是否发送成功了. <br />
MessageBox.Show(result+"!");//加一个感叹号,漂亮一点:)</p>
<p>&nbsp;</p>
<p><font face="Verdana"><a href="http://www.chinacs.net/archives/5/2006/3591.html">http://www.chinacs.net/archives/5/2006/3591.html</a></font></p>
<p>&nbsp;</p>
<div id="title">
<h2>C#利用Web Service实现短信发送</h2>
</div>
<div id="date">www.chinacs.net&nbsp;&nbsp;2006-03-26&nbsp;&nbsp;中文C#技术站 </div>
<div id="main">
<div id="ad"><script type="text/javascript"><!-- google_ad_client="pub-5092962766800948" ; google_ad_width="250;
google_ad_height" = 250; google_ad_format="250x250_as" ; google_ad_type="text_image" ; google_ad_channel="" ; google_color_border="FFFFFF" ; google_color_bg="FFFFFF" ; google_color_link="0000FF" ; google_color_text="000000" ; google_color_url="008000" ;
//--></script><script src="http://pagead2.googlesyndication.com/pagead/show_ads.js" type="text/javascript">
</script></div>
<div id="content">
<p>&nbsp;</p>
<p>　　通过编程方式实现短信息的发送对很多人来说是一件比较烦杂的事情，目前一般的解决方法是通过计算机和手机的连线，通过可对手机编程的语言编写相关的手机短信息程序来实现，而这种方法对于一般人来说是很难达到的，因为此种方法不仅要有很多必备的硬件设备，也还需懂得手机编程的相关知识。本文就来探讨一下另外一种通过Visual C#发送短信息的简单实现方法，这种方法在实现过程中比我们想象的要简单许多，只需拥有Visual C#一般编程基础，并确定您的计算机接入互联网即可。下面就来详细介绍一下Visual C#发送短信息的具体实现过程。</p>
<p>　　<strong>一. Visual C#发送短信息的原理：</strong><br />
<br />
　　我想当很多读者一看到本文的题目一定会想本文内容一定非常深奥，并且作者一定知道了电信的发送短信的网关地址，其实并非如此。本文其实是利用一个现成的资源，一个可发送短信的Web Serviec。这个Web Service就是新浪网就提供的一个，可供用户直接调用的发送短消息的Web Service。这个Service的地址是http://smsinter.sina.com.cn/ws/smswebservice0101.wsdl。在这个Service中提供了一个发送短消息的方法"sendXml"。此方法的语法格式如下：<br />
<br />
string sendXml (carrier , userid , password , mobilenumber , content , msgtype )<br />
<br />
　　sendXml方法中的六个参数均为string类型，并且sendXml方法的返回值也是string类型。<br />
<br />
　　以下是sendXml方法中的六个参数的具体说明：<br />
<br />
　　&#183;carrier：运营商名称，具体使用时此参数并没有什么具体要求，即这里面可以随便输，输入的字符串也不会在对方手机中有任何显示。 <br />
<br />
　　&#183;userid：在新浪网上注册的手机号，注册手机所用的地址是：http://sms.sina.com.cn，具体注册方法下面会具体介绍。 <br />
<br />
　　&#183;password：您在新浪网成功注册手机后，新浪网所反馈来的密码。 <br />
<br />
　　&#183;mobilenumber：要发送短信到对方的手机号码。 <br />
<br />
　　&#183;content：所要发送短消息的内容。 <br />
<br />
　　&#183;msgtype：发送短消息的类型，由于本文发送的不是彩信，所以输入"Text"。<br />
<br />
　　调用此Web Service只需在Visual C#开发环境中直接添加Web引用，把该地址输入即可，就可以使用此Web Service中的sendXml方法发送短消息了。当然发送短消息的机器必须接入互联网。<br />
<br />
　　<strong>二．在新浪网上注册手机</strong>：<br />
<br />
　　按照如下步骤就可在新浪网上注册手机：<br />
<br />
　　1. 打开浏览器，并在地址栏中输入新浪无线的地址：<a href="http://sms.sina.com.cn/">http://sms.sina.com.cn/</a>.。在浏览器德左上角，可见如图01界面：</p>
<p>
<table width="90%" align="center" border="0">
    <tr>
            <td>
            <div align="center"><img src="http://dev.yesky.com/imagelist/06/03/8twgv6855491.jpg" border="0"  alt="" /><br />
            图01：新浪网注册手机界面之一</div>
            </td>
        </tr>
    </table>
<br />
　　输入手机号后，单击图01中的"登陆"，如果你的手机没有在新浪，则提示如图02所示信息。<br />
<br />
<table width="90%" align="center" border="0">
    <tr>
            <td>
            <div align="center"><img src="http://dev.yesky.com/imagelist/06/03/gwgbv403v27c.jpg" border="0"  alt="" /><br />
            图02：新浪网注册手机界面之二</div>
            </td>
        </tr>
    </table>
<br />
<br />
　　2. 按照图02中的选项输入相应的信息后，单击"登陆移动梦网"按钮，如果注册成功，移动梦网则会向你注册的手机上发送一个8位长度的口令就可以得到图03所示界面。<br />
<br />
<table width="90%" align="center" border="0">
    <tr>
            <td>
            <div align="center"><img src="http://dev.yesky.com/imagelist/06/03/dvnl2q1z8y2h.jpg" border="0"  alt="" /><br />
            图03：新浪网注册手机界面之三</div>
            </td>
        </tr>
    </table>
<br />
　　这个口令要保留，下面发送短信就要使用这个口令。<br />
<br />
　　<strong>三．本文程序设计、调试和运行的环境：</strong><br />
<br />
　　（1）.微软公司视窗2000服务器版。<br />
<br />
　　（2）.Visual Studio .Net 2003企业构建版，.Net FrameWork SDK版本号4322。<br />
　　<strong>四．Visual C#实现短信息发送的具体实现步骤：</strong><br />
<br />
　　Visual C#发送短信息的关键就是通过Web引用新浪网提供的发送短信息的Web Service，并在引用完成后。调用此Service的sendXml方法即可。以下就是Visual C#引用Web Service发送短信息的具体实现步骤：<br />
<br />
　　1. 启动Visual Studio .Net。<br />
<br />
　　2. 选择菜单【文件】|【新建】|【项目】后，弹出【新建项目】对话框。<br />
<br />
　　3. 将【项目类型】设置为【Visual Basic项目】。<br />
<br />
　　4. 将【模板】设置为【Windows应用程序】。<br />
<br />
　　5. 在【名称】文本框中输入【短信】。<br />
<br />
　　6. 在【位置】的文本框中输入【E:\VS.NET项目】，然后单击【确定】按钮，这样在"E:\VS.NET项目"目录中就产生了名称为"短信"的文件夹，并在里面创建了名称为"短信"的项目文件。<br />
<br />
　　7. 把Visual Studio .Net的当前窗口切换到【Form1.cs（设计）】窗口，并从【工具箱】中的【Windows窗体组件】选项卡中往Form1窗体中拖入下列组件，并执行相应的操作：<br />
<br />
　　四个Label组件。<br />
　　四个TextBox组件。<br />
<br />
　　一个Button组件，其作用是发送短信息。并在这个Button组件拖入Form1的设计窗体后，双击它，则系统会在Form1.cs文件分别产生这个组件的Click事件对应的处理代码。<br />
<br />
　　8. 把Visual Studio .Net的当前窗口切换到Form1.vb的代码编辑窗口，并用下列代码替换Form1.cs中的InitializeComponent过程对应的代码，下列代码作用是初始化窗体中加入的组件：<br />
<br />
<table bordercolor="#cccccc" width="90%" align="center" bgcolor="#e3e3e3" border="1">
    <tr>
            <td>private void InitializeComponent ( ) <br />
            {<br />
            this.textBox1 = new System.Windows.Forms.TextBox ( ) ;<br />
            this.textBox2 = new System.Windows.Forms.TextBox ( ) ;<br />
            this.textBox3 = new System.Windows.Forms.TextBox ( ) ;<br />
            this.button1 = new System.Windows.Forms.Button ( ) ;<br />
            this.label1 = new System.Windows.Forms.Label ( ) ;<br />
            this.label2 = new System.Windows.Forms.Label ( ) ;<br />
            this.label3 = new System.Windows.Forms.Label ( ) ;<br />
            this.label4 = new System.Windows.Forms.Label ( ) ;<br />
            this.textBox4 = new System.Windows.Forms.TextBox ( ) ;<br />
            this.SuspendLayout ( ) ;<br />
            this.textBox1.Location = new System.Drawing.Point ( 144 , 16 ) ;<br />
            this.textBox1.Name = "textBox1" ;<br />
            this.textBox1.Size = new System.Drawing.Size ( 184 , 21 ) ;<br />
            this.textBox1.TabIndex = 0 ;<br />
            this.textBox1.Text = "" ;<br />
            this.textBox2.Location = new System.Drawing.Point ( 144 , 69 ) ;<br />
            this.textBox2.Name = "textBox2" ;<br />
            this.textBox2.PasswordChar = ''''''''*'''''''' ;<br />
            this.textBox2.Size = new System.Drawing.Size ( 184 , 21 ) ;<br />
            this.textBox2.TabIndex = 1 ;<br />
            this.textBox2.Text = "" ;<br />
            this.textBox3.Location = new System.Drawing.Point ( 144 , 122 ) ;<br />
            this.textBox3.Name = "textBox3" ;<br />
            this.textBox3.Size = new System.Drawing.Size ( 184 , 21 ) ;<br />
            this.textBox3.TabIndex = 2 ;<br />
            this.textBox3.Text = "" ;<br />
            this.button1.Location = new System.Drawing.Point ( 152 , 256 ) ;<br />
            this.button1.Name = "button1" ;<br />
            this.button1.Size = new System.Drawing.Size ( 80 , 32 ) ;<br />
            this.button1.TabIndex = 4 ;<br />
            this.button1.Text = "发送" ;<br />
            this.button1.Click += new System.EventHandler ( this.button1_Click ) ;<br />
            this.label1.Location = new System.Drawing.Point ( 56 , 24 ) ;<br />
            this.label1.Name = "label1" ;<br />
            this.label1.Size = new System.Drawing.Size ( 88 , 16 ) ;<br />
            this.label1.TabIndex = 5 ;<br />
            this.label1.Text = "注册手机号：" ;<br />
            this.label2.Location = new System.Drawing.Point ( 88 , 77 ) ;<br />
            this.label2.Name = "label2" ;<br />
            this.label2.Size = new System.Drawing.Size ( 72 , 16 ) ;<br />
            this.label2.TabIndex = 6 ;<br />
            this.label2.Text = "口令：" ;<br />
            this.label3.Location = new System.Drawing.Point ( 56 , 128 ) ;<br />
            this.label3.Name = "label3" ;<br />
            this.label3.Size = new System.Drawing.Size ( 96 , 16 ) ;<br />
            this.label3.TabIndex = 7 ;<br />
            this.label3.Text = "目标手机号：" ;<br />
            this.label4.Location = new System.Drawing.Point ( 96 , 176 ) ;<br />
            this.label4.Name = "label4" ;<br />
            this.label4.Size = new System.Drawing.Size ( 72 , 16 ) ;<br />
            this.label4.TabIndex = 8 ;<br />
            this.label4.Text = "内容：" ;<br />
            this.textBox4.Location = new System.Drawing.Point ( 144 , 175 ) ;<br />
            this.textBox4.Multiline = true ;<br />
            this.textBox4.Name = "textBox4" ;<br />
            this.textBox4.Size = new System.Drawing.Size ( 184 , 48 ) ;<br />
            this.textBox4.TabIndex = 3 ;<br />
            this.textBox4.Text = "" ;<br />
            this.AutoScaleBaseSize = new System.Drawing.Size ( 6 , 14 ) ;<br />
            this.ClientSize = new System.Drawing.Size ( 410 , 303 ) ;<br />
            this.Controls.Add ( this.button1 ) ;<br />
            this.Controls.Add ( this.textBox4 ) ;<br />
            this.Controls.Add ( this.textBox3 ) ;<br />
            this.Controls.Add ( this.textBox2 ) ;<br />
            this.Controls.Add ( this.textBox1 ) ;<br />
            this.Controls.Add ( this.label4 ) ;<br />
            this.Controls.Add ( this.label3 ) ;<br />
            this.Controls.Add ( this.label2 ) ;<br />
            this.Controls.Add ( this.label1 ) ;<br />
            this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle ;<br />
            this.MaximizeBox = false ;<br />
            this.Name = "Form1" ;<br />
            this.Text = "Visual C#实现短信发送" ;<br />
            this.ResumeLayout ( false ) ;<br />
            }</td>
        </tr>
    </table>
<br />
　　至此【短信】项目的界面设计和功能实现的准备工作就完成了，具体如图04所示：<br />
<br />
<table width="90%" align="center" border="0">
    <tr>
            <td>
            <div align="center"><img src="http://dev.yesky.com/imagelist/06/03/wz785b4af6d0.jpg" border="0"  alt="" /><br />
            图04：【短信】项目的设计界面</div>
            </td>
        </tr>
    </table>
<br />
　　9. 选中【短信】的【解决方法资源管理器】，右击【引用】，弹出【添加Web引用】对话框。在此对话框中的【URL】文本框中输入"http://smsinter.sina.com.cn/ws/smswebservice0101.wsdl"后，单击【转到】按钮，则会得到图05所示界面：<br />
<br />
<table width="90%" align="center" border="0">
    <tr>
            <td>
            <div align="center"><img src="http://dev.yesky.com/imagelist/06/03/qa7cz8sq56n7.jpg" border="0"  alt="" /><br />
            图05：在【短信】项目中添加Web引用的界面</div>
            </td>
        </tr>
    </table>
<br />
　　此时单击图04中的【添加引用】按钮，则成功实现在【短信】项目中添加可发送短信息的新浪网提供的Web Service。<br />
<br />
　　10. 把Visual Stuido .Net的当前窗口切换到Form1.cs的代码编辑窗口，并用下列代码替换From1.cs中的button1的Click事件对应的代码，下列代码的作用是调用引入的Web Service中提供的sendXml方法向指定手机发送短信息：<br />
<br />
<table bordercolor="#cccccc" width="90%" align="center" bgcolor="#e3e3e3" border="1">
    <tr>
            <td>private void button1_Click ( object sender , System.EventArgs e ) <br />
            {<br />
            　短信.cn.com.sina.smsinter.SMSWS ws = new 短信.cn.com.sina.smsinter.SMSWS ( ) ;<br />
            　string result = ws.sendXml ( "Sina" ,textBox1.Text ,textBox2.Text ,textBox3.Text ,textBox4.Text ,"new" ) ;<br />
            　MessageBox.Show ( result ) ;<br />
            }</td>
        </tr>
    </table>
<br />
　　11. 至此，在上述步骤都正确执行后，【短信】项目的全部工作就完成了。单击快捷键F5运行程序，在输入【注册手机号】、【口令】、【目标手机号】和【内容】后，单击【发送】按钮后，程序就会向指定的手机号发送短信息了。<br />
<br />
　　<strong>五．总结：</strong><br />
<br />
　　本文介绍的这种Visual C#发送短信息方法，其解决关键是引用Web Service，调用此Web Service中的方法。通观全文，此种方法是不是很简单。最后还要提醒诸位，利用这种发送短信息并不是免费的午餐，其资费标准可参看新浪无线网站上的相关说明，每发送一条收费一角钱，从在新浪网注册的手机上收费。在使用本文介绍的方法发送短信息时，在发送完成后，一般会有一个延迟。这是因为后台采用了了消息队列机制，不过这种延迟一般只会有几秒钟的时间。<br />
</p>
</div>
</div>
<div id="author">
<p>
<table cellspacing="0" cellpadding="0" width="100%" border="0">
    <tr>
            <td valign="middle">&gt;&gt;原作者:阿虎&nbsp;&nbsp;&nbsp;&gt;&gt;来源:天极开发&nbsp;</td>
        </tr>
    </table>
</p>
</div>
<p>&nbsp;</p>
<img src ="http://www.cnblogs.com/dotnetdoor/aggbug/1270346.html?type=1" width = "1" height = "1" /><br/><br/>--------------------------<br/>新闻：<a href="http://news.cnblogs.com/n/47986/" target="_blank">网易澄清:与暴雪合资公司仅提供技术支持</a><br/>网站导航: <a href="http://www.cnblogs.com" target="_blank">博客园首页</a>&nbsp;&nbsp;<a href="http://news.cnblogs.com" target="_blank">新闻</a>&nbsp;&nbsp;<a href="http://dotnet.cnblogs.com" target="_blank">.NET频道</a>&nbsp;&nbsp;<a href="http://space.cnblogs.com" target="_blank">社区</a>&nbsp;&nbsp;<a href="http://space.cnblogs.com/q/" target="_blank">博问</a>&nbsp;&nbsp;<a href="http://space.cnblogs.com/ing/" target="_blank">闪存</a>&nbsp;&nbsp;<a href="http://zzk.cnblogs.com" target="_blank">找找看</a>]]></description></item><item><title>有关SOA的一些资料</title><link>http://www.cnblogs.com/dotnetdoor/archive/2008/07/29/1255421.html</link><dc:creator>静水流深</dc:creator><author>静水流深</author><pubDate>Tue, 29 Jul 2008 03:23:00 GMT</pubDate><guid>http://www.cnblogs.com/dotnetdoor/archive/2008/07/29/1255421.html</guid><wfw:comment>http://www.cnblogs.com/dotnetdoor/comments/1255421.html</wfw:comment><comments>http://www.cnblogs.com/dotnetdoor/archive/2008/07/29/1255421.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cnblogs.com/dotnetdoor/comments/commentRss/1255421.html</wfw:commentRss><trackback:ping>http://www.cnblogs.com/dotnetdoor/services/trackbacks/1255421.html</trackback:ping><description><![CDATA[<p>最近一直在看soa,发现有几个网站的资料很丰富很实用</p>
<p>&nbsp;</p>
<p>BEA(Oracle): <font face="Verdana"><a href="http://dev2dev.bea.com.cn/techtype/soa/index.html">http://dev2dev.bea.com.cn/techtype/soa/index.html</a> </font></p>
<p>IT专家网: <font face="Verdana"><a href="http://soa.ctocio.com.cn/">http://soa.ctocio.com.cn/</a></font></p>
<p>IBM: <font face="Verdana"><a href="http://www.ibm.com/developerworks/cn/webservices/newto/">http://www.ibm.com/developerworks/cn/webservices/newto/</a></font></p>
<p>TT SOA: <font face="Verdana"><a href="http://www.searchsoa.com.cn/">http://www.searchsoa.com.cn/</a></font> </p>
<p>MS: <font face="Verdana"><a href="http://www.microsoft.com/china/biztalk/soa/default.mspx">http://www.microsoft.com/china/biztalk/soa/default.mspx</a> </font></p>
<img src ="http://www.cnblogs.com/dotnetdoor/aggbug/1255421.html?type=1" width = "1" height = "1" /><br/><br/>--------------------------<br/>新闻：<a href="http://news.cnblogs.com/n/47985/" target="_blank">杰克逊悼念仪式或成史上最大规模Web活动</a><br/>网站导航: <a href="http://www.cnblogs.com" target="_blank">博客园首页</a>&nbsp;&nbsp;<a href="http://news.cnblogs.com" target="_blank">新闻</a>&nbsp;&nbsp;<a href="http://dotnet.cnblogs.com" target="_blank">.NET频道</a>&nbsp;&nbsp;<a href="http://space.cnblogs.com" target="_blank">社区</a>&nbsp;&nbsp;<a href="http://space.cnblogs.com/q/" target="_blank">博问</a>&nbsp;&nbsp;<a href="http://space.cnblogs.com/ing/" target="_blank">闪存</a>&nbsp;&nbsp;<a href="http://zzk.cnblogs.com" target="_blank">找找看</a>]]></description></item><item><title>Cross-site scripting (XSS)--转载</title><link>http://www.cnblogs.com/dotnetdoor/archive/2008/07/28/1254936.html</link><dc:creator>静水流深</dc:creator><author>静水流深</author><pubDate>Mon, 28 Jul 2008 08:50:00 GMT</pubDate><guid>http://www.cnblogs.com/dotnetdoor/archive/2008/07/28/1254936.html</guid><wfw:comment>http://www.cnblogs.com/dotnetdoor/comments/1254936.html</wfw:comment><comments>http://www.cnblogs.com/dotnetdoor/archive/2008/07/28/1254936.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cnblogs.com/dotnetdoor/comments/commentRss/1254936.html</wfw:commentRss><trackback:ping>http://www.cnblogs.com/dotnetdoor/services/trackbacks/1254936.html</trackback:ping><description><![CDATA[<p><font face="Verdana"><a href="http://blog.sina.com.cn/s/blog_492db961010008nv.html">http://blog.sina.com.cn/s/blog_492db961010008nv.html</a></font></p>
<p><strong>Cross-site scripting (XSS):</strong>跨站脚本是一种经常出现在web应用中的计算机安全漏洞，它允许恶意web用户将代码植入到提供给其它用户使用的页面中。比如这些代码包括HTML代码和客户端脚本。攻击者利用XSS漏洞旁路掉访问控制——例如同源策略（<a class="wikipage" href="http://wiki.matrix.org.cn/Wiki.jsp?page=SameOriginPolicy">same origin policy</a>）。近来，这种类型的漏洞被用来编写危害性更大的<a class="wikipage" href="http://wiki.matrix.org.cn/Wiki.jsp?page=Phishing">phishing</a>攻击和利用浏览器漏洞。 </p>
<h3 id="section-XSS-_E4_BA_A7_E7_94_9F_E8_83_8C_E6_99_AF">产生背景</h3>
<p>当Netscape首先引入JavaScript语言时，他们便认识到这些允许web服务器发送可执行代码给浏览器所带来的安全风险。其中的一个关键问题是往往用户一次打开一个以上的浏览器窗口。在一些场合中，来自一个页面的脚本应被允许访问来自另一个页面或者对象的数据，但这在其它的一些场合中是被严格禁止——因为一些恶意站点可以使用此方式盗取敏感信息。出于这一原因，<a class="wikipage" href="http://wiki.matrix.org.cn/Wiki.jsp?page=Sameoriginpolicy">同源策略</a>被制定了。此策略允许对象和页面之间进行任何交互，但这些对象要来自于页面所在同一域名和同一协议。这样，恶意站点就不能通过另一个浏览器窗口中的JavaScript访问敏感数据。</p>
<p>至此，其它一些类似的、用于防止用户被恶意站点侵害的访问控制策略已经被其它浏览器和客户端脚本语言所采取。</p>
<p>通常，XSS漏洞被视为允许攻击者越过这些机制的漏洞。通过寻找新的脚本侵入途径——将恶意脚本注入位于其它域名的页面，攻击者获得了敏感页面内容、会话cookie、其它对象变量的访问权限。</p>
<h3 id="section-XSS-_E5_90_8D_E8_AF_8D">名词</h3>
<p>XSS并不是对于此类漏洞的精确描述。按照XSS先驱Marc Slemko的说法：&#8220;这个问题不是关于脚本的，实现跨站没有所必需的任何东西。那么为什么这样称呼呢？因为它最早被杜撰出来时大家对于XSS这个问题并没有很透彻的认识。&#8221;</p>
<p>早期的CSS被用来指跨站脚本漏洞，但这个名字很快就和级联样式表（Cascading Style Sheets）、内容编码系统（Content-scrambling system）的缩写产生冲突。因此在2002年，XSS这个缩写的缔造者Steve在Bugtraq邮件列表上首次建议使用XSS作为跨站脚本的缩写。随后各大安全社区很快便使用了XSS，而CSS很少被用来指跨站脚本了。</p>
<h3 id="section-XSS-XSS_E7_9A_84_E7_B1_BB_E5_9E_8B">XSS的类型</h3>
<p>XSS漏洞目前具有三种不同的类型。出于讨论的目的，这里标记为类型0、类型1、类型2。</p>
<h4 id="section-XSS-_E7_B1_BB_E5_9E_8B0">类型0</h4>
<p>此形式的XSS漏洞涉及到基于DOM或者为本地跨站脚本的漏洞。此类型漏洞存在于页面中客户端脚本自身。例如：如果JavaScript代码访问URL请求参数并使用这个信息在自身所在的页面中输出一些HTML，而这个信息没有使用HTML实体编码，因为这个被输出的HTML数据（可能包含附加的客户端脚本）可以重新被浏览器进行解释执行，所以出现了此类型的XSS漏洞。</p>
<p>在实际环境中，利用这样一个漏洞和利用类型1的漏洞非常相似，除了一个非常重要的条件。由于Internet Explorer对待位于本地域（比如在客户端本地硬盘中）的对象中的客户端脚本的方式，此类性XSS漏洞在本地页面中能呈现出远程执行漏洞的效果。例如，如果一个攻击者建立了恶意web主机，其主机中包括了一些链接到客户端本地系统的具有漏洞的页面，脚本便能被注入用户浏览器、并以用户浏览器权限运行。这便越过了这个客户端沙箱，而不是跨域限制。</p>
<h4 id="section-XSS-_E7_B1_BB_E5_9E_8B1">类型1</h4>
<p>这种XSS漏洞涉及一些非持久化的或者反射的漏洞。这些漏洞出现在web客户端使用server端脚本生成页面为用户提供数据时。如果未经验证的用户数据被包含在页面中而未经HTML实体编码，这便使客户端代码能够注入到动态页面中。一个经典的例子是站点搜索引擎：当进行一次对于某个包含一些特殊HTML字符的关键词的搜索，通常搜索关键词将显示在搜索结果页面中用来标记哪些信息被搜索，或者至少要在编辑文本框中显示搜索关键词。如果这个搜索关键词没有被HTML实体所编码，那么将出现类型1的XSS漏洞。</p>
<p>首先，这不会出现严重的问题，因为用户只能在他们自己的页面中注入代码。但是在少量的案例中，攻击者能够欺骗用户随着一个注入代码的恶意URL而进入搜索结果页面，这使攻击者拥有访问页面内容的所有权限。对于这种情况，一些开发者并不认为它是多么的可怕。这个错误的概念有时被应用到对待XSS漏洞上，这也是安全社区所不同意的，后者认为跨站脚本漏洞非常值得重视。</p>
<h4 id="section-XSS-_E7_B1_BB_E5_9E_8B2">类型2</h4>
<p>类型2的XSS漏洞涉及到被存储的、持久化的或者二次的漏洞。它允许多种危害巨大的攻击。此类型XSS漏洞出现于当web应用提供数据的情况下，此时这些数据首先被用户持久化保存到服务器上，然后被显示在页面中但没有经过HTML实体编码。一个经典的实例是在线留言版，用户被允许发布提供给其他用户读取的HTML格式的信息。</p>
<p>这些漏洞常比前两种漏洞影响深远，因为攻击者能够一次性注入脚本。这便潜在地给web应用带来了被注入跨站脚本病毒的危险。</p>
<p>注入的方法多种多样，攻击者可以无需使用web应用本身便可以利用此漏洞。被web应用接收的任何数据（通过电子邮件、系统日志等）可以被攻击者控制，所以在显示在动态页面中这些数据之前要进行编码。</p>
<h3 id="section-XSS-_E5_88_A9_E7_94_A8XSS_E6_BC_8F_E6_B4_9E_E7_9A_84_E5_9C_BA_E5_90_88">利用XSS漏洞的场合</h3>
<p>攻击者尝试利用XSS漏洞的方式按照漏洞的类型有所不同。</p>
<h4 id="section-XSS-_E7_B1_BB_E5_9E_8B0_E6_94_BB_E5_87_BB">类型0攻击</h4>
<ol>
    <li>Mallory发送一个恶意构造了web页面的URL给Alice（通过电子邮件或者其它机制）。</li>
    <li>Alice点击链接</li>
    <li>恶意页面中的JavaScript打开一个具有漏洞的HTML页面并将其安装在Alice电脑上。</li>
    <li>具有漏洞的HTML页面包含了在Alice电脑本地域执行的JavaScript。</li>
    <li>Mallory的恶意脚本可以在Alice的电脑上执行Alice所持有的权限下的命令。 </li>
</ol>
<h4 id="section-XSS-_E7_B1_BB_E5_9E_8B1_E6_94_BB_E5_87_BB">类型1攻击</h4>
<ol>
    <li>Alice经常浏览某个网站，此网站为Bob所拥有。Bob的站点运行Alice使用用户名/密码进行登录，并存储敏感信息（比如银行帐户信息）。</li>
    <li>Mallory发现Bob的站点包含反射性的XSS漏洞。</li>
    <li>Mallory编写一个利用漏洞的URL，并将其冒充为来自Bob的邮件发送给Alice。</li>
    <li>Alice在登录到Bobde1站点后，浏览Mallory提供的URL。</li>
    <li>嵌入到URL中的恶意脚步在Alice的浏览器中执行，就像它直接来自Bob的服务器一样。此脚本盗窃敏感信息（授权、信用卡、帐号信息等）然后在Alice完全不知情的情况下将这些信息发送到Mallory的web站点。 </li>
</ol>
<h4 id="section-XSS-_E7_B1_BB_E5_9E_8B2_E6_94_BB_E5_87_BB">类型2攻击</h4>
<ol>
    <li>Bob拥有一个web站点，这站点允许用户发布信息/浏览已发布的信息。</li>
    <li>Mallory注意到Bob的站点具有类型2的XXS漏洞。</li>
    <li>Mallory发布一个热点信息，以使其它用户纷纷阅读。</li>
    <li>在大量对此信息的浏览中，站点用户的会话cookies或者其它证书将被Mallory盗走。</li>
    <li>而后，Mallory作为其它用户登录站点伪装为他们继续发布恶意信息。 </li>
</ol>
<img src ="http://www.cnblogs.com/dotnetdoor/aggbug/1254936.html?type=1" width = "1" height = "1" /><br/><br/>--------------------------<br/>新闻：<a href="http://news.cnblogs.com/n/47984/" target="_blank">《商业周刊》:Mozilla的志愿者开发模式被复制</a><br/>网站导航: <a href="http://www.cnblogs.com" target="_blank">博客园首页</a>&nbsp;&nbsp;<a href="http://news.cnblogs.com" target="_blank">新闻</a>&nbsp;&nbsp;<a href="http://dotnet.cnblogs.com" target="_blank">.NET频道</a>&nbsp;&nbsp;<a href="http://space.cnblogs.com" target="_blank">社区</a>&nbsp;&nbsp;<a href="http://space.cnblogs.com/q/" target="_blank">博问</a>&nbsp;&nbsp;<a href="http://space.cnblogs.com/ing/" target="_blank">闪存</a>&nbsp;&nbsp;<a href="http://zzk.cnblogs.com" target="_blank">找找看</a>]]></description></item><item><title>考公务员资料</title><link>http://www.cnblogs.com/dotnetdoor/archive/2008/07/27/1252741.html</link><dc:creator>静水流深</dc:creator><author>静水流深</author><pubDate>Sun, 27 Jul 2008 12:23:00 GMT</pubDate><guid>http://www.cnblogs.com/dotnetdoor/archive/2008/07/27/1252741.html</guid><wfw:comment>http://www.cnblogs.com/dotnetdoor/comments/1252741.html</wfw:comment><comments>http://www.cnblogs.com/dotnetdoor/archive/2008/07/27/1252741.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cnblogs.com/dotnetdoor/comments/commentRss/1252741.html</wfw:commentRss><trackback:ping>http://www.cnblogs.com/dotnetdoor/services/trackbacks/1252741.html</trackback:ping><description><![CDATA[<p align="left"><font face="黑体">一起考试：&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 　</font><a href="http://www.17ks.com/" target="_blank"><font face="黑体" color="#3b5888">http://www.17ks.com/</font></a></p>
<p align="left"><font face="黑体">考试吧　　&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </font><a href="http://www.exam8.com/" target="_blank"><font face="黑体" color="#3b5888">http://www.exam8.com</font></a></p>
<p align="left"><font face="黑体">国家公务员试题总结　&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </font><a href="http://www.exam8.com/zige/ShowArticle.asp?ArticleID=20719" target="_blank"><font face="黑体" color="#3b5888">http://www.exam8.com/zige/ShowArticle.asp?ArticleID=20719</font></a></p>
<p align="left"><font face="黑体">新浪考试　&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </font><a href="http://edu.sina.com.cn/official/index.shtml" target="_blank"><font face="黑体" color="#3b5888">http://edu.sina.com.cn/official/index.shtml</font></a></p>
<p align="left"><font face="黑体">国家公务员录用考试行政职业能力测验标准全真模拟试卷汇总</font></p>
<p align="left">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <a href="http://www.examda.com/gwy/xingzheng/moniti/20061107/133329442.html" target="_blank"><font face="黑体" color="#3b5998">http://www.examda.com/gwy/xingzheng/moniti/20061107/133329442.html</font></a><font face="黑体">&nbsp;</font></p>
<p align="left"><font face="黑体"></font>&nbsp;</p>
<p align="left"><font face="黑体">2000-2007年国家公务员考试试题及答案汇总</font></p>
<p align="left">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <a href="http://www.exam8.com/zige/ShowArticle.asp?ArticleID=20719" target="_blank"><font face="黑体" color="#3b5998">http://www.exam8.com/zige/ShowArticle.asp?ArticleID=20719</font></a></p>
<p align="left"><font face="黑体"></font>&nbsp;</p>
<p align="left"><font face="黑体">免费公务员考试资料网&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;</font><a href="http://www.gwy86.com/" target="_blank"><font face="黑体" color="#3b5998">http://www.gwy86.com/</font></a></p>
<p align="left"><font color="#3b5998"><font face="黑体"><font color="#3b5998"><font color="#000000">《公务员之路》公务员考试专用&nbsp;&nbsp;&nbsp;</font>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </font><a href="http://www.newhua.com/soft/7990.htm" target="_blank"><font color="#3b5888">http://www.newhua.com/soft/7990.htm</font></a>&nbsp;&nbsp;&nbsp;&nbsp; </font></font></p>
<p align="left"><a href="http://www.newhua.com/soft/23674.htm" target="_blank"><font color="#3b5998"><font face="黑体"><font color="#000000">公务员考试宝典2007版(公共基础知识)&nbsp;&nbsp;</font>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;http://www.newhua.com/soft/23674.htm</font></font></a><font face="黑体">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </font></p>
<p align="left"><a href="http://www.newhua.com/soft/30803.htm" target="_blank"><font color="#3b5998"><font face="黑体"><font color="#000000">公务员考试大全--行政能力卷 2.0&nbsp;&nbsp;&nbsp;</font>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; http://www.newhua.com/soft/30803.htm</font></font></a><font face="黑体">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </font></p>
<p align="left"><font face="黑体">国家公务员网&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;</font><a href="http://www.gjgwy.org/" target="_blank"><font face="黑体" color="#3b5998">http://www.gjgwy.org</font></a></p>
<img src ="http://www.cnblogs.com/dotnetdoor/aggbug/1252741.html?type=1" width = "1" height = "1" /><br/><br/>--------------------------<br/>新闻：<a href="http://news.cnblogs.com/n/47977/" target="_blank">Mono 的Virtual PC 虚拟机</a><br/>网站导航: <a href="http://www.cnblogs.com" target="_blank">博客园首页</a>&nbsp;&nbsp;<a href="http://news.cnblogs.com" target="_blank">新闻</a>&nbsp;&nbsp;<a href="http://dotnet.cnblogs.com" target="_blank">.NET频道</a>&nbsp;&nbsp;<a href="http://space.cnblogs.com" target="_blank">社区</a>&nbsp;&nbsp;<a href="http://space.cnblogs.com/q/" target="_blank">博问</a>&nbsp;&nbsp;<a href="http://space.cnblogs.com/ing/" target="_blank">闪存</a>&nbsp;&nbsp;<a href="http://zzk.cnblogs.com" target="_blank">找找看</a>]]></description></item><item><title>《奋斗》里米莱的36句让人忘不了的话</title><link>http://www.cnblogs.com/dotnetdoor/archive/2008/07/25/1251525.html</link><dc:creator>静水流深</dc:creator><author>静水流深</author><pubDate>Fri, 25 Jul 2008 09:23:00 GMT</pubDate><guid>http://www.cnblogs.com/dotnetdoor/archive/2008/07/25/1251525.html</guid><wfw:comment>http://www.cnblogs.com/dotnetdoor/comments/1251525.html</wfw:comment><comments>http://www.cnblogs.com/dotnetdoor/archive/2008/07/25/1251525.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cnblogs.com/dotnetdoor/comments/commentRss/1251525.html</wfw:commentRss><trackback:ping>http://www.cnblogs.com/dotnetdoor/services/trackbacks/1251525.html</trackback:ping><description><![CDATA[<div class="Content" style="color: #000000"><font color="#cc0000"><font size="2">1. 不许你跟别的女孩照相，我才是你的女朋友!（这是米莱在剧中的第一句话，那一刻开始喜欢这个女孩）&nbsp;&nbsp;</font> <br />
<font size="2">2. 甭看了，剩下的都菜瓜，本校校花就在你怀里。 </font></font><br />
<font color="#cc0000"><font size="2">3. 记住，在这个世界上，男人女人各有分工，男人主要用来对女人使坏，女人主要用来对男人好，以前我对这种混蛋分工特不满意。可是现在，我认命了。&nbsp;&nbsp;</font> </font><br />
<font color="#cc0000" size="2">4. 现在的社会风气实在太坏了。 </font><br />
<font color="#cc0000"><font size="2">5. 你好傻啊，你一点也不理解我，我刚才说的一切，所有的一切，那才是我的幸福。&nbsp;&nbsp;</font> </font><br />
<font color="#cc0000" size="2">6. （医生：你父亲得的是胆结实。） 米莱：大夫，那我爸这&#8230; （医生：没事我们会通过手术把它切除的。） 米莱：啊，那我爸以后是不是就没胆了？ </font><br />
<font color="#cc0000" size="2">7. 洗干净了人模狗样去工作吧！ </font><br />
<font color="#cc0000" size="2">8. 如果你还在这个世界存在着，那么这个世界无论什么样，对我都有意义的.但是如果你不在了，无论这个世界有多么好，他在我眼里也只是一片荒漠。而我就像是一个狐魂野鬼。还记得吗？《呼啸山庄》，记住，这是我最喜欢的一段话，以前上学的时候我念给你听，你说太酸了，受不了。我现在告诉你，我觉得一点儿都在酸，而且每一个字都让我特激动。&nbsp;&nbsp; </font><br />
<font color="#cc0000"><font size="2">9. 就杨晓芸那品味，我告诉你啊，你给她三万，她愣给你装出十万的效果来。可如果你给她三十万，效果还是十万。&nbsp;&nbsp;</font> </font><br />
<font color="#cc0000"><font size="2">10. 少女变大嫂，早恋变单身了，文秘变老总，一失足成千古恨。还我青春！&nbsp;&nbsp;</font> </font><br />
<font color="#cc0000" size="2">11. 有时候我想，要是我是夏琳，那有多好。你知道我会怎么做吗？我绝对不会让你去有发展的公司，干什么事业。我要你去找挣钱少，但是清闲的工作，天天跟我泡在一起，看电影、去迪厅、看展览、接着过学校的生活。把这种生活能延长多久就延长多久，我们俩还可以攒钱买奇瑞ＱＱ，还是那个分期付款的那一种，周末跟华子，向南去AA制的小饭馆大餐，晚上去打台球，或者回家看DVD，我靠在你肩膀上，把每个月挣的钱花到只剩最后一块，然后分头回家蹭饭吃。没有公司，没有什么事儿需要解决，没有应酬，没有别人，只为自己活着，我为你，你为我。你知道吗？我有的时候听杨晓芸向我报怨他跟向南的事儿，我就羡慕。不管有什么恩恩怨怨，他们天天都能在一起，天天都能。&nbsp;&nbsp;&nbsp;&nbsp; （其实她只是个女孩） </font><br />
<font color="#cc0000"><font size="2">12. 你打啊，当着我的面打，二十个电话你一个一个打。你不全都记住了吗？你要是没记住，没事儿，我告诉你。我连关鹏电话一起告诉你。&nbsp;&nbsp;</font> </font><br />
<font color="#cc0000"><font size="2">13. 你们问我快乐吗？我告诉你们我一点儿也不快乐。你们问我对未来有信心吗？我告诉你们我连信心是什么东西我都不知道。你们问我为什么喝了这么多酒？我告诉你们，我很矛盾，我很不开心。有一件事我一直弄不明白，我很奇怪，那就是，为什么生来我什么都有，却得不到自己最想要的？我尝试去美国，尝试干事业，我努力投入积极的生活，我不想放弃希望，去为那些重要的事情而奋斗，但最后，一切都失败。&nbsp;&nbsp;</font> </font><br />
<font color="#cc0000"><font size="2">14. 小仙儿，以前你只是一乌鸦嘴，没成想住进来没几天就有所长进啦。知道吗？你现在已经参与破坏别人家庭及婚姻的各种活动，不简单啊！&nbsp;&nbsp;</font> </font><br />
<font color="#cc0000" size="2">15. 我就等你，就等你，你没结婚我等你，你结了婚，我还等，我现在等你，我以后等你，我永远等你，我等你，我等你，我等死你&#8230;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; （这句是最感人的） </font><br />
<font color="#cc0000"><font size="2">16. 住嘴，你只要记住最后一点就够了，那就是只要允许我对你好，我就高兴。你要是敢不允许，我就是不高兴，这就是我这个老姑娘的怪脾气。哼！&nbsp;&nbsp;</font> </font><br />
<font color="#cc0000"><font size="2">17. 我老想，脑袋自个儿就会转，一想到你，心就会砰砰地跳，根本控制不住，你要是没离开我吧，我还真不知道自己能这么想你，你又是第一个离开我的人。你为什么会离开我呢?&nbsp;&nbsp;</font> </font><br />
<font color="#cc0000"><font size="2">18. 记得第一次发现你和夏琳在一起，我快疯了。在我心里接下来只有两个结果：要么我嫁给你，要么我永远不见你。现在这么多年过去了，你看我们还在一起，我也没有不见你，也没有嫁给你，所以那个时候的想法就是极端的。&nbsp;&nbsp;</font> </font><br />
<font color="#cc0000" size="2">19. 走吧，陪我旧地重游一次吧。 </font><br />
<font color="#cc0000"><font size="2">20. 跟夏琳在一起的时候，你一会儿兴高采烈，一会儿垂头丧气的完全像个蠢货。现在夏琳走了，你归我，等她回来以后，我要让你变回那个了不起的陆涛，我要把你推到她面前，让她好好看一看，到底我们俩谁对你好。&nbsp;&nbsp;</font> </font><br />
<font color="#cc0000"><font size="2">21. 我连想都不愿意想，我一想就失望，我真失望，我太失望了，我一直觉得，我一直在幻想，通过自己的努力，也许有一天能最终得到陆涛，哪怕得不到他，我能天天见到他也会很开心，除了他，我没有爱过任何一个人，也没有想过去爱什么人，我离不开，我也舍不得，在我的心里只有陆涛，就有陆涛，可是你又回来了，我一下子明白了，有些东西即使你再努力也是得不到的。&nbsp;&nbsp;</font> </font><br />
<font color="#cc0000" size="2">22. 米莱：也没什么，我陪我们家人上坟，突然想起你了。 (陆涛：哎哟你可真会想 你又不是给我上坟) </font><br />
<font color="#cc0000"><font size="2">23. 那是我以前最幸福的地儿了，直到现在我再也没有去过肯德基，就美国的我也没去过，我恨全世界的肯德基。其实我是害怕全世界的肯德基，因为那是我的伤心地儿。&nbsp;&nbsp;</font> </font><br />
<font color="#cc0000"><font size="2">24. 我要把你贴得满世界都是，这是第一贴。早知道就让他们在大头贴下面加一行字：两个分手的人。&nbsp;&nbsp;</font> </font><br />
<font color="#cc0000"><font size="2">25. 我这不是怕被夏琳逮着吗！我跟你开玩笑的，我是急着旧地重游，看看你这小窝变成什么样了？&nbsp;&nbsp;</font> </font><br />
<font color="#cc0000" size="2">26. 作为你过期的女友，我也就配喝这过期的可乐。毒死我算了。 </font><br />
<font color="#cc0000"><font size="2">27. 别往我这性感的美腿上看，回头口水掉我伤口上了，化脓了我跟你没完啊。&nbsp;&nbsp;</font> </font><br />
<font color="#cc0000"><font size="2">28. 对了，有一天下午放学，我一个人走有校园的路上，哭丧脸，觉着特没劲。突然，有一女教授，骑着辆旧自行车停在我面前，指着我大声对我说：&#8220;多好的天气啊，小姑娘，爱情没有了还有别的，挺起胸，打起精神来。&#8221;说着她对我做了一个挺胸的动作，笑了笑，骑上车就走了。唉哟喂，这一下子我觉得生活充满了新鲜感，后来我时常想起这一幕，每次想我都觉得特有勇气，就好像有人在背后推了我一下似的。&nbsp;&nbsp;</font> </font><br />
<font color="#cc0000" size="2">29. 我已经忘了，我连冰淇淋是什么口味儿我都忘了，我再也没吃过冰淇淋。&nbsp;&nbsp;&nbsp;&nbsp; （最悲的一句了） </font><br />
<font color="#cc0000"><font size="2">30. 我想唱。以前上学的时候，我就有个心愿，就是只为你一个人唱歌。左边。我就唱左边。&nbsp;&nbsp;</font> </font><br />
<font color="#cc0000"><font size="2">31. 以前你总坑富家女。你跟向南，华子一起，用各种玩笑骗我为你们付账，结果养成了我一个坏习惯，就是愿为你们刷卡。你们吃得越多，我就越开心，我在地摊上买的衣服，拿回去让夏琳随便改两下，再让晓芸往上缝上点儿什么东西，就跟我爸说是两千块一件的，我爸从来都相信我，他觉得我穿什么都好看。其实，我的衣服才是我们三个女孩中最便宜的，你知道吗？&nbsp;&nbsp;</font> </font><br />
<font color="#cc0000"><font size="2">32. 我跟你讲一道理，你听清楚了，让我付账是应该的，但是离开我是不应该的。你那么坏，我还是喜欢你，喜欢你</font> </font><br />
<font color="#cc0000"><font size="2">犯坏之前那种眼神，坏主意都是你先想出来的，然后跟你的狗腿子华子，向南，你们三个相互看一眼，笑一下，然后就开始捣乱，我觉得特痛快。我爱跟着你们，我喜欢看你们无法无天的表演。我买一张话剧票，你坐那一会儿工夫就画出三张来，然后大家一起去看话剧。我的脸脏了，你就偷别人汽车里的纸巾给我擦脸。我特羡慕你们，因为你们是男孩子，走到哪儿都会引起罢，被抓住了也无所谓，我喜欢看你满不在乎的样子，我觉得特来劲特帅。其实我一直想变成一个男孩儿，跟着你们一起干，可是我是个女孩儿，所以我只能在后面为你们望风，为你们刷卡，然后想办法捞你们。&nbsp;&nbsp;</font> </font><br />
<font color="#cc0000"><font size="2">33. 你早就应该对我说这句话了，我就是想听你亲口跟我说这一句话。我们做了所有能做的了，没有遗憾，我会记住跟你在一起的日子，记住那种感情，所有的一切都是真的，有过很多的美好，再见。&nbsp;&nbsp;</font> </font><br />
<font color="#cc0000" size="2">34. 我不明白，非常不明白。 </font><br />
<font color="#cc0000"><font size="2">35. 真正的原因是：我就喜欢为你做各种事情，我好像一直在等着为你做各种事情。以前轮不到我，现在我从队尾排到了第一了。&nbsp;&nbsp;</font> </font><br />
<font color="#cc0000" size="2">36. 要大休&nbsp;&nbsp;等死了以后有的是时间，活着就得折腾折腾</font></div>
<img src ="http://www.cnblogs.com/dotnetdoor/aggbug/1251525.html?type=1" width = "1" height = "1" /><br/><br/>--------------------------<br/>新闻：<a href="http://news.cnblogs.com/n/47970/" target="_blank">19岁天才黑客发布首个iPhone 3GS破解软件</a><br/>网站导航: <a href="http://www.cnblogs.com" target="_blank">博客园首页</a>&nbsp;&nbsp;<a href="http://news.cnblogs.com" target="_blank">新闻</a>&nbsp;&nbsp;<a href="http://dotnet.cnblogs.com" target="_blank">.NET频道</a>&nbsp;&nbsp;<a href="http://space.cnblogs.com" target="_blank">社区</a>&nbsp;&nbsp;<a href="http://space.cnblogs.com/q/" target="_blank">博问</a>&nbsp;&nbsp;<a href="http://space.cnblogs.com/ing/" target="_blank">闪存</a>&nbsp;&nbsp;<a href="http://zzk.cnblogs.com" target="_blank">找找看</a>]]></description></item><item><title>Silverlight Tutorial Part 2: Using Layout Management --转载ScottGu's weblog</title><link>http://www.cnblogs.com/dotnetdoor/archive/2008/07/25/1250983.html</link><dc:creator>静水流深</dc:creator><author>静水流深</author><pubDate>Fri, 25 Jul 2008 00:57:00 GMT</pubDate><guid>http://www.cnblogs.com/dotnetdoor/archive/2008/07/25/1250983.html</guid><wfw:comment>http://www.cnblogs.com/dotnetdoor/comments/1250983.html</wfw:comment><comments>http://www.cnblogs.com/dotnetdoor/archive/2008/07/25/1250983.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cnblogs.com/dotnetdoor/comments/commentRss/1250983.html</wfw:commentRss><trackback:ping>http://www.cnblogs.com/dotnetdoor/services/trackbacks/1250983.html</trackback:ping><description><![CDATA[<h3><u>&nbsp;地址: <font face="Verdana">http://weblogs.asp.net/scottgu/pages/silverlight-tutorial-part-2-using-layout-management.aspx</font></u></h3>
<h3><u>Understanding Layout Management</u></h3>
<p>Silverlight and WPF support a flexible layout management system that enables developers and designers to easily coordinate how controls are positioned within a UI surface.&nbsp; This layout system supports both a fixed position model where controls are positioned using explicit coordinates, as well as a more dynamic position model where layout and controls can be automatically sized and flowed as the browser resizes.</p>
<p>Developers using Silverlight and WPF use layout panels to coordinate the position and resizing of controls contained within them.&nbsp; The built-in layout panels in Silverlight Beta1 include three of the most commonly used ones in WPF:</p>
<ul>
    <li>Canvas</li>
    <li>StackPanel</li>
    <li>Grid </li>
</ul>
<p><u><strong>Canvas Panel</strong></u></p>
<p>The Canvas panel is a pretty basic layout panel that supports positioning controls contained within it using explicit coordinates.</p>
<p>You position elements in a Canvas using a XAML feature called "Attached Properties" - which allow you to specify a control's position relative to its immediate parent Canvas control's Left, Top, Right or Bottom coordinates.&nbsp; Attached properties are useful as they allow a parent panel to extend the property set of a control contained within it. Canvas, by defining an attached property for &#8220;Top&#8221; and &#8221;Left&#8221; basically adds the ability to define left and top attachment on Button (or any other UI element that is added to the Canvas), without any need to actually add a property to the Button class, or modify the Button class in any way.</p>
<p>We could add two buttons to a Canvas container, and position them both 50 pixels from the left of the Canvas, and 50 and 150 pixels from the top using XAML like below (the Canvas.Left and Canvas.Top attributes are examples of the attached property syntax):</p>
<p><img src="http://silverlight1blogpost.s3.amazonaws.com/step33.png" mce_src="http://silverlight1blogpost.s3.amazonaws.com/step33.png"  alt="" /> </p>
<p>This would then render our buttons like below:</p>
<p><img src="http://silverlight1blogpost.s3.amazonaws.com/step32.png" mce_src="http://silverlight1blogpost.s3.amazonaws.com/step32.png"  alt="" /> </p>
<p>While the Canvas is useful for scenarios where the UI elements contained within it never move, it tends not to be very flexible as you add more controls into it or handle scenarios where the UI needs to resize or move.&nbsp; In cases like these you end up having to manually write code yourself to move things around inside the Canvas (which is a pain).&nbsp; A better solution for these dynamic scenarios is typically to use an alternative layout panel that has built-in semantics to-do this for you - like the StackPanel and Grid.</p>
<p><u><strong>StackPanel </strong></u></p>
<p>The StackPanel control is a simple layout panel that supports positioning its contained controls in either a row or column layout.&nbsp; StackPanels are typically used in scenarios where you want to arrange a small subsection of the UI on your page.</p>
<p>For example, we could use the StackPanel to vertically arrange three buttons on our page using XAML markup like below:</p>
<p><img src="http://silverlight1blogpost.s3.amazonaws.com/step37.png" mce_src="http://silverlight1blogpost.s3.amazonaws.com/step37.png"  alt="" /> </p>
<p>At runtime the StackPanel would then automatically arrange the Button controls in a vertical stack for us like below:</p>
<p><img src="http://silverlight1blogpost.s3.amazonaws.com/step36.png" mce_src="http://silverlight1blogpost.s3.amazonaws.com/step36.png"  alt="" /> </p>
<p>We could alternatively set the "Orientation" property of the StackPanel to be "Horizontal" instead of Vertical (which is the default):</p>
<p><img src="http://silverlight1blogpost.s3.amazonaws.com/step39.png" mce_src="http://silverlight1blogpost.s3.amazonaws.com/step39.png"  alt="" /> </p>
<p>This will then cause the StackPanel to automatically arrange the Button controls in a horizontal row like below:</p>
<p><img src="http://silverlight1blogpost.s3.amazonaws.com/step38.png" mce_src="http://silverlight1blogpost.s3.amazonaws.com/step38.png"  alt="" /> </p>
<p><u><strong>Grid Panel</strong></u></p>
<p>The Grid control is the most flexible layout panel, and supports arranging controls in multi-row and multi-column layouts.&nbsp; It is conceptually similar to an HTML Table element.</p>
<p>Unlike an HTML Table, you don't embed controls within column and row elements.&nbsp; Instead you specify a Grid's Row and Column definitions using &lt;Grid.RowDefinitions&gt; and &lt;Grid.ColumnDefinitions&gt; properties that are declared immediately under the &lt;Grid&gt; control.&nbsp; You can then use the XAML "Attached Property" syntax on controls contained within the grid to indicate which Grid row and column they should be populated within.</p>
<p>For example, we could declare a Grid layout has three rows and three columns, and then position 4 buttons within it using XAML like below:</p>
<p><img src="http://silverlight1blogpost.s3.amazonaws.com/step40.png" mce_src="http://silverlight1blogpost.s3.amazonaws.com/step40.png"  alt="" /> </p>
<p>The Grid layout panel would then position the Button elements for us like so:</p>
<p><img src="http://silverlight1blogpost.s3.amazonaws.com/step41.png" mce_src="http://silverlight1blogpost.s3.amazonaws.com/step41.png"  alt="" /> </p>
<p>In addition to supporting absolute sizing (for example: Height="60") the Grid's RowDefinition and ColumnDefinition controls also support an AutoSizing mode (Height="Auto"), which automatically sizes the Grid or Row based on the size of the content contained within it (you can also optionally specify maximum and minimum size constraints - which can be very useful).</p>
<p>The Grid's Row and ColumnDefinitions also support a feature called "Proportional Sizing" - which enables the size of a Grid's Rows and Columns to be spaced proportionally relative to each other (for example: you could have the second row grow at 2x the rate of the first one).</p>
<p>You'll find that the Grid provides a ton of power and flexibility - and it will probably be the most common layout panel control you'll end up using.</p>
<h3><u>Using Layout Panels to Arrange our Digg Page</u></h3>
<p>Remember that the goal when building our Digg sample is to create a page that looks like the one below:</p>
<p><img src="http://silverlight1blogpost.s3.amazonaws.com/app1.png" mce_src="http://silverlight1blogpost.s3.amazonaws.com/app1.png"  alt="" /> </p>
<p>To create this layout we'll begin by adding a root Grid panel that has two RowDefinitions within it.&nbsp; The first Row will be 40 pixels high, and the second will fill the remaining space (Height="*"):</p>
<p><img src="http://silverlight1blogpost.s3.amazonaws.com/step45.png" mce_src="http://silverlight1blogpost.s3.amazonaws.com/step45.png"  alt="" /> </p>
<p><em>Tip: Notice above how I've set the Grid's "ShowGridLines" property to "True".&nbsp; This will enable us to easily visualize the Row and Column boundaries within the Grid when we test it at runtime:</em></p>
<p><img src="http://silverlight1blogpost.s3.amazonaws.com/step44.png" mce_src="http://silverlight1blogpost.s3.amazonaws.com/step44.png"  alt="" /> </p>
<p>We'll then embed a second Grid panel control as a child control within the first row of the root Grid panel container, and use it to arrange the top row (the header).&nbsp; We'll create three columns within it - one for the Title, one for the Search TextBox, and one for the Search Button:</p>
<p><img src="http://silverlight1blogpost.s3.amazonaws.com/step47.png" mce_src="http://silverlight1blogpost.s3.amazonaws.com/step47.png"  alt="" /> </p>
<p>Once this is done we have the basic layout arrangement of our Digg search page in place:</p>
<p><img src="http://silverlight1blogpost.s3.amazonaws.com/step46.png" mce_src="http://silverlight1blogpost.s3.amazonaws.com/step46.png"  alt="" /> </p>
<p><em>Note: As an alternative to nesting Grids, we could have alternatively had one Grid with 3 columns and 2 rows and used the ColSpan/RowSpan feature of the Grid to merge content across multiple columns (similar to how you can do this with HTML tables).&nbsp; I chose to use the nested Grid approach instead because I thought it would be simpler to follow along.</em></p>
<p>Now that we have the layout setup all we need to-do is add controls to it.&nbsp; </p>
<p>For the header row we'll use the built-in &lt;Border&gt; control (with a CornerRadius of 10 to get a nice rounded edge) and add some text inside it to create the Title.&nbsp; We'll use the built-in &lt;WatermarkedTextBox&gt; control in the second column for the search textbox.&nbsp; And we'll put a search &lt;Button&gt; in the third column.&nbsp; We'll then put some placeholder text in the second row where we are later going to display the search results.</p>
<p><em>Note: Below I'm embedding style information (FontSize, Colors, Margins, etc) directly on the controls.&nbsp; Later in this tutorial series I'll show how to use Styles to extract and encapsulate these settings in a separate file (ala CSS) which can then be re-used across the application.&nbsp; </em></p>
<p>&nbsp;<img src="http://silverlight1blogpost.s3.amazonaws.com/step49.png" mce_src="http://silverlight1blogpost.s3.amazonaws.com/step49.png"  alt="" /> </p>
<p>And now when we run our application it looks like below:</p>
<p><img src="http://silverlight1blogpost.s3.amazonaws.com/step50.png" mce_src="http://silverlight1blogpost.s3.amazonaws.com/step50.png"  alt="" /> </p>
<p><u><strong>Dynamically Resizing our Application</strong></u></p>
<p>One thing you might have noticed in the XAML above is that our top-level control is currently set to be a fixed width and height:</p>
<p><img src="http://silverlight1blogpost.s3.amazonaws.com/step51.png" mce_src="http://silverlight1blogpost.s3.amazonaws.com/step51.png"  alt="" /> </p>
<p>When set this way our Silverlight Application will always remain that fixed size.&nbsp; Expand the browser and this becomes apparent:</p>
<p><img src="http://silverlight1blogpost.s3.amazonaws.com/step52.png" mce_src="http://silverlight1blogpost.s3.amazonaws.com/step52.png"  alt="" /> </p>
<p>While constraining an embedded application to be a fixed size within a region of an HTML page is useful in some scenarios, for our Digg search application we really want the application experience to automatically flow and resize with the browser - just like an HTML page would.</p>
<p>The good news is that this is easy to implement.&nbsp; Just remove the Width and Height attributes on the root control:</p>
<p><img src="http://silverlight1blogpost.s3.amazonaws.com/step53.png" mce_src="http://silverlight1blogpost.s3.amazonaws.com/step53.png"  alt="" /> </p>
<p>Our Silverlight application will then automatically expand (or shrink) to fill the HTML container it is embedded within.&nbsp; Because the SilverlightTestPage.html file that we are testing our Silverlight application within hosts our Silverlight control in a HTML &lt;div&gt; element with a 100% width and height CSS setting on it, our Digg application will now fill the entire browser:</p>
<p><img src="http://silverlight1blogpost.s3.amazonaws.com/step54.png" mce_src="http://silverlight1blogpost.s3.amazonaws.com/step54.png"  alt="" /> </p>
<p>Notice how the content within the header of the application automatically resizes and flows based on the width of the browser:</p>
<p><img src="http://silverlight1blogpost.s3.amazonaws.com/step55.png" mce_src="http://silverlight1blogpost.s3.amazonaws.com/step55.png"  alt="" /> </p>
<p>When we shrink the browser, the watermark textbox and search button stay the same size because their Grid container columns are a fixed width.&nbsp; The &lt;Border&gt; control containing our "Digg Search" title automatically resizes when we shrink the browser because the Grid column it is in is configured to be Width="*".</p>
<p>We did not need to write a single line of code to enable this layout behavior - the Grid container and the layout system took care of dynamically resizing and flowing everything for us.</p>
<h3><u>Next Steps</u></h3>
<p>We now have the basic layout structure of our Digg application created, and have our header row defined.</p>
<p>Our next step will be to implement the searching behavior of the application - and have it actually retrieve story content from Digg.com when an end-user using the application searches on a topic.</p>
<p>To-do that let's jump to our next tutorial: <a href="http://weblogs.asp.net/scottgu/pages/silverlight-tutorial-part-3-using-networking-to-retrieve-data-and-populate-a-datagrid.aspx" target="_blank" mce_href="http://weblogs.asp.net/scottgu/pages/silverlight-tutorial-part-3-using-networking-to-retrieve-data-and-populate-a-datagrid.aspx">Using Networking to Retrieve Data and Populate a DataGrid</a>.</p>
<img src ="http://www.cnblogs.com/dotnetdoor/aggbug/1250983.html?type=1" width = "1" height = "1" /><br/><br/>--------------------------<br/>新闻：<a href="http://news.cnblogs.com/n/47970/" target="_blank">19岁天才黑客发布首个iPhone 3GS破解软件</a><br/>网站导航: <a href="http://www.cnblogs.com" target="_blank">博客园首页</a>&nbsp;&nbsp;<a href="http://news.cnblogs.com" target="_blank">新闻</a>&nbsp;&nbsp;<a href="http://dotnet.cnblogs.com" target="_blank">.NET频道</a>&nbsp;&nbsp;<a href="http://space.cnblogs.com" target="_blank">社区</a>&nbsp;&nbsp;<a href="http://space.cnblogs.com/q/" target="_blank">博问</a>&nbsp;&nbsp;<a href="http://space.cnblogs.com/ing/" target="_blank">闪存</a>&nbsp;&nbsp;<a href="http://zzk.cnblogs.com" target="_blank">找找看</a>]]></description></item><item><title>Silverlight Tutorial Part 1: Creating "Hello World" with Silverlight 2 and VS 2008 --转载ScottGu's blog</title><link>http://www.cnblogs.com/dotnetdoor/archive/2008/07/24/1250151.html</link><dc:creator>静水流深</dc:creator><author>静水流深</author><pubDate>Thu, 24 Jul 2008 00:44:00 GMT</pubDate><guid>http://www.cnblogs.com/dotnetdoor/archive/2008/07/24/1250151.html</guid><wfw:comment>http://www.cnblogs.com/dotnetdoor/comments/1250151.html</wfw:comment><comments>http://www.cnblogs.com/dotnetdoor/archive/2008/07/24/1250151.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cnblogs.com/dotnetdoor/comments/commentRss/1250151.html</wfw:commentRss><trackback:ping>http://www.cnblogs.com/dotnetdoor/services/trackbacks/1250151.html</trackback:ping><description><![CDATA[<p>转载:<font face="Verdana">http://weblogs.asp.net/scottgu/pages/silverlight-tutorial-part-1-creating-quot-hello-world-quot-with-silverlight-2-and-vs-2008.aspx</font></p>
<h3><u>Creating a New Silverlight Application using VS 2008</u></h3>
<p>We'll start our Digg application by selecting the File-&gt;New Project menu item within Visual Studio 2008 and use the New Project dialog to create a "Silverlight Application" (note: you will need to download and install the Silverlight Tools for VS 2008 release when Beta1 ships to get this support):</p>
<p><img src="http://silverlight1blogpost.s3.amazonaws.com/step3.png" mce_src="http://silverlight1blogpost.s3.amazonaws.com/step3.png"  alt="" /> </p>
<p>We'll name the project "DiggSample".&nbsp; When we click the "OK" button Visual Studio will prompt us with an additional dialog that allows us to choose whether we want to create just a Silverlight Application project, or optionally also add a server-side ASP.NET Web project to our solution to host the Silverlight Application within.&nbsp; For this sample we'll choose to add an ASP.NET Web Application project to the solution as well and name it "DiggSample_WebServer".&nbsp; When we click "ok" Visual Studio will create a solution for us that has both a Silverlight client application and an ASP.NET web server application in it:</p>
<p><img src="http://silverlight1blogpost.s3.amazonaws.com/step5.png" mce_src="http://silverlight1blogpost.s3.amazonaws.com/step5.png"  alt="" /> </p>
<p>When we do a "build" Visual Studio will automatically copy the compiled Silverlight application to our web server project (no manual step or configuration required).&nbsp; The default web server project that VS created for us contains both an ASP.NET page and a static HTML page that we can use to run and test our Silverlight Application within.&nbsp; </p>
<p><em>Note: Silverlight Applications can be used with any web-server (including Apache on Linux) and hosted within static HTML files or any server-side generated page (including PHP, Java, Python, Ruby, etc).&nbsp; For this Digg sample we won't be writing any server-side code - we'll instead use the cross-domain networking feature of Silverlight to access the Digg service API directly.&nbsp; I chose to create the ASP.NET web server project mainly to get automatic deployment and use its built-in web-server for testing.</em></p>
<h3><u>Understanding What Is In a Silverlight Application</u></h3>
<p>By default a newly created Silverlight application project contains a Page.xaml and App.xaml file, as well as code behind class files (which can be written in VB, C#, Ruby or Python) that are associated with them:</p>
<p><img src="http://silverlight1blogpost.s3.amazonaws.com/step6.png" mce_src="http://silverlight1blogpost.s3.amazonaws.com/step6.png"  alt="" /> </p>
<p>XAML files are XML text files that can be used to declaratively specify the UI of a Silverlight or WPF application. XAML can also be used more broadly to declaratively represent .NET objects.</p>
<p>The App.xaml file is typically used to declare resources, such as brush and style objects that are shared across the application.&nbsp; The Application code-behind class for the App.xaml file can be used to handle application level events - like Application_Startup, Application_Exit and Application_UnhandledException.</p>
<p>The Page.xaml file is by default the initial UI control that is loaded when the application activates. Within it we can use UI controls to define our user interface, and then handle events off of them within the Page code-behind class (much more on this later).</p>
<p>When we build our DiggSample project, Visual Studio will by default compile the code and .XAML markup into a standard .NET assembly file, and then package it and any static resources (like images or static files we want to include in it) into a "DiggSample.xap" file on disk:&nbsp; </p>
<p><img src="http://silverlight1blogpost.s3.amazonaws.com/step7.png" mce_src="http://silverlight1blogpost.s3.amazonaws.com/step7.png"  alt="" /> </p>
<p>".xap" files (pronounced "zap") use the standard .zip compression algorithm to minimize client download size. A "hello world" .NET Silverlight application (built using VB or C#) is about 4KB in size.</p>
<p><em>Note: Some controls in Beta1 are implemented in assemblies that if used are redisted in the application's .xap file (which will increase an application's size above the 4kb base size).&nbsp; All of the controls used in the Digg application will be in the core Silverlight download package for Beta2 and the final release - which means that the total download size of the finished application will probably only be in the 6-8kb range (so very small and fast).</em></p>
<p>To host and run a Silverlight 2 application, you can add an &lt;object&gt; tag into any standard HTML page (no JavaScript required) that points to the .xap file.&nbsp; Silverlight will then automatically download the .xap file, instantiate it, and host it within that HTML page in the browser.&nbsp; This works cross browser (Safari, FireFox, IE, etc) and cross platform (Windows, Mac, and Linux).</p>
<p>Test HTML and ASP.NET pages (containing the &lt;object&gt; tag reference that points to our Silverlight application) were automatically added for us when we created our project - which means we can just hit F5 to build, run and test it.</p>
<h3><u>Learning how to Add Controls and Handle Events</u></h3>
<p>Right now our Digg application doesn't do anything, and when it is run it brings up an empty page.</p>
<p>We can change this by opening up the Page.xaml file in the project and adding some content to it:&nbsp; </p>
<p><img src="http://silverlight1blogpost.s3.amazonaws.com/step8.png" mce_src="http://silverlight1blogpost.s3.amazonaws.com/step8.png"  alt="" /> </p>
<p>We'll begin by changing the background of the grid and by declaring a Button control within it.&nbsp; We'll give the button an "x:Name" attribute value of "MyButton" - which will allow us to programmatically reference it within our code-behind class.&nbsp; We'll also set its Content, Width and Height properties:</p>
<p><img src="http://silverlight1blogpost.s3.amazonaws.com/step9.png" mce_src="http://silverlight1blogpost.s3.amazonaws.com/step9.png"  alt="" /> </p>
<p>When we run the application our button will then show up in the middle of the page with "Push Me" content text like below:</p>
<p>&nbsp;<img src="http://silverlight1blogpost.s3.amazonaws.com/step10.png" mce_src="http://silverlight1blogpost.s3.amazonaws.com/step10.png"  alt="" /> </p>
<p>To add behavior to our button we can add a "Click" event handler to it.&nbsp; We can do this in source view by typing the event name:</p>
<p><img src="http://silverlight1blogpost.s3.amazonaws.com/step11.png" mce_src="http://silverlight1blogpost.s3.amazonaws.com/step11.png"  alt="" /> </p>
<p>Which will then prompt us for the event handler in our code-behind class to use:</p>
<p><img src="http://silverlight1blogpost.s3.amazonaws.com/step12.png" mce_src="http://silverlight1blogpost.s3.amazonaws.com/step12.png"  alt="" /> </p>
<p>We can then either type a new event handler method name to use, or optionally just press the enter key to name the event handler method using the default naming convention:</p>
<p><img src="http://silverlight1blogpost.s3.amazonaws.com/step13.png" mce_src="http://silverlight1blogpost.s3.amazonaws.com/step13.png"  alt="" /> </p>
<p>VS will then automatically create a stub event handler implementation in our code-behind class file.&nbsp; We can use this event handler to update the Button's content with a new message when it is clicked:</p>
<p><img src="http://silverlight1blogpost.s3.amazonaws.com/step15.png" mce_src="http://silverlight1blogpost.s3.amazonaws.com/step15.png"  alt="" /> </p>
<p>After making the change above we can re-run the application and push the button again, and now its content is updated with a "Pushed!" message:</p>
<p><img src="http://silverlight1blogpost.s3.amazonaws.com/step16.png" mce_src="http://silverlight1blogpost.s3.amazonaws.com/step16.png"  alt="" />&nbsp;</p>
<h3><u>Next Steps</u></h3>
<p>We still have a little more work left to-do before our application is done... :-)</p>
<p>Our next step will be to setup the overall UI layout structure of our application, and arrange more controls within it.&nbsp; To-do that let's jump to our next tutorial: <a href="http://weblogs.asp.net/scottgu/pages/silverlight-tutorial-part-2-using-layout-management.aspx">Using layout management</a></p>
<p>&nbsp;</p>
<img src ="http://www.cnblogs.com/dotnetdoor/aggbug/1250151.html?type=1" width = "1" height = "1" /><br/><br/>--------------------------<br/>新闻：<a href="http://news.cnblogs.com/n/47969/" target="_blank">新浪邮箱大本营粉墨登场！Sina.cn开放注册</a><br/>网站导航: <a href="http://www.cnblogs.com" target="_blank">博客园首页</a>&nbsp;&nbsp;<a href="http://news.cnblogs.com" target="_blank">新闻</a>&nbsp;&nbsp;<a href="http://dotnet.cnblogs.com" target="_blank">.NET频道</a>&nbsp;&nbsp;<a href="http://space.cnblogs.com" target="_blank">社区</a>&nbsp;&nbsp;<a href="http://space.cnblogs.com/q/" target="_blank">博问</a>&nbsp;&nbsp;<a href="http://space.cnblogs.com/ing/" target="_blank">闪存</a>&nbsp;&nbsp;<a href="http://zzk.cnblogs.com" target="_blank">找找看</a>]]></description></item><item><title>Silverlight-get started---msdn webcast of sliverlight 2.0开罗站by黄继佳</title><link>http://www.cnblogs.com/dotnetdoor/archive/2008/07/24/1250143.html</link><dc:creator>静水流深</dc:creator><author>静水流深</author><pubDate>Thu, 24 Jul 2008 00:40:00 GMT</pubDate><guid>http://www.cnblogs.com/dotnetdoor/archive/2008/07/24/1250143.html</guid><wfw:comment>http://www.cnblogs.com/dotnetdoor/comments/1250143.html</wfw:comment><comments>http://www.cnblogs.com/dotnetdoor/archive/2008/07/24/1250143.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cnblogs.com/dotnetdoor/comments/commentRss/1250143.html</wfw:commentRss><trackback:ping>http://www.cnblogs.com/dotnetdoor/services/trackbacks/1250143.html</trackback:ping><description><![CDATA[<p>&nbsp;要想学习Sliverlight，首先得下载几个工具:</p>
<p><font face="Verdana">Silverlight 2 Beta 1 SDK<br />
&#8211; <a href="http://www.microsoft.com/downloads/details.aspx?FamilyId=4E03409A-77F3-413F-B108-1243C243C4FE">http://www.microsoft.com/downloads/details.aspx?FamilyId=4E03409A-77F3-413F-B108-1243C243C4FE</a> <br />
&#8226; Source Code Silverlight 2 Beta 1 Controls<br />
&#8211; <a href="http://www.microsoft.com/downloads/details.aspx?FamilyId=EA93DD89-3AF2-4ACB-9CF4-BFE01B3F02D4&amp;displaylang=en">http://www.microsoft.com/downloads/details.aspx?FamilyId=EA93DD89-3AF2-4ACB-9CF4-BFE01B3F02D4&amp;displaylang=en</a> <br />
&#8226; .NET Framework 3.5 SDK(XAMLPad)<br />
&#8211; <a href="http://www.microsoft.com/downloads/details.aspx?FamilyId=E6E1C3DF-A74F-4207-8586-711EBE331CDC&amp;displaylang=en">http://www.microsoft.com/downloads/details.aspx?FamilyId=E6E1C3DF-A74F-4207-8586-711EBE331CDC&amp;displaylang=en</a> &nbsp;<br />
&#8226; Silverlight streaming SDK<br />
&#8211; <a href="http://msdn2.microsoft.com/en-us/library/bb851621.aspx">http://msdn2.microsoft.com/en-us/library/bb851621.aspx</a> <br />
&#8226; Silverlight 2 Developer Reference Poster<br />
&#8211; <a href="http://blogs.msdn.com/brada/archive/2008/03/16/silverlight-2-developer-poster.aspx">http://blogs.msdn.com/brada/archive/2008/03/16/silverlight-2-developer-poster.aspx</a> <br />
&#8226; WoW The Web<br />
&#8211; <a href="https://blogs.msdn.com/jijia">https://blogs.msdn.com/jijia</a></font></p>
<p><font face="Verdana">学习网站<br />
&#8226; Silverlight 官方社区<br />
&#8211; <a href="http://silverlight.net/">http://silverlight.net/</a> <br />
&#8226; MSDN Silverlight 专栏<br />
&#8211; <a href="http://msdn2.microsoft.com/en-us/silverlight/default.aspx">http://msdn2.microsoft.com/en-us/silverlight/default.aspx</a> <br />
&#8226; Expression team blog<br />
&#8211; <a href="http://blogs.msdn.com/expression/">http://blogs.msdn.com/expression/</a> <br />
&#8226; ScottGu's Silverlight 2 中文博客<br />
&#8211; <a href="http://blog.joycode.com/scottgu/archive/2008/02/29/114918.aspx">http://blog.joycode.com/scottgu/archive/2008/02/29/114918.aspx</a> </font></p>
<img src ="http://www.cnblogs.com/dotnetdoor/aggbug/1250143.html?type=1" width = "1" height = "1" /><br/><br/>--------------------------<br/>新闻：<a href="http://news.cnblogs.com/n/47969/" target="_blank">新浪邮箱大本营粉墨登场！Sina.cn开放注册</a><br/>网站导航: <a href="http://www.cnblogs.com" target="_blank">博客园首页</a>&nbsp;&nbsp;<a href="http://news.cnblogs.com" target="_blank">新闻</a>&nbsp;&nbsp;<a href="http://dotnet.cnblogs.com" target="_blank">.NET频道</a>&nbsp;&nbsp;<a href="http://space.cnblogs.com" target="_blank">社区</a>&nbsp;&nbsp;<a href="http://space.cnblogs.com/q/" target="_blank">博问</a>&nbsp;&nbsp;<a href="http://space.cnblogs.com/ing/" target="_blank">闪存</a>&nbsp;&nbsp;<a href="http://zzk.cnblogs.com" target="_blank">找找看</a>]]></description></item><item><title>云计算到底是什么?</title><link>http://www.cnblogs.com/dotnetdoor/archive/2008/07/23/1249373.html</link><dc:creator>静水流深</dc:creator><author>静水流深</author><pubDate>Wed, 23 Jul 2008 03:24:00 GMT</pubDate><guid>http://www.cnblogs.com/dotnetdoor/archive/2008/07/23/1249373.html</guid><wfw:comment>http://www.cnblogs.com/dotnetdoor/comments/1249373.html</wfw:comment><comments>http://www.cnblogs.com/dotnetdoor/archive/2008/07/23/1249373.html#Feedback</comments><slash:comments>2</slash:comments><wfw:commentRss>http://www.cnblogs.com/dotnetdoor/comments/commentRss/1249373.html</wfw:commentRss><trackback:ping>http://www.cnblogs.com/dotnetdoor/services/trackbacks/1249373.html</trackback:ping><description><![CDATA[<p>很早就听说"云计算"了,没有系统的研究过,今天突发奇想就上网搜了些资料.云计算（Ｃloud Computing)其实是分布式处理 并行处理和网格计算的综合发展趋势.有些专家还指出云计算的影响的重要性 不亚于电子商务,难怪会受到Google ,MS,HP,IBM多个大公司的重视．</p>
<p>我觉得这个概念在未来几年里非常值得关注.</p>
<p>下面是我从chinabyte上找到的一些资料.</p>
<p>&nbsp;</p>
<p><font face="Verdana"><a href="http://server.chinabyte.com/454/8160954.shtml">http://server.chinabyte.com/454/8160954.shtml</a>&nbsp;&nbsp;&nbsp; </p>
<h1>了解&#8220;云计算&#8221;——概念</h1>
</font>
<p>　比尔&#183;盖茨1989年在谈论&#8220;计算机科学的过去现在与未来时&#8221;时说：&#8220;用户只需要640K的内存就足够了。&#8221;那时，所有的程序都很省很小，100MB的硬盘简直用不完。 </p>
<p>　　李开复(现任<a href="http://eblog.chinabyte.com/google/" target="_bank">Google</a>全球副总裁、中国区总裁)打了一个形象的比喻：钱庄。最早人们只是把钱放在枕头底下，后来有了钱庄，很安全，不过兑现起来比较麻烦。现在发展到银行可以到任何一个网点取钱，甚至通过ATM，或者国外的渠道。就像用电不需要家家装备发电机，直接从电力公司购买一样。&#8220;云计算&#8221;带来的就是这样一种变革——由谷歌、<a href="http://eblog.chinabyte.com/ibm/" target="_bank">IBM</a>这样的专业<a href="http://network.chinabyte.com/" target="_bank">网络</a>公司来搭建计算机存储、运算中心，用户通过一根网线借助浏览器就可以很方便的访问，把&#8220;云&#8221;做为资料存储以及应用服务的中心。</p>
<p>　　(一)原理:</p>
<p>　　云计算(Cloud Computing)是分布式处理(Distributed Computing)、并行处理(Parallel Computing)和网格计算(Grid Computing)的发展，或者说是这些计算机科学概念的商业实现。</p>
<p>　　云计算的基本原理是，通过使计算分布在大量的分布式计算机上，而非本地计算机或远程服务器中，企业数据中心的运行将更与互联网相似。这使得企业能够将资源切换到需要的应用上，根据需求访问计算机和存储系统。</p>
<p>　　这可是一种革命性的举措，打个比方，这就好比是从古老的单台发电机模式转向了电厂集中供电的模式。它意味着计算能力也可以作为一种商品进行流通，就像煤气、水电一样，取用方便，费用低廉。最大的不同在于，它是通过互联网进行传输的。</p>
<p>　　云计算的蓝图已经呼之欲出：在未来，只需要一台笔记本或者一个手机，就可以通过网络服务来实现我们需要的一切，甚至包括超级计算这样的任务。从这个角度而言，最终用户才是云计算的真正拥有者。</p>
<p>　　云计算的应用包含这样的一种思想，把力量联合起来，给其中的每一个成员使用。</p>
<p>　　(二)&#8220;云&#8221;时代</p>
<p>　　目前，PC依然是我们日常工作生活中的核心工具——我们用PC处理文档、存储资料，通过电子邮件或U盘与他人分享信息。如果PC硬盘坏了，我们会因为资料丢失而束手无策。</p>
<p>　　而在&#8220;云计算&#8221;时代，&#8220;云&#8221;会替我们做存储和计算的工作。&#8220;云&#8221;就是计算机群，每一群包括了几十万台、甚至上百万台计算机。&#8220;云&#8221;的好处还在于，其中的计算机可以随时更新，保证&#8220;云&#8221;长生不老。Google就有好几个这样的&#8220;云&#8221;，其他IT巨头，如<a href="http://eblog.chinabyte.com/microsoft/" target="_bank">微软</a>、雅虎、亚马逊(Amazon)也有或正在建设这样的&#8220;云&#8221;。</p>
<p>　　届时，我们只需要一台能上网的电脑，不需关心存储或计算发生在哪朵&#8220;云&#8221;上，但一旦有需要，我们可以在任何地点用任何设备，如电脑、手机等，快速地计算和找到这些资料。我们再也不用担心资料丢失。</p>
<p>　　(三)云计算的几大形式</p>
<p>　　1.SAAS(软件即服务)</p>
<p>　　这种类型的云计算通过浏览器把程序传给成千上万的用户。在用户眼中看来，这样会省去在服务器和软件授权上的开支;从供应商角度来看，这样只需要维持一个程序就够了，这样能够减少成本。Salesforce.com是迄今为止这类服务最为出名的公司。SAAS在人力资源管理程序和<a href="http://soft.chinabyte.com/erp/" target="_bank">ERP</a>中比较常用。 Google Apps和Zoho Office也是类似的服务</p>
<p>　　2.实用计算(Utility Computing)</p>
<p>　　这个主意很早就有了，但是知道最近才在Amazon.com、Sun、IBM和其它提供存储服务和虚拟服务器的公司中新生。这种云计算是为IT行业创造虚拟的数据中心使得其能够把内存、I/O设备、存储和计算能力集中起来成为一个虚拟的资源池来为整个网络提供服务。</p>
<p>　　3.网络服务</p>
<p>　　同SAAS关系密切，网络服务提供者们能够提供API让开发者能够开发更多基于互联网的应用，而不是提供单机程序。</p>
<p>　　4.平台即服务</p>
<p>　　另一种SAAS，这种形式的云计算把开发环境作为一种服务来提供。你可以使用中间商的设备来开发自己的程序并通过互联网和其服务器传到用户手中。</p>
<p>　　5.MSP(管理服务提供商)</p>
<p>　　最古老的云计算运用之一。这种应用更多的是面向IT行业而不是终端用户，常用于邮件病毒扫描、程序监控等等。</p>
<p>　　6.商业服务平台</p>
<p>　　SAAS和MSP的混合应用，该类云计算为用户和提供商之间的互动提供了一个平台。比如用户个人开支管理系统，能够根据用户的设置来管理其开支并协调其订购的各种服务。</p>
<p>　　7.互联网整合</p>
<p>　　将互联网上提供类似服务的公司整合起来，以便用户能够更方便的比较和选择自己的服务供应商。</p>
<p>　　说了半天相信很多人还没搞清怎么回事，因为单&#8220;云计算&#8221;这三个字就已经够云里雾里的了。</p>
<div class="clear"></div>
<div class="guanggao"></div>
<div class="fl w530 pdt10"></div>
<p><font face="Verdana"><a href="http://server.chinabyte.com/364/8074864.shtml">http://server.chinabyte.com/364/8074864.shtml</a></font></p>
<p>&nbsp;</p>
<h1>多核、云计算名列最具革命性技术榜首</h1>
<p>&nbsp;</p>
<p>Gartner公司分析师David Cearley和Carl Claunch称，多核处理器、<a href="http://server.chinabyte.com/cloudcomputing/" target="_blank">云计算</a>、用户界面，社会网络/社会软件，以及Web mashups排在最具"革命性技术"前五位，预计将在2008年到2012年间重塑IT业前景。 </p>
<p>　　接下来的五项技术为：普适计算(ubiquitous computing)、关联性计算(contextual computing)、增强现实(augmented reality)、虚拟技术。</p>
<p>　　分析师将于本周Gartner的拉斯维加斯Symposium Itxpo大会上公布这一结果。</p>
<p>　　多核处理器是一项先进技术，但是单线程应用软件无法利用这一优势，分析师注意到："单线程应用软件可以驱动一个八核系统，但是利用率仅为12.5%，因为其仅能利用8核中的一个。"</p>
<p>　　因此企业认为应用软件需要加以改进以满足当前多核时代的需求。</p>
<p>　　分析师们说，排在榜单5-10位的技术，如普适计算，也将在未来的几年中得到更多支持。</p>
<p>　　Xerox公司的研究人员描绘了计算业即将到来的第三波:计算机充斥着我们的生活，然而我们却看不到。他们写道：计算第三波所展现的是计算机已经由前台隐至后台，人们所感受到的仅是满足需求的技术。例如，汽车上的计算机是隐藏在方向盘和按钮后面的，未来的大部分计算机均将是隐藏起来的。</p>
<p>　　分析师们预测，将多种方法--例如射频识别(RFID)、便携式和广域访问数据等先进网络技术相结合会推动这一趋势的发展。</p>
<p>　　到2010年，Web mashups技术将成为创建企业应用软件集成的主要模式(应用率将达80%)。</p>
<p><font face="Verdana"><a href="http://server.chinabyte.com/328/7820828.shtml">http://server.chinabyte.com/328/7820828.shtml</a></font></p>
<p>&nbsp;</p>
<h1>IBM&#8220;蓝云&#8221;带来即可使用的云计算</h1>
<p>&nbsp;</p>
<p>2007年11月15日，IBM (NYSE: IBM)在上海推出了&#8220;蓝云(Blue Cloud)&#8221;计划，为客户带来即可使用的云计算(Cloud Computing)。它包括一系列的云计算产品，使计算不仅仅局限在本地机器或远程Server Farms，通过架构一个分布的、可全球访问的资源结构，使数据中心在类似互联网的环境下运行计算。 </p>
<p>　　&#8220;蓝云&#8221;建立在IBM在领先的大规模计算领域的专业技术，将基于由IBM软件、系统技术和服务支持的开放标准和开源软件。全球超过200名IBM研究人员参与开发的&#8220;蓝云&#8221;，将帮助客户快速和简便的探索云计算基础架构以实现极限规模运算。</p>
<p>　　IBM正在同精选出的公司、政府机构、大学和互联网企业展开云计算计划方面的合作，并将于2008年向客户正式推出第一套支持Power和x86处理器系统的&#8220;蓝云&#8221;产品。</p>
<p>　　IBM今天在上海举行的SOA创新高峰论坛上演示了运行在配置Power和x86处理器的IBM BladeCenter上的云计算技术如何随着某一应用工作负载的变化动态地提供和分配资源。IBM还计划于2008年提供一个System z&#8220;大型主机&#8221;云环境，以充分利用System z支持的超大数量虚拟机的能力。同时，IBM还计划提供基于高密度机架集群的云环境。</p>
<p>　　&#8220;蓝云&#8221;基于IBM Almaden研究中心(Almaden Research Center)的云基础架构，包括Xen和PowerVM虚拟Linux操作系统映像以及Hadoop并行工作负载安排。&#8220;蓝云&#8221;由IBM Tivoli软件支持，通过管理服务器来确保基于需求的最佳性能。这包括通过能够跨越多服务器实时分配资源的软件，为客户带来一种无缝体验，加速性能并确保在最苛刻的环境下的稳定性。</p>
<p>　　IBM系统与科技事业部开发和制造高级副总裁Rod Adkins表示：&#8220;&#8216;蓝云&#8217;将帮助我们的客户快速建立一个云计算环境，以便在自己的企业环境中对各种Web 2.0应用进行测试并建立原型。这种方法未来将可以帮助IT管理人员大大降低对需求经常波动的基础架构进行管理的复杂性和成本。&#8221;</p>
<p>　　云计算是一种新兴的共享基础架构的方法，它可以将巨大的系统池连接在一起以提供各种IT服务。很多因素推动了对这类环境的需求，其中包括连接设备、实时数据流、SOA的采用以及搜索、开放协作、社会网络和移动商务等这样的Web 2.0应用的急剧增长。 另外，数字元器件性能的提升也使IT环境的规模大幅度提高，从而进一步加强了对一个由统一的云进行管理的需求。</p>
<p>　　IBM开发&#8220;蓝云&#8221;的目的是帮助客户充分利用云计算包括云应用的能力，通过基于SOA的Web服务，来与他们现有的IT基础架构的集成。&#8220;蓝云&#8221;将特别关注IT管理简化方面的突破性需求，以保证安全性、隐私性、可靠性、高使用率和高效率。另外，云计算主要是针对现有的以及即将出现的大规模数据密集型工作负载。</p>
<p>　　11月13日，IBM和越南科技部(Vietnamese Ministry of Science and Technology ，简称：MoST)共同宣布了一项将运行在云计算基础架构上的开放创新试点计划。</p>
<p>　　越南科技部副部长Tran Quoc Thang博士表示：&#8220;我们与IBM共同创建的越南科技进步创新信息门户(Vietnam Information for Science and Technology Advance Innovation Portal，简称：VIP)将为越南的各类组织和公众提供一个动态的丰富内容资源，以鼓励在国民、团体和政府组织机构中进行创新。VIP将基于IBM的企业Web 2.0创新梦工厂(Innovation Factory)解决方案，通过IBM Almaden研究中心的云基础架构提供给大学和研究机构。&#8221;</p>
<p>　<strong>　&#8220;蓝云&#8221;的起源</strong></p>
<p>　　&#8220;蓝云&#8221;的概念源自IBM通过一个名为技术采纳项目(Technology Adoption Program)的IBM创新门户来支持其软件创新人员而进行的工作。IBM开发人员可以请求被分配的计算资源和软件，在整个项目中同IBM员工一起对其进行测试和试验。</p>
<p>　　IBM高性能随需解决方案团队副总裁Willy Chiu博士表示：&#8220;在过去的几个月中，通过为IBM创新人员提供一个动态的基础架构环境，我们在云计算技术领域取得了宝贵的经验。我们的创新人员在向市场推出解决方案的过程中需要整合各种硬件和软件资源，而我们的&#8220;蓝云&#8221;大大节省了创新人员获得这些资源所需的时间，仅此一点，客户就表现出希望部署类似解决方案的强烈兴趣。&#8221;</p>
<p>　　第一个&#8220;蓝云&#8221;产品将于2008年春季开始供货。有关这一产品的细节将在那时公布。</p>
<p>　　<strong>IBM和大规模计算(Massive Scale Computing)</strong></p>
<p>　　&#8220;蓝云&#8221;代表了IBM在一直领先的计算领域中的下一个重大的进步，因为其根植于IBM数十年来在开发和领导大规模计算方面的丰富经验，其中包括：</p>
<p>　　&#252; 并行系统综合体(Parallel Sysplex)：IBM System z大型机作为单一系统映像进行管理，并结合了数据共享和并行计算来保证系统集群能够共享工作负载以实现高性能和高可用性。</p>
<p>　　&#252; IBM的&#8220;深蓝&#8221;SP集群(Deep Blue SP Cluster)：当前集群技术的上一代产品，IBM富有传奇色彩的深蓝系统由于10年前击败了国际象棋大师卡斯帕罗夫而名声大振。</p>
<p>　　&#252; &#8220;蓝色基因&#8221;(Blue Gene)：一种强大的大规模超级计算机网络，它充分利用了开放系统和大量的非常低成本和高能效的组件。下一代蓝色基因Blue Gene/Q预计最终将达到10到30 Pet flops的运算速度，或每秒数千万亿次浮点运算速度。</p>
<p>　　&#252; 网格计算(Grid Computing)：基于一套开放标准和协议，包括主要的SOA标准。IBM是商业网格计算的早期倡导者和推动者，正在积极实现分布式计算和数据资源如处理、网络带宽和存储能力的虚拟化，以创建一种单一系统映像，允许用户和应用无缝地访问巨大的IT资源。</p>
<div class="clear"></div>
<div class="guanggao"></div>
<p>&nbsp;</p>
<img src ="http://www.cnblogs.com/dotnetdoor/aggbug/1249373.html?type=1" width = "1" height = "1" /><br/><br/>--------------------------<br/>新闻：<a href="http://news.cnblogs.com/n/47968/" target="_blank">IE市场份额首次跌破60%</a><br/>网站导航: <a href="http://www.cnblogs.com" target="_blank">博客园首页</a>&nbsp;&nbsp;<a href="http://news.cnblogs.com" target="_blank">新闻</a>&nbsp;&nbsp;<a href="http://dotnet.cnblogs.com" target="_blank">.NET频道</a>&nbsp;&nbsp;<a href="http://space.cnblogs.com" target="_blank">社区</a>&nbsp;&nbsp;<a href="http://space.cnblogs.com/q/" target="_blank">博问</a>&nbsp;&nbsp;<a href="http://space.cnblogs.com/ing/" target="_blank">闪存</a>&nbsp;&nbsp;<a href="http://zzk.cnblogs.com" target="_blank">找找看</a>]]></description></item><item><title>.NET Web 服务</title><link>http://www.cnblogs.com/dotnetdoor/archive/2008/06/11/1217541.html</link><dc:creator>静水流深</dc:creator><author>静水流深</author><pubDate>Wed, 11 Jun 2008 10:42:00 GMT</pubDate><guid>http://www.cnblogs.com/dotnetdoor/archive/2008/06/11/1217541.html</guid><wfw:comment>http://www.cnblogs.com/dotnetdoor/comments/1217541.html</wfw:comment><comments>http://www.cnblogs.com/dotnetdoor/archive/2008/06/11/1217541.html#Feedback</comments><slash:comments>1</slash:comments><wfw:commentRss>http://www.cnblogs.com/dotnetdoor/comments/commentRss/1217541.html</wfw:commentRss><trackback:ping>http://www.cnblogs.com/dotnetdoor/services/trackbacks/1217541.html</trackback:ping><description><![CDATA[今天上午去图书馆学习，看到一本讲.NET Web服务的书，便随手拿来看看，偶然发现书的总序居然是俞敏洪写的，怪哉！一个教英语的怎么跟web服务扯上关系了，后来才知道原来这本书是新东方IT教研室编写的，不过这样给人一种不太权威的印象。（没有丝毫贬低新东方的意思）<br />
<br />
大体看了看，有些地方写得很好，尤其是那些实际操作的例子，实用且浅显易懂，让我这种没什么基础的学生对web服务的理解又加深了点。
 <img src ="http://www.cnblogs.com/dotnetdoor/aggbug/1217541.html?type=1" width = "1" height = "1" /><br/><br/>--------------------------<br/>新闻：<a href="http://news.cnblogs.com/n/47965/" target="_blank">Google App Engine宕机6小时——云的安全在哪里？</a><br/>网站导航: <a href="http://www.cnblogs.com" target="_blank">博客园首页</a>&nbsp;&nbsp;<a href="http://news.cnblogs.com" target="_blank">新闻</a>&nbsp;&nbsp;<a href="http://dotnet.cnblogs.com" target="_blank">.NET频道</a>&nbsp;&nbsp;<a href="http://space.cnblogs.com" target="_blank">社区</a>&nbsp;&nbsp;<a href="http://space.cnblogs.com/q/" target="_blank">博问</a>&nbsp;&nbsp;<a href="http://space.cnblogs.com/ing/" target="_blank">闪存</a>&nbsp;&nbsp;<a href="http://zzk.cnblogs.com" target="_blank">找找看</a>]]></description></item><item><title>实用软件测试指南（电子工业出版社）--读书笔记2</title><link>http://www.cnblogs.com/dotnetdoor/archive/2008/06/11/1217536.html</link><dc:creator>静水流深</dc:creator><author>静水流深</author><pubDate>Wed, 11 Jun 2008 10:36:00 GMT</pubDate><guid>http://www.cnblogs.com/dotnetdoor/archive/2008/06/11/1217536.html</guid><wfw:comment>http://www.cnblogs.com/dotnetdoor/comments/1217536.html</wfw:comment><comments>http://www.cnblogs.com/dotnetdoor/archive/2008/06/11/1217536.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cnblogs.com/dotnetdoor/comments/commentRss/1217536.html</wfw:commentRss><trackback:ping>http://www.cnblogs.com/dotnetdoor/services/trackbacks/1217536.html</trackback:ping><description><![CDATA[<p>今天看了看第一章 指导软件测试的故障模型，这一章主要从五部分进行介绍的：软件测试目的，理解软件行为，理解软件环境，理解软件能力。<br />
一 软件测试目的<br />
&nbsp;&nbsp;&nbsp;&nbsp;软件测试的动机有多种。想要通过测试确定所在机构是否接受该产品，这种测试为接受测试；想要通过测试确定某个产品是否满足实现标准，这种测试叫做符合性测试；想要通过测试确定某个产品是否易于实用，这种测试叫做可用性测试。此外还有性能测试，可靠性测试，健壮性测试等等。<br />
&nbsp;&nbsp;&nbsp;&nbsp;这些测试的基本特征：<br />
&nbsp;&nbsp;&nbsp;&nbsp;* 每种测试都要求测试员按照产品行为描述来实施。产品行为描述可以是书面的规格说明书、需求文档、产品文件或用户手册，源代码或可执行代码。<br />
&nbsp;&nbsp;&nbsp;&nbsp;*每种测试都需要产品运行于真实或模拟环境下，运行产品功能把测试与代码评审和审查区别开来。代码评审和审查可以在产品编译和连接之前静态进行。<br />
&nbsp;&nbsp;&nbsp;&nbsp;*每种测试都要求以系统方法展示产品功能性。说明测试结果是肯定或者否定的。不论占有多少文档，都要以智能方式展示软件功能。<br />
&nbsp;&nbsp;&nbsp;&nbsp;用户和测试人员区别是测试人员具有明确目标。<br />
<br />
二 理解软件行为<br />
&nbsp;&nbsp;&nbsp;&nbsp;测试的难题是选择哪些进行测试，哪些不需要测试。最好的测试员应该有这种直觉，知道什么能使软件失效。这种直觉引导他们彻底全面的思考测试场景。使他们产生这种直觉的技术是故障模型（fault model),对于测试人员来说，重要的是能够构造出一个准确的故障模型，并在测试中使用该模型，确保能检查出隐错最可能隐藏的地方。<br />
&nbsp;&nbsp;&nbsp;&nbsp;测试人员需要学习和吸收的故障模型是基于与受测软件相关的两个基本问题：<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*熟悉软件操作的环境<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*测试员必须理解其应用程序具有的能力。<br />
<br />
三 理解软件环境<br />
&nbsp;&nbsp;&nbsp;&nbsp;大多说软件系统的用户不一定是人。人们不能将输入直接提交给软件应用程序，而是利用硬件设备提交，输入由其设备驱动程序进行处理。这些输入传给操作系统的API层，直到API产生事件，表明测试中的应用程序已经接收到了，实际上，应用软件仅通过OS接收输入。<br />
应用软件执行时所处的环境<br />
<br />
操作系统内核提供内存、文件指针以及时间和日期函数的服务，文件系统提供二进制或文本格式存储的数据，UI实现从键盘、鼠标或其它设备获得得输入数据的API集合，<br />
应用程序与环境产生交互的场景<br />
<br />
&nbsp;&nbsp;&nbsp;&nbsp;*人类用户（觉得这个概念翻译的有点不贴切）<br />
&nbsp;&nbsp;&nbsp;&nbsp;对于软件来说有两种界面：GUI和API<br />
&nbsp;&nbsp;&nbsp;&nbsp;1、通过GUI控件提交输入<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;有两个关键问题：对数据传送控件进行测试（传送数据和事件）；测试GUI控件的次序<br />
&nbsp;&nbsp;&nbsp;&nbsp;2、通过程序提交输入<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;选择参数组合和API调用次序与选择GUI控件的顺序的差别是传送机制，即测试API的是程序，测试GUI的是键盘。<br />
&nbsp;&nbsp;&nbsp;&nbsp;对于两种界面，测试人员面临同样难题，一个根本的问题是有太多的输入，输入组合和输入次序，而且全部应用。<br />
&nbsp;&nbsp;&nbsp;&nbsp;*文件系统用户<br />
&nbsp;&nbsp;&nbsp;&nbsp;对于测试人员来说，文件就是用户，其内容就是输入。<br />
&nbsp;&nbsp;&nbsp;&nbsp;*操作系统用户<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;操作系统是直接与用户交互的唯一实体，她是所有实际用户与应用程序的中介，通过提供内存<br />
</p>
、文件处理、堆空间等直接与应用程序交互，操作系统的这个部分就是内核。<br />
&nbsp;&nbsp;&nbsp;&nbsp;例：windows的内核提供了1000个不同的函数。<br />
&nbsp;&nbsp;&nbsp;&nbsp;系统界面的根本问题与人类界面的根本问题不同，系统输入是反应式的，系统输入不能由测试人员直接控制，而是由软件对用户输入做出反应。<br />
&nbsp;&nbsp;&nbsp;&nbsp;*软件用户<br />
&nbsp;&nbsp;&nbsp;&nbsp;和操作系统用户一样，使用外部软件来存储数据，为一个应用程序执行不同的任务，如应用程序可对外部关系数据库进行SQL查询或者使用API进行套接字编程，执行矩阵代数，处理字符串，或者执行任何可公共可重用的部分。<br />
<br />
四 理解软件能力<br />
&nbsp;&nbsp;&nbsp;&nbsp;书中有个比喻很形象生动，把软件测试比作战斗，软件测试人员则和战斗中的将军很相像，必须通晓敌人，知道敌人的实力（软件中的隐错），制定出攻击策略（软件测试用例）。
<img src ="http://www.cnblogs.com/dotnetdoor/aggbug/1217536.html?type=1" width = "1" height = "1" /><br/><br/>--------------------------<br/>新闻：<a href="http://news.cnblogs.com/n/47965/" target="_blank">Google App Engine宕机6小时——云的安全在哪里？</a><br/>网站导航: <a href="http://www.cnblogs.com" target="_blank">博客园首页</a>&nbsp;&nbsp;<a href="http://news.cnblogs.com" target="_blank">新闻</a>&nbsp;&nbsp;<a href="http://dotnet.cnblogs.com" target="_blank">.NET频道</a>&nbsp;&nbsp;<a href="http://space.cnblogs.com" target="_blank">社区</a>&nbsp;&nbsp;<a href="http://space.cnblogs.com/q/" target="_blank">博问</a>&nbsp;&nbsp;<a href="http://space.cnblogs.com/ing/" target="_blank">闪存</a>&nbsp;&nbsp;<a href="http://zzk.cnblogs.com" target="_blank">找找看</a>]]></description></item></channel></rss>