<?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>博客园-阴天·爱 yintian2's Blog</title><link>http://www.cnblogs.com/yintian2/</link><description>我的.NET世界，asp.net ajax，Javascript，DIV+CSS，Atlas，web2.0，Flex,网页设计，网站策划，网站推广。</description><language>zh-cn</language><lastBuildDate>Thu, 28 Aug 2008 10:26:47 GMT</lastBuildDate><pubDate>Thu, 28 Aug 2008 10:26:47 GMT</pubDate><ttl>60</ttl><item><title>找工作了，发份简历，职位 ASP.NET程序员 也可以Flex程序员(工作2年半)</title><link>http://www.cnblogs.com/yintian2/archive/2008/08/19/1270920.html</link><dc:creator>阴天·爱 </dc:creator><author>阴天·爱 </author><pubDate>Tue, 19 Aug 2008 02:24:00 GMT</pubDate><guid>http://www.cnblogs.com/yintian2/archive/2008/08/19/1270920.html</guid><wfw:comment>http://www.cnblogs.com/yintian2/comments/1270920.html</wfw:comment><comments>http://www.cnblogs.com/yintian2/archive/2008/08/19/1270920.html#Feedback</comments><slash:comments>1</slash:comments><wfw:commentRss>http://www.cnblogs.com/yintian2/comments/commentRss/1270920.html</wfw:commentRss><trackback:ping>http://www.cnblogs.com/yintian2/services/trackbacks/1270920.html</trackback:ping><description><![CDATA[<P>换环境找工作了，发份简历，职位C#程序员，ASP.NET程序员，WEB程序员，也可以Flex程序员<BR>希望有北京要招人的公司关注下了.本人感激不尽.如果可以的话,可以直接网上联系。<BR><STRONG><BR>QQ: 9866934<BR>MSN:yinyitian@163.com&nbsp;&nbsp;&nbsp; <BR>WEB: http://yintian2.cnblogs.com</STRONG><BR></P>
<P>&nbsp;</P><SPAN style="FONT-SIZE: 22pt; FONT-FAMILY: 黑体"><SPAN style="FONT-SIZE: 22pt; FONT-FAMILY: 黑体"><SPAN style="FONT-SIZE: 22pt; FONT-FAMILY: 黑体"><FONT face="Times New Roman">
<DIV><SPAN style="FONT-SIZE: 22pt; FONT-FAMILY: 黑体"><SPAN style="FONT-SIZE: 22pt; FONT-FAMILY: 黑体">
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-ALIGN: center" align=center><SPAN style="FONT-SIZE: 22pt; FONT-FAMILY: 黑体"><FONT face="Times New Roman">个 人 简 历</FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US><?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /><o:p><FONT face="Times New Roman" size=3>&nbsp;</FONT></o:p></SPAN></B></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT size=3><FONT face="Times New Roman"><B style="mso-bidi-font-weight: normal"><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">姓名：</SPAN></B><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">殷倚天</SPAN><SPAN lang=EN-US><SPAN style="mso-tab-count: 7">&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; </SPAN></SPAN><B style="mso-bidi-font-weight: normal"><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">出生年月：</SPAN></B></FONT></FONT><FONT size=3><FONT face="Times New Roman"><SPAN lang=EN-US>1985/8<BR></SPAN><B style="mso-bidi-font-weight: normal"><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">性别：</SPAN></B><SPAN lang=EN-US> &nbsp; </SPAN><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">男</SPAN><SPAN lang=EN-US><SPAN style="mso-spacerun: yes">&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; </SPAN></SPAN><B style="mso-bidi-font-weight: normal"><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">籍贯：</SPAN></B><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">湖南</SPAN></FONT></FONT><SPAN><BR><FONT face="Times New Roman" size=3><STRONG>目前居住地址：</STRONG>北京市海淀区</FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT size=3><FONT face="Times New Roman"><B style="mso-bidi-font-weight: normal"><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">联系电话：</SPAN></B><SPAN>13581672120<SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN><STRONG>QQ：</STRONG></SPAN></FONT></FONT><FONT size=3><FONT face="Times New Roman"><SPAN>9866934<BR><STRONG>Email：</STRONG></SPAN><SPAN lang=EN-US><A href="mailto:yinyitian@163.com">yinyitian@163.com</A><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN><B style="mso-bidi-font-weight: normal"><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;</SPAN>Blogs</B></SPAN><B style="mso-bidi-font-weight: normal"><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">：</SPAN></B><SPAN lang=EN-US>yintian2.cnblogs.com</SPAN></FONT></FONT></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><BR></SPAN><FONT face="Times New Roman"><B style="mso-bidi-font-weight: normal"><SPAN style="FONT-SIZE: 14pt; FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">工作经验：</SPAN></B><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="FONT-SIZE: 14pt"><o:p></o:p></SPAN></B></FONT></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; tab-stops: 347.25pt"><FONT size=3><FONT face="Times New Roman"><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US>2007</SPAN></B><B style="mso-bidi-font-weight: normal"><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">年</SPAN><SPAN lang=EN-US>5</SPAN></B><B style="mso-bidi-font-weight: normal"><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">月至今</SPAN><SPAN lang=EN-US>&nbsp;</SPAN></B><SPAN lang=EN-US>&nbsp;&nbsp;</SPAN><B style="mso-bidi-font-weight: normal"><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">北京真龙伟业</SPAN></B><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">（</SPAN><SPAN lang=EN-US><A href="http://www.zhenlong.net/">http://www.zhenlong.net/</A></SPAN><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">）</SPAN><SPAN lang=EN-US><SPAN style="mso-tab-count: 1">&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; </SPAN></SPAN></FONT></FONT></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 26.25pt; tab-stops: 347.25pt; mso-char-indent-count: 2.5"><FONT size=3><FONT face="Times New Roman"><SPAN lang=EN-US>2007</SPAN><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">年</SPAN><SPAN lang=EN-US>5</SPAN><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">月至今</SPAN><SPAN lang=EN-US><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN></SPAN><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">网站程序员</SPAN></FONT></FONT></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 26.25pt; tab-stops: 256.5pt; mso-char-indent-count: 2.5"><FONT size=3><FONT face="Times New Roman"><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">主要负责</SPAN> <SPAN lang=EN-US><A href="http://www.loonyee.com/">http://www.loonyee.com/</A> </SPAN><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">龙翼智能建站</SPAN><SPAN lang=EN-US><SPAN style="mso-tab-count: 1">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN></SPAN></FONT></FONT></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 26.25pt; tab-stops: 256.5pt; mso-char-indent-count: 2.5"><FONT size=3><FONT face="Times New Roman"><SPAN lang=EN-US><SPAN style="mso-tab-count: 1">测试账号：testtest 密码：testtest&nbsp;&nbsp; ，编辑页面下为Flex开发。</SPAN></SPAN></FONT></FONT></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 73.5pt; tab-stops: 347.25pt; mso-char-indent-count: 7.0"><SPAN lang=EN-US><FONT face="Times New Roman">&nbsp;</FONT><A href="http://www.loonmii.com/"><FONT face="Times New Roman" size=3>www.loonmii.com</FONT></A><FONT face="Times New Roman" size=3> </FONT></SPAN><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'"><FONT face="Times New Roman" size=3>龙脉社区服务</FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 73.5pt; tab-stops: 347.25pt; mso-char-indent-count: 7.0"><SPAN lang=EN-US><FONT face="Times New Roman">&nbsp;</FONT><A href="http://www.loonzaa.com/"><FONT face="Times New Roman" size=3>www.loonzaa.com</FONT></A><FONT face="Times New Roman" size=3> </FONT></SPAN><FONT size=3><FONT face="Times New Roman"><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">龙爪友情链接系统</SPAN> <SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">等产品研发</SPAN></FONT></FONT></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 21pt"><SPAN lang=EN-US><o:p><FONT face="Times New Roman" size=3>&nbsp;</FONT></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt 21.1pt; TEXT-INDENT: -21.1pt; tab-stops: 309.0pt; mso-char-indent-count: -2.0"><FONT size=3><FONT face="Times New Roman"><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US>2006</SPAN></B><B style="mso-bidi-font-weight: normal"><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">年</SPAN><SPAN lang=EN-US>4</SPAN></B><B style="mso-bidi-font-weight: normal"><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">月至</SPAN><SPAN lang=EN-US>2007</SPAN></B><B style="mso-bidi-font-weight: normal"><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">年</SPAN><SPAN lang=EN-US>4</SPAN></B><B style="mso-bidi-font-weight: normal"><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">月</SPAN></B><SPAN lang=EN-US>&nbsp;&nbsp;</SPAN><B style="mso-bidi-font-weight: normal"><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">长沙创研信息科技有限公司</SPAN></B><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">（</SPAN><SPAN lang=EN-US><A href="http://www.cyxxkj.com/">http://www.cyxxkj.com/</A></SPAN><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">）</SPAN></FONT></FONT></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 21pt"><FONT size=3><FONT face="Times New Roman"><SPAN lang=EN-US>2006</SPAN><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">年</SPAN><SPAN lang=EN-US>10</SPAN><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">月至</SPAN><SPAN lang=EN-US>2007</SPAN><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">年</SPAN><SPAN lang=EN-US>4</SPAN><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">月</SPAN><SPAN lang=EN-US><SPAN style="mso-spacerun: yes">&nbsp;&nbsp; </SPAN></SPAN><B style="mso-bidi-font-weight: normal"><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">技术部主管</SPAN></B></FONT></FONT></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-INDENT: 21pt"><FONT size=3><FONT face="Times New Roman"><SPAN lang=EN-US>2006</SPAN><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">年</SPAN><SPAN lang=EN-US>4</SPAN><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">月至</SPAN><SPAN lang=EN-US>2006</SPAN><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">年</SPAN><SPAN lang=EN-US>10</SPAN><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">月</SPAN><SPAN lang=EN-US><SPAN style="mso-spacerun: yes">&nbsp;&nbsp; </SPAN></SPAN><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">网站程序员</SPAN></FONT></FONT></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt 21pt; TEXT-INDENT: -21pt; tab-stops: 115.5pt; mso-char-indent-count: -2.0"><SPAN lang=EN-US><o:p><FONT face="Times New Roman" size=3>&nbsp;</FONT></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><o:p><FONT face="Times New Roman" size=3>&nbsp;</FONT></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT face="Times New Roman"><B style="mso-bidi-font-weight: normal"><SPAN style="FONT-SIZE: 14pt; FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">主要项目介绍：</SPAN></B><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="FONT-SIZE: 14pt"><o:p></o:p></SPAN></B></FONT></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT size=3><FONT face="Times New Roman"><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'; mso-bidi-font-size: 10.5pt">行业</SPAN><SPAN lang=EN-US style="mso-bidi-font-size: 10.5pt"><o:p></o:p></SPAN></FONT></FONT></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="mso-bidi-font-size: 10.5pt"><A href="http://www.loonyee.com/"><FONT face="Times New Roman" size=3>http://www.loonyee.com</FONT></A><FONT face="Times New Roman" size=3> </FONT></SPAN><FONT size=3><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'; mso-bidi-font-size: 10.5pt"><FONT face="Times New Roman">龙翼智能建站系统</FONT></SPAN><FONT face="Times New Roman"><SPAN lang=EN-US style="mso-bidi-font-size: 10.5pt"> <BR></SPAN><SPAN lang=EN-US style="mso-bidi-font-size: 10.5pt">底层C＃ MVC模式&nbsp; 前端 Flex actionSrcipt3.0</SPAN></FONT></FONT></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="mso-bidi-font-size: 10.5pt"><A href="http://www.loonmii.com/"><FONT face="Times New Roman" size=3>http://www.loonmii.com</FONT></A><FONT face="Times New Roman" size=3> </FONT></SPAN><FONT size=3><FONT face="Times New Roman"><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'; mso-bidi-font-size: 10.5pt">龙脉生活服务社区</SPAN><SPAN lang=EN-US style="mso-bidi-font-size: 10.5pt"><o:p></o:p></SPAN></FONT></FONT></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; tab-stops: 264.0pt"><SPAN lang=EN-US style="mso-bidi-font-size: 10.5pt"><A href="http://www.loonzaa.com/"><FONT face="Times New Roman" size=3>http://www.loonzaa.com</FONT></A><FONT face="Times New Roman" size=3> </FONT></SPAN><FONT size=3><FONT face="Times New Roman"><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'; mso-bidi-font-size: 10.5pt">龙爪友情链接系统</SPAN><SPAN lang=EN-US style="mso-bidi-font-size: 10.5pt"><SPAN style="mso-tab-count: 1">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN><o:p></o:p></SPAN></FONT></FONT></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; tab-stops: 264.0pt"><SPAN lang=EN-US style="mso-bidi-font-size: 10.5pt"><A href="http://seo.zhenlong.net/"><FONT face="Times New Roman" size=3>http://seo.zhenlong.net</FONT></A><FONT face="Times New Roman" size=3> SEO</FONT></SPAN><FONT size=3><FONT face="Times New Roman"><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'; mso-bidi-font-size: 10.5pt">关键字监测系统</SPAN><SPAN lang=EN-US style="mso-bidi-font-size: 10.5pt"><o:p></o:p></SPAN></FONT></FONT></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><A href="http://www.multour.com/" target=_blank><FONT face="Times New Roman" size=3>http://www.multour.com</FONT></A><FONT face="Times New Roman" size=3> </FONT></SPAN><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'"><FONT face="Times New Roman" size=3>麦田村（旅游行业门户）</FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="mso-bidi-font-size: 10.5pt"><A href="http://www.hongkongclub.cn/"><FONT face="Times New Roman" size=3>http://www.hongkongclub.cn</FONT></A></SPAN><FONT size=3><FONT face="Times New Roman"><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'; mso-bidi-font-size: 10.5pt">香港同胞俱乐部</SPAN><SPAN lang=EN-US style="mso-bidi-font-size: 10.5pt"><o:p></o:p></SPAN></FONT></FONT></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="mso-bidi-font-size: 10.5pt"><A href="http://www.cnmmlm.com/"><FONT face="Times New Roman" size=3>http://www.cnmmlm.com</FONT></A><FONT size=3><FONT face="Times New Roman"> <SPAN style="mso-spacerun: yes">&nbsp;</SPAN></FONT></FONT></SPAN><FONT size=3><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'; mso-bidi-font-size: 10.5pt"><FONT face="Times New Roman">中国苗木联盟<BR></FONT><A href="http://www.hnchaye.net"><FONT face="Times New Roman">http://www.hnchaye.net</FONT></A><FONT face="Times New Roman"> 湖南茶叶网<BR></FONT></SPAN></FONT></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="mso-bidi-font-size: 10.5pt"><A href="http://www.dingzhou8.com/"><FONT face="Times New Roman" size=3>http://www.dingzhou8.com</FONT></A><FONT size=3><FONT face="Times New Roman"> <SPAN style="mso-spacerun: yes">&nbsp;</SPAN></FONT></FONT></SPAN><FONT size=3><FONT face="Times New Roman"><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'; mso-bidi-font-size: 10.5pt">定州人才网</SPAN><SPAN lang=EN-US style="mso-bidi-font-size: 10.5pt"><o:p></o:p></SPAN></FONT></FONT></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="mso-bidi-font-size: 10.5pt"><A href="http://www.eshangjie.com/"><FONT face="Times New Roman" size=3>http://www.eshangjie.com</FONT></A><FONT size=3><FONT face="Times New Roman"> <SPAN style="mso-spacerun: yes">&nbsp;</SPAN></FONT></FONT></SPAN><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'"><FONT face="Times New Roman" size=3>中国工商注册网</FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="FONT-SIZE: 14pt"><o:p><FONT face="Times New Roman">&nbsp;</FONT></o:p></SPAN></B></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT size=3><FONT face="Times New Roman"><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'; mso-bidi-font-size: 10.5pt">企业</SPAN><SPAN lang=EN-US style="mso-bidi-font-size: 10.5pt"><o:p></o:p></SPAN></FONT></FONT></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="mso-bidi-font-size: 10.5pt"><A href="http://www.hnwy.net/music"><FONT face="Times New Roman" size=3>http://www.hnwy.net/music</FONT></A><FONT face="Times New Roman" size=3> </FONT></SPAN><FONT size=3><FONT face="Times New Roman"><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'; mso-bidi-font-size: 10.5pt">湖南文艺出版社音乐部</SPAN><SPAN lang=EN-US style="mso-bidi-font-size: 10.5pt"><o:p></o:p></SPAN></FONT></FONT></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="mso-bidi-font-size: 10.5pt"><A href="http://www.hnyande.com/"><FONT face="Times New Roman" size=3>http://www.hnyande.com</FONT></A><FONT size=3><FONT face="Times New Roman"> <SPAN style="mso-spacerun: yes">&nbsp;</SPAN></FONT></FONT></SPAN><FONT size=3><FONT face="Times New Roman"><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'; mso-bidi-font-size: 10.5pt">炎德文化</SPAN><SPAN lang=EN-US style="mso-bidi-font-size: 10.5pt"><o:p></o:p></SPAN></FONT></FONT></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="mso-bidi-font-size: 10.5pt"><A href="http://www.hnbpyc.com/"><FONT face="Times New Roman" size=3>http://www.hnbpyc.com</FONT></A><FONT size=3><FONT face="Times New Roman"> <SPAN style="mso-spacerun: yes">&nbsp;</SPAN></FONT></FONT></SPAN><FONT size=3><FONT face="Times New Roman"><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'; mso-bidi-font-size: 10.5pt">湖南包皮腋臭</SPAN><SPAN lang=EN-US style="mso-bidi-font-size: 10.5pt"><o:p></o:p></SPAN></FONT></FONT></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="mso-bidi-font-size: 10.5pt"><A href="http://www.cyxxkj.com/"><FONT face="Times New Roman" size=3>http://www.cyxxkj.com</FONT></A><FONT size=3><FONT face="Times New Roman"> <SPAN style="mso-spacerun: yes">&nbsp;</SPAN></FONT></FONT></SPAN><FONT size=3><FONT face="Times New Roman"><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">长沙创研信息科技有限公司</SPAN><SPAN lang=EN-US style="mso-bidi-font-size: 10.5pt"><o:p></o:p></SPAN></FONT></FONT></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="mso-bidi-font-size: 10.5pt"><A href="http://www.mindtea.com.cn/"><FONT face="Times New Roman" size=3>http://www.mindtea.com.cn</FONT></A><FONT size=3><FONT face="Times New Roman"> <SPAN style="mso-spacerun: yes">&nbsp;</SPAN></FONT></FONT></SPAN><FONT face="Times New Roman" size=3><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'; mso-bidi-font-size: 10.5pt">洗心禅茶</SPAN></FONT></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="mso-bidi-font-size: 14.0pt"><o:p><FONT face="Times New Roman" size=3>&nbsp;</FONT></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="mso-bidi-font-size: 14.0pt"><o:p><FONT face="Times New Roman" size=3>&nbsp;</FONT></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><B style="mso-bidi-font-weight: normal"><SPAN style="FONT-SIZE: 14pt; FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'"><FONT face="Times New Roman">教育背景</FONT></SPAN></B><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="FONT-SIZE: 14pt"><BR></SPAN></B><FONT size=3><FONT face="Times New Roman"><SPAN lang=EN-US>2003</SPAN><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">年</SPAN><SPAN lang=EN-US>9</SPAN><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">月</SPAN><SPAN lang=EN-US>~2006</SPAN><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">年</SPAN><SPAN lang=EN-US>6</SPAN><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">月</SPAN><SPAN lang=EN-US><SPAN style="mso-spacerun: yes">&nbsp;&nbsp; </SPAN></SPAN><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">湖南科技职业学院</SPAN></FONT></FONT><SPAN lang=EN-US><BR></SPAN><FONT size=3><FONT face="Times New Roman"><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">软件工程，</SPAN><SPAN lang=EN-US>NIIT</SPAN></FONT><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'"><FONT face="Times New Roman">印度教育体系<BR></FONT></SPAN></FONT></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US><FONT size=3><BR><FONT face="Times New Roman">IT </FONT></FONT></SPAN></B><B style="mso-bidi-font-weight: normal"><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'"><FONT face="Times New Roman" size=3>证书和培训</FONT></SPAN><SPAN lang=EN-US><FONT face="Times New Roman" size=3>:<BR></FONT></SPAN></B><FONT size=3><FONT face="Times New Roman"><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">获得</SPAN><SPAN lang=EN-US>NIIT</SPAN><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">证书</SPAN></FONT></FONT><SPAN lang=EN-US><BR></SPAN><FONT size=3><FONT face="Times New Roman"><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">参加过博客园（</SPAN><SPAN lang=EN-US>www.cnblogs.com</SPAN><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">）</SPAN><SPAN lang=EN-US>,vs2005</SPAN><SPAN style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">开发培训。</SPAN></FONT></FONT></P>
<P class=MsoNormal style="MARGIN: 5pt 0cm"><FONT size=3><SPAN style="FONT-FAMILY: Arial; mso-fareast-font-family: Arial; mso-bidi-font-family: 'Times New Roman'; mso-ansi-language: ZH-CN"><FONT face="Times New Roman">多次在MSDN,WEBCAST网络广播上获得奖励</FONT></SPAN><SPAN style="FONT-FAMILY: 宋体; mso-ansi-language: ZH-CN"><FONT face="Times New Roman">。<BR></FONT></SPAN></FONT><SPAN lang=EN-US><BR></SPAN><FONT face="Times New Roman"><B style="mso-bidi-font-weight: normal"><SPAN style="FONT-SIZE: 14pt; FONT-FAMILY: 宋体; mso-bidi-font-size: 12.0pt; mso-ansi-language: ZH-CN">工作技能</SPAN></B><B style="mso-bidi-font-weight: normal"><SPAN style="FONT-SIZE: 14pt; mso-bidi-font-size: 12.0pt; mso-fareast-font-family: 'Times New Roman'; mso-ansi-language: ZH-CN">:<o:p></o:p></SPAN></B></FONT></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT size=3><FONT face="Times New Roman"><SPAN style="FONT-FAMILY: 宋体; mso-ansi-language: ZH-CN">熟悉系统开发及</SPAN><SPAN style="mso-fareast-font-family: 'Times New Roman'; mso-ansi-language: ZH-CN">Web</SPAN></FONT><FONT face="Times New Roman"><SPAN style="FONT-FAMILY: 宋体; mso-ansi-language: ZH-CN">开发;<BR>熟悉</SPAN><SPAN style="mso-fareast-font-family: 'Times New Roman'; mso-ansi-language: ZH-CN">HTML, CSS<SPAN style="mso-spacerun: yes">&nbsp; </SPAN>, AJAX, Javascript, DIV+CSS;</SPAN></FONT></FONT></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT size=3><FONT face="Times New Roman"><SPAN style="FONT-FAMILY: 宋体; mso-ansi-language: ZH-CN">熟悉 </SPAN><SPAN style="mso-fareast-font-family: 'Times New Roman'; mso-ansi-language: ZH-CN">C# </SPAN></FONT><SPAN style="FONT-FAMILY: 宋体; mso-ansi-language: ZH-CN"><FONT face="Times New Roman">语言基础及常用库;</FONT></SPAN></FONT><FONT size=3><SPAN style="FONT-FAMILY: 宋体; mso-ansi-language: ZH-CN"><FONT face="Times New Roman"><BR>熟悉 ActionSrcipt3.0 Flex常用库;能使用Flex Builder 3进行<SPAN style="FONT-FAMILY: 宋体; mso-ansi-language: ZH-CN"><FONT face="Times New Roman">开发；</FONT></SPAN><BR>熟悉</FONT></SPAN><FONT face="Times New Roman"><SPAN style="FONT-FAMILY: Arial; mso-fareast-font-family: Arial; mso-bidi-font-family: 'Times New Roman'; mso-ansi-language: ZH-CN">三层架构开发;<BR>熟悉</SPAN><SPAN style="mso-fareast-font-family: 'Times New Roman'; mso-ansi-language: ZH-CN">MS SQLServer2000 2005</SPAN><SPAN style="FONT-FAMILY: 宋体; mso-ansi-language: ZH-CN">等数据库;</SPAN></FONT></FONT><FONT size=3><SPAN style="FONT-FAMILY: 宋体; mso-ansi-language: ZH-CN"><BR><FONT face="Times New Roman">对</FONT></SPAN><FONT face="Times New Roman"><SPAN style="mso-fareast-font-family: 'Times New Roman'; mso-ansi-language: ZH-CN">OO</SPAN><SPAN style="FONT-FAMILY: 宋体; mso-ansi-language: ZH-CN">思想、设计模式和软件体系结构有深入理解;</SPAN></FONT></FONT></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT size=3><FONT face="Times New Roman"><SPAN style="FONT-FAMILY: 宋体; mso-ansi-language: ZH-CN">熟练使用</SPAN><SPAN style="mso-fareast-font-family: 'Times New Roman'; mso-ansi-language: ZH-CN"> Windows</SPAN></FONT><SPAN style="FONT-FAMILY: 宋体; mso-ansi-language: ZH-CN"><FONT face="Times New Roman">操作系统;<BR>熟悉UML及相应建模工具，如（Visio/PowerDesigner） <o:p></o:p></FONT></SPAN></FONT></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT size=3><FONT face="Times New Roman"><SPAN style="FONT-FAMILY: 宋体; mso-ansi-language: ZH-CN">熟练使用微软的开发环境，如 </SPAN><SPAN style="mso-fareast-font-family: 'Times New Roman'; mso-ansi-language: ZH-CN">VS.Net 2003, VS.Net 2005；</SPAN></FONT></FONT></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT size=3><FONT face="Times New Roman"><SPAN style="mso-fareast-font-family: 'Times New Roman'; mso-ansi-language: ZH-CN">熟练使用源代码工具，如Visual SourceSafe, SVN；</SPAN></FONT></FONT></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT size=3><FONT face="Times New Roman"><SPAN style="mso-fareast-font-family: 'Times New Roman'; mso-ansi-language: ZH-CN">在校期间学习过java。</SPAN></FONT></FONT></P><FONT size=3><FONT face="Times New Roman"><SPAN style="mso-fareast-font-family: 'Times New Roman'; mso-ansi-language: ZH-CN"></SPAN></FONT></FONT></SPAN></SPAN></DIV>
<DIV><SPAN style="FONT-SIZE: 22pt; FONT-FAMILY: 黑体"><SPAN style="FONT-SIZE: 22pt; FONT-FAMILY: 黑体"><FONT size=3><FONT face="Times New Roman"><SPAN style="mso-fareast-font-family: 'Times New Roman'; mso-ansi-language: ZH-CN"></SPAN></FONT></FONT><B style="mso-bidi-font-weight: normal"><SPAN style="FONT-SIZE: 14pt; FONT-FAMILY: 宋体; mso-bidi-font-size: 12.0pt; mso-ansi-language: ZH-CN">
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><BR><FONT face="Times New Roman">特别之处</FONT></SPAN></B><FONT face="Times New Roman"><B style="mso-bidi-font-weight: normal"><SPAN style="FONT-SIZE: 14pt; mso-bidi-font-size: 12.0pt; mso-fareast-font-family: 'Times New Roman'; mso-ansi-language: ZH-CN">:</SPAN></B><B style="mso-bidi-font-weight: normal"><SPAN style="FONT-FAMILY: Arial; mso-fareast-font-family: Arial; mso-bidi-font-family: 'Times New Roman'; mso-ansi-language: ZH-CN"><o:p></o:p></SPAN></B></FONT></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT size=3><FONT face="Times New Roman"><SPAN style="FONT-FAMILY: 宋体; mso-ansi-language: ZH-CN">逻辑思维能力、分析能力强；</SPAN><SPAN style="FONT-FAMILY: Arial; mso-fareast-font-family: Arial; mso-bidi-font-family: 'Times New Roman'; mso-ansi-language: ZH-CN"><o:p></o:p></SPAN></FONT></FONT></P>
<P class=MsoNormal style="MARGIN: 5pt 0cm"><FONT size=3><FONT face="Times New Roman"><SPAN style="FONT-FAMILY: 宋体; mso-ansi-language: ZH-CN">对项目的计划进度安排的掌控能力强；</SPAN><SPAN style="FONT-FAMILY: Arial; mso-fareast-font-family: Arial; mso-bidi-font-family: 'Times New Roman'; mso-ansi-language: ZH-CN"><o:p></o:p></SPAN></FONT></FONT></P>
<P class=MsoNormal style="MARGIN: 5pt 0cm"><FONT size=3><FONT face="Times New Roman"><SPAN style="FONT-FAMILY: 宋体; mso-ansi-language: ZH-CN">很好的团队合作精神；</SPAN><SPAN style="FONT-FAMILY: Arial; mso-fareast-font-family: Arial; mso-bidi-font-family: 'Times New Roman'; mso-ansi-language: ZH-CN"><o:p></o:p></SPAN></FONT></FONT></P>
<P class=MsoNormal style="MARGIN: 5pt 0cm"><FONT face="Times New Roman" size=3><SPAN style="FONT-FAMILY: 宋体; mso-ansi-language: ZH-CN">同时对网站策划，运营方面有自己的见解；<BR></SPAN></FONT><B style="mso-bidi-font-weight: normal"><SPAN style="FONT-SIZE: 14pt; FONT-FAMILY: 宋体; mso-bidi-font-size: 12.0pt; mso-ansi-language: ZH-CN"><BR><FONT face="Times New Roman">业余爱好</FONT></SPAN></B><FONT face="Times New Roman"><B style="mso-bidi-font-weight: normal"><SPAN style="FONT-SIZE: 14pt; mso-bidi-font-size: 12.0pt; mso-fareast-font-family: 'Times New Roman'; mso-ansi-language: ZH-CN">:</SPAN></B><B style="mso-bidi-font-weight: normal"><SPAN style="FONT-FAMILY: Arial; mso-fareast-font-family: Arial; mso-bidi-font-family: 'Times New Roman'; mso-ansi-language: ZH-CN"><o:p></o:p></SPAN></B></FONT></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT size=3><FONT face="Times New Roman"><SPAN style="FONT-FAMILY: 宋体; mso-ansi-language: ZH-CN">喜欢阅读网页设计，网站运营相关书籍。</SPAN><SPAN style="FONT-FAMILY: Arial; mso-fareast-font-family: Arial; mso-bidi-font-family: 'Times New Roman'; mso-ansi-language: ZH-CN"><o:p></o:p></SPAN></FONT></FONT></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><o:p><FONT face="Times New Roman" size=3>&nbsp;</FONT></o:p></SPAN></P></SPAN></SPAN></DIV></FONT></SPAN><FONT face="Times New Roman"></FONT></SPAN></SPAN><img src ="http://www.cnblogs.com/yintian2/aggbug/1270920.html?type=1" width = "1" height = "1" /><br><br><a href="http://news.cnblogs.com/n/41940/" target="_blank">[新闻]惠普139亿美元完成对EDS的收购</a>]]></description></item><item><title>HttpModule 工作原理（转）</title><link>http://www.cnblogs.com/yintian2/archive/2008/07/30/1256131.html</link><dc:creator>阴天·爱 </dc:creator><author>阴天·爱 </author><pubDate>Wed, 30 Jul 2008 01:34:00 GMT</pubDate><guid>http://www.cnblogs.com/yintian2/archive/2008/07/30/1256131.html</guid><wfw:comment>http://www.cnblogs.com/yintian2/comments/1256131.html</wfw:comment><comments>http://www.cnblogs.com/yintian2/archive/2008/07/30/1256131.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cnblogs.com/yintian2/comments/commentRss/1256131.html</wfw:commentRss><trackback:ping>http://www.cnblogs.com/yintian2/services/trackbacks/1256131.html</trackback:ping><description><![CDATA[摘要: 当一个HTTP请求到达HttpModule时，整个ASP.NET Framework系统还并没有对这个HTTP请求做任何处理，也就是说此时对于HTTP请求来讲，HttpModule是一个HTTP请求的“必经之路”，所以可以在这个HTTP请求传递到真正的请求处理中心（HttpHandler）之前附加一些需要的信息在这个HTTP请求信息之上，或者针对截获的这个HTTP请求信息作一些额外的工作，或者在某些情况下干脆终止满足一些条件的HTTP请求，从而可以起到一个Filter过滤器的作用。&nbsp;&nbsp;<a href='http://www.cnblogs.com/yintian2/archive/2008/07/30/1256131.html'>阅读全文</a><img src ="http://www.cnblogs.com/yintian2/aggbug/1256131.html?type=1" width = "1" height = "1" /><br><br><a href="http://news.cnblogs.com/n/41939/" target="_blank">[新闻]搜狗五笔输入法发布</a>]]></description></item><item><title>Flex 拖拽</title><link>http://www.cnblogs.com/yintian2/archive/2008/06/12/1218089.html</link><dc:creator>阴天·爱 </dc:creator><author>阴天·爱 </author><pubDate>Thu, 12 Jun 2008 01:14:00 GMT</pubDate><guid>http://www.cnblogs.com/yintian2/archive/2008/06/12/1218089.html</guid><wfw:comment>http://www.cnblogs.com/yintian2/comments/1218089.html</wfw:comment><comments>http://www.cnblogs.com/yintian2/archive/2008/06/12/1218089.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cnblogs.com/yintian2/comments/commentRss/1218089.html</wfw:commentRss><trackback:ping>http://www.cnblogs.com/yintian2/services/trackbacks/1218089.html</trackback:ping><description><![CDATA[<H2 class=post-title>Flex 拖拽范例</H2>
<DIV class=post-body>Flex由于在其Framwork里加入了DragDrop管理器，可以使得开发者在Flex应用中实现类似桌面的效果，默认情况下，Flex的拖拽管理器是针对List等控件的，实现这类控件之间的Item拖拽非常容易。下面是一个很简单的小例子：<BR>
<OBJECT codeBase=http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0 height=350 width=450 classid=clsid:D27CDB6E-AE6D-11cf-96B8-444553540000><PARAM NAME="_cx" VALUE="11906"><PARAM NAME="_cy" VALUE="9260"><PARAM NAME="FlashVars" VALUE=""><PARAM NAME="Movie" VALUE="http://www.7yue.com/upload/DragDrop.swf"><PARAM NAME="Src" VALUE="http://www.7yue.com/upload/DragDrop.swf"><PARAM NAME="WMode" VALUE="Window"><PARAM NAME="Play" VALUE="0"><PARAM NAME="Loop" VALUE="-1"><PARAM NAME="Quality" VALUE="High"><PARAM NAME="SAlign" VALUE="LT"><PARAM NAME="Menu" VALUE="-1"><PARAM NAME="Base" VALUE=""><PARAM NAME="AllowScriptAccess" VALUE=""><PARAM NAME="Scale" VALUE="NoScale"><PARAM NAME="DeviceFont" VALUE="0"><PARAM NAME="EmbedMovie" VALUE="0"><PARAM NAME="BGColor" VALUE=""><PARAM NAME="SWRemote" VALUE=""><PARAM NAME="MovieData" VALUE=""><PARAM NAME="SeamlessTabbing" VALUE="1"><PARAM NAME="Profile" VALUE="0"><PARAM NAME="ProfileAddress" VALUE=""><PARAM NAME="ProfilePort" VALUE="0"><PARAM NAME="AllowNetworking" VALUE="all"><PARAM NAME="AllowFullScreen" VALUE="false">
<embed src="http://www.7yue.com/upload/DragDrop.swf" quality="high" 
pluginspage="http://www.macromedia.com/go/getflashplayer" 
type="application/x-shockwave-flash" width="450" height="350" 
play="True"></embed></OBJECT><BR>代码如下：<BR>
<P class=code>&lt;?xml&nbsp;version="1.0"&nbsp;encoding="utf-8"?&gt;<BR>&lt;mx:Application&nbsp;xmlns:mx="http://www.adobe.com/2006/mxml"&nbsp;layout="absolute"&nbsp;width="450"&nbsp;height="350"&nbsp;creationComplete="initApp()"&nbsp;backgroundColor="#FFFFFF"&nbsp;fontSize="12"&gt;&nbsp;<BR>&lt;mx:Script&gt;<BR>&nbsp;&nbsp;&lt;![CDATA[<BR>&nbsp;&nbsp;&nbsp;&nbsp;private&nbsp;function&nbsp;initApp():void{<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;words.dataProvider=['Water','水','Car','汽车','House','房屋','Book','书籍','Music','音乐','Sandwich','三明治'];<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;english.dataProvider=[];<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;chinese.dataProvider=[];<BR>&nbsp;&nbsp;&nbsp;&nbsp;}<BR>&nbsp;&nbsp;]]&gt;<BR>&lt;/mx:Script&gt;<BR>&nbsp;&nbsp;&lt;mx:Panel&nbsp;x="0"&nbsp;y="0"&nbsp;width="450"&nbsp;height="350"&nbsp;layout="absolute"&nbsp;title="Sort&nbsp;Words&nbsp;By&nbsp;Language"&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&lt;mx:Label&nbsp;x="7"&nbsp;y="3"&nbsp;text="Drag&nbsp;to&nbsp;Correct&nbsp;Language"/&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&lt;mx:List&nbsp;x="7"&nbsp;y="25"&nbsp;id="words"&nbsp;width="200"&nbsp;height="275"&nbsp;allowMultipleSelection="true"&nbsp;dragEnabled="true"&gt;&lt;/mx:List&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&lt;mx:Label&nbsp;x="223"&nbsp;y="6"&nbsp;text="English"/&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&lt;mx:List&nbsp;x="223"&nbsp;y="25"&nbsp;id="english"&nbsp;width="200"&nbsp;height="120"&nbsp;dropEnabled="true"&gt;&lt;/mx:List&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&lt;mx:Label&nbsp;x="223"&nbsp;y="150"&nbsp;text="中文"/&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&lt;mx:List&nbsp;x="223"&nbsp;y="177"&nbsp;id="chinese"&nbsp;width="200"&nbsp;height="120"&nbsp;dropEnabled="true"&gt;&lt;/mx:List&gt;<BR>&nbsp;&nbsp;&lt;/mx:Panel&gt;<BR>&lt;/mx:Application&gt;<BR></P>但是，拖拽管理器还能定制化到特定的控件之上，比如Image，Datagrid等，下面则是一个定制化的例子：<BR>
<OBJECT codeBase=http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0 height=400 width=400 classid=clsid:D27CDB6E-AE6D-11cf-96B8-444553540000><PARAM NAME="_cx" VALUE="10583"><PARAM NAME="_cy" VALUE="10583"><PARAM NAME="FlashVars" VALUE=""><PARAM NAME="Movie" VALUE="http://www.7yue.com/upload/Custom_dragdrop.swf"><PARAM NAME="Src" VALUE="http://www.7yue.com/upload/Custom_dragdrop.swf"><PARAM NAME="WMode" VALUE="Window"><PARAM NAME="Play" VALUE="0"><PARAM NAME="Loop" VALUE="-1"><PARAM NAME="Quality" VALUE="High"><PARAM NAME="SAlign" VALUE="LT"><PARAM NAME="Menu" VALUE="-1"><PARAM NAME="Base" VALUE=""><PARAM NAME="AllowScriptAccess" VALUE=""><PARAM NAME="Scale" VALUE="NoScale"><PARAM NAME="DeviceFont" VALUE="0"><PARAM NAME="EmbedMovie" VALUE="0"><PARAM NAME="BGColor" VALUE=""><PARAM NAME="SWRemote" VALUE=""><PARAM NAME="MovieData" VALUE=""><PARAM NAME="SeamlessTabbing" VALUE="1"><PARAM NAME="Profile" VALUE="0"><PARAM NAME="ProfileAddress" VALUE=""><PARAM NAME="ProfilePort" VALUE="0"><PARAM NAME="AllowNetworking" VALUE="all"><PARAM NAME="AllowFullScreen" VALUE="false">
<embed src="http://www.7yue.com/upload/Custom_dragdrop.swf" quality="high" 
pluginspage="http://www.macromedia.com/go/getflashplayer" 
type="application/x-shockwave-flash" width="400" height="400" 
play="True"></embed></OBJECT><BR>代码如下：<BR>
<P class=code>&lt;?xml&nbsp;version="1.0"&nbsp;encoding="utf-8"?&gt;<BR>&lt;mx:Application&nbsp;xmlns:mx="http://www.adobe.com/2006/mxml"&nbsp;width="400"&nbsp;height="400"&nbsp;backgroundColor="#FFFFFF"&nbsp;creationComplete="initApp()"&nbsp;layout="absolute"&gt;<BR>&nbsp;&nbsp;&lt;mx:Script&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&lt;![CDATA[<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;import&nbsp;mx.controls.DataGrid;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;import&nbsp;mx.controls.Image;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;import&nbsp;mx.collections.ArrayCollection;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;import&nbsp;mx.events.DragEvent;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;import&nbsp;mx.managers.DragManager;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;import&nbsp;mx.core.DragSource;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[Bindable]<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;public&nbsp;var&nbsp;total:Number=0;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[Bindable]<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;public&nbsp;var&nbsp;cartContents:ArrayCollection;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;private&nbsp;function&nbsp;initApp():void{<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;this.cartContents=new&nbsp;ArrayCollection();<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;private&nbsp;function&nbsp;dragIt(event:MouseEvent,name:String,price:Number):void{<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;//CurrentTarget指定要实现拖拽事件的初始化目标<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;var&nbsp;dragInitiator:Image=event.currentTarget&nbsp;as&nbsp;Image;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;//指定一个dragSource来包括拖拽过程中包含的数据的对象<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;var&nbsp;dragSource:DragSource=new&nbsp;DragSource();<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;//向对象添加数据<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;dragSource.addData(name,'name');<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;dragSource.addData(price,'price');<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;//创建一个拖拽对象的代理作为拷贝<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;var&nbsp;dragProxy:Image=new&nbsp;Image();<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;dragProxy.source=event.currentTarget.source;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;//使用DragManager静态方法doDrag开始拖拽<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;DragManager.doDrag(dragInitiator,dragSource,event,dragProxy);<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;private&nbsp;function&nbsp;dragEnterHandler(event:DragEvent):void{<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;var&nbsp;dropTarget:DataGrid=event.currentTarget&nbsp;as&nbsp;DataGrid;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if&nbsp;(event.dragSource.hasFormat('name')&nbsp;&amp;&amp;&nbsp;event.dragSource.hasFormat('price')){<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;DragManager.acceptDragDrop(dropTarget);<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;private&nbsp;function&nbsp;dragDropHandler(event:DragEvent):void{<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;var&nbsp;name:String=&nbsp;String(event.dragSource.dataForFormat('name'));<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;var&nbsp;price:Number=Number(event.dragSource.dataForFormat('price'));<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;this.cartContents.addItem({name:String(event.dragSource.dataForFormat('name')),price:String(event.dragSource.dataForFormat('price'))});<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;total+=price;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<BR>&nbsp;&nbsp;&nbsp;&nbsp;]]&gt;<BR>&nbsp;&nbsp;&lt;/mx:Script&gt;<BR>&nbsp;&nbsp;&lt;mx:Canvas&nbsp;x="19"&nbsp;y="10"&gt;<BR>&nbsp;&nbsp;&lt;mx:Image&nbsp;x="23"&nbsp;y="35"&nbsp;width="64"&nbsp;height="64"&nbsp;mouseMove="dragIt(event,'Dreamweaver',499);"&nbsp;source="@Embed(source='../assets/056.png')"/&gt;<BR>&nbsp;&nbsp;&lt;mx:Label&nbsp;x="41"&nbsp;y="107"&nbsp;text="499"/&gt;<BR>&nbsp;&nbsp;&lt;mx:Image&nbsp;x="23"&nbsp;y="133"&nbsp;width="64"&nbsp;height="64"&nbsp;mouseMove="dragIt(event,'Fireworks',299);"&nbsp;&nbsp;source="@Embed(source='../assets/057.png')"/&gt;<BR>&nbsp;&nbsp;&lt;mx:Label&nbsp;x="41"&nbsp;y="205"&nbsp;text="299"/&gt;<BR>&nbsp;&nbsp;&lt;mx:Image&nbsp;x="23"&nbsp;y="231"&nbsp;width="64"&nbsp;height="64"&nbsp;mouseMove="dragIt(event,'Flash',599);"&nbsp;source="@Embed(source='../assets/059.png')"/&gt;<BR>&nbsp;&nbsp;&lt;mx:Label&nbsp;x="41"&nbsp;y="303"&nbsp;text="599"/&gt;<BR>&nbsp;&nbsp;&lt;/mx:Canvas&gt;<BR>&nbsp;&nbsp;&lt;mx:Label&nbsp;x="210"&nbsp;y="61"&nbsp;text="购物篮"&nbsp;fontSize="12"/&gt;<BR>&nbsp;&nbsp;&lt;mx:DataGrid&nbsp;x="129.5"&nbsp;y="102"&nbsp;id="cart"&nbsp;dataProvider="{cartContents}"&nbsp;dragEnter="dragEnterHandler(event);"&nbsp;dragDrop="dragDropHandler(event);"&nbsp;height="165"&nbsp;fontSize="12"&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&lt;mx:columns&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;mx:DataGridColumn&nbsp;headerText="产品"&nbsp;dataField="name"/&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;mx:DataGridColumn&nbsp;headerText="价格"&nbsp;dataField="price"/&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&lt;/mx:columns&gt;<BR>&nbsp;&nbsp;&lt;/mx:DataGrid&gt;<BR>&nbsp;&nbsp;&lt;mx:Label&nbsp;x="186"&nbsp;y="292"&nbsp;text="总计：{total}"&nbsp;fontSize="12"/&gt;<BR>&nbsp;&nbsp;&lt;mx:Label&nbsp;x="129.5"&nbsp;y="0"&nbsp;text="拖拽物品放入购物篮中"&nbsp;fontSize="12"/&gt;<BR>&nbsp;&nbsp;&lt;mx:HRule&nbsp;x="5"&nbsp;y="20"&nbsp;width="390"/&gt;<BR>&nbsp;&nbsp;<BR>&lt;/mx:Application&gt;<BR></P>对于刚刚用拖拽管理器的朋友，这2个例子应该足够了。</DIV><img src ="http://www.cnblogs.com/yintian2/aggbug/1218089.html?type=1" width = "1" height = "1" /><br><br><a href="http://news.cnblogs.com/n/41938/" target="_blank">[新闻]新学年开始 大学生适用的十大互联网应用</a>]]></description></item><item><title>ASP.NET防止盗链(转)</title><link>http://www.cnblogs.com/yintian2/archive/2008/06/11/1217516.html</link><dc:creator>阴天·爱 </dc:creator><author>阴天·爱 </author><pubDate>Wed, 11 Jun 2008 10:06:00 GMT</pubDate><guid>http://www.cnblogs.com/yintian2/archive/2008/06/11/1217516.html</guid><wfw:comment>http://www.cnblogs.com/yintian2/comments/1217516.html</wfw:comment><comments>http://www.cnblogs.com/yintian2/archive/2008/06/11/1217516.html#Feedback</comments><slash:comments>3</slash:comments><wfw:commentRss>http://www.cnblogs.com/yintian2/comments/commentRss/1217516.html</wfw:commentRss><trackback:ping>http://www.cnblogs.com/yintian2/services/trackbacks/1217516.html</trackback:ping><description><![CDATA[摘要: 所谓盗链就是指其他网站把我们站点的文件链接帖到他们站上，这样白白占用我们的带宽。访问对于网站盗链行为，是非常不道德的。要实现防盗链，我们就得在IIS处理URL时拦截。&nbsp;&nbsp;<a href='http://www.cnblogs.com/yintian2/archive/2008/06/11/1217516.html'>阅读全文</a><img src ="http://www.cnblogs.com/yintian2/aggbug/1217516.html?type=1" width = "1" height = "1" /><br><br><a href="http://news.cnblogs.com/n/41937/" target="_blank">[新闻]Google拟在9月发布自有浏览器 或采用火狐内核</a>]]></description></item><item><title>CS0016: 未能写入输出文件“C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET Files\webapp\2adfa36a\1a90a869\8_prkz0n.dll" 错误的解决办法。 </title><link>http://www.cnblogs.com/yintian2/archive/2008/04/28/1174132.html</link><dc:creator>阴天·爱 </dc:creator><author>阴天·爱 </author><pubDate>Mon, 28 Apr 2008 02:35:00 GMT</pubDate><guid>http://www.cnblogs.com/yintian2/archive/2008/04/28/1174132.html</guid><wfw:comment>http://www.cnblogs.com/yintian2/comments/1174132.html</wfw:comment><comments>http://www.cnblogs.com/yintian2/archive/2008/04/28/1174132.html#Feedback</comments><slash:comments>1</slash:comments><wfw:commentRss>http://www.cnblogs.com/yintian2/comments/commentRss/1174132.html</wfw:commentRss><trackback:ping>http://www.cnblogs.com/yintian2/services/trackbacks/1174132.html</trackback:ping><description><![CDATA[<P>编译错误 <BR>说明: 在编译向该请求提供服务所需资源的过程中出现错误。请检查下列特定错误详细信息并适当地修改源码。</P>
<P>编译器错误信息: CS0016: 未能写入输出文件“d:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET</P>
<P>Files\5177u\d087da43\c12930d8\9ze28k_8.dll”--“拒绝访问。 ”</P>
<P>源错误:<BR>[没有相关的源行]<BR>源文件:&nbsp;&nbsp;&nbsp; 行: 0</P>
<P>解决办法：</P>
<P style="FONT-WEIGHT: bold"><SPAN style="FONT-WEIGHT: normal">前几天碰到这个问题，试过很多方法，比如：停止索引服务，重装IIS，重装.Net Framework,删除Temporary ASP.NET Files目录再重赋权限，甚至重装系统，问题依旧；还有一点很奇怪，我重装系统前赋予了Temporary ASP.NET Files文件夹asp.net,network service和everyone用户的最大权限，但是我格式化重装系统后，Temporary ASP.NET Files目录的权限设置居然跟重装系统之前一样，不知是不是NTFS文件系统的问题，网上搜了一下，很多人碰到这个问题想到的都是给Temporary ASP.NET Files目录赋权限，我开始也是这样，最后在微软的网站搜到了这个问题的解决方法，其实很简单，</SPAN><SPAN style="FONT-WEIGHT: bold">只要在Windows/temp权限设置里</SPAN>面把Network service（如果是win2000则是asp.net用户）的权限加上就行。</P><img src ="http://www.cnblogs.com/yintian2/aggbug/1174132.html?type=1" width = "1" height = "1" /><br><br><a href="http://news.cnblogs.com/n/41936/" target="_blank">[新闻]微软正在构思将Wi-Fi带入汽车</a>]]></description></item><item><title>FLEX 12个基础 很有用的方法</title><link>http://www.cnblogs.com/yintian2/archive/2008/04/23/1167581.html</link><dc:creator>阴天·爱 </dc:creator><author>阴天·爱 </author><pubDate>Wed, 23 Apr 2008 07:29:00 GMT</pubDate><guid>http://www.cnblogs.com/yintian2/archive/2008/04/23/1167581.html</guid><wfw:comment>http://www.cnblogs.com/yintian2/comments/1167581.html</wfw:comment><comments>http://www.cnblogs.com/yintian2/archive/2008/04/23/1167581.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cnblogs.com/yintian2/comments/commentRss/1167581.html</wfw:commentRss><trackback:ping>http://www.cnblogs.com/yintian2/services/trackbacks/1167581.html</trackback:ping><description><![CDATA[摘要: No.1 复制到系统剪贴板上的文本: <br>System.setClipboard(strContent);<br><br>No.2 克隆一个ArrayCollection: <br>&nbsp;&nbsp;<a href='http://www.cnblogs.com/yintian2/archive/2008/04/23/1167581.html'>阅读全文</a><img src ="http://www.cnblogs.com/yintian2/aggbug/1167581.html?type=1" width = "1" height = "1" /><br><br><a href="http://news.cnblogs.com/n/41935/" target="_blank">[新闻]对比测试：IE8 Beta 2 VS Firefox 3.0.1</a>]]></description></item><item><title>取得工作目录下的文件</title><link>http://www.cnblogs.com/yintian2/archive/2008/04/21/1164105.html</link><dc:creator>阴天·爱 </dc:creator><author>阴天·爱 </author><pubDate>Mon, 21 Apr 2008 08:19:00 GMT</pubDate><guid>http://www.cnblogs.com/yintian2/archive/2008/04/21/1164105.html</guid><wfw:comment>http://www.cnblogs.com/yintian2/comments/1164105.html</wfw:comment><comments>http://www.cnblogs.com/yintian2/archive/2008/04/21/1164105.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cnblogs.com/yintian2/comments/commentRss/1164105.html</wfw:commentRss><trackback:ping>http://www.cnblogs.com/yintian2/services/trackbacks/1164105.html</trackback:ping><description><![CDATA[<P>&nbsp; //取得工作目录下的文件<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; public static ArrayList ListFiles(string strFolderEntry)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ArrayList objFileList = new ArrayList();<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ListFilesFormFolder(strFolderEntry, ref objFileList);<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; return objFileList;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }</P>
<P>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; private static void ListFilesFormFolder(string strFolderEntry, ref ArrayList objFileList)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; foreach (string strFile in Directory.GetFiles(strFolderEntry))<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if (!objFileList.Contains(strFile))<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; objFileList.Add(strFile);<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }</P>
<P>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; foreach (string strFolder in Directory.GetDirectories(strFolderEntry))<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ListFilesFormFolder(strFolder, ref objFileList);<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }</P><img src ="http://www.cnblogs.com/yintian2/aggbug/1164105.html?type=1" width = "1" height = "1" /><br><br><a href="http://news.cnblogs.com/n/41934/" target="_blank">[新闻]iPhone存在严重密码安全漏洞</a>]]></description></item><item><title>Asp.net中防止用户多次登录的方法（转）</title><link>http://www.cnblogs.com/yintian2/archive/2008/04/18/1160117.html</link><dc:creator>阴天·爱 </dc:creator><author>阴天·爱 </author><pubDate>Fri, 18 Apr 2008 08:27:00 GMT</pubDate><guid>http://www.cnblogs.com/yintian2/archive/2008/04/18/1160117.html</guid><wfw:comment>http://www.cnblogs.com/yintian2/comments/1160117.html</wfw:comment><comments>http://www.cnblogs.com/yintian2/archive/2008/04/18/1160117.html#Feedback</comments><slash:comments>2</slash:comments><wfw:commentRss>http://www.cnblogs.com/yintian2/comments/commentRss/1160117.html</wfw:commentRss><trackback:ping>http://www.cnblogs.com/yintian2/services/trackbacks/1160117.html</trackback:ping><description><![CDATA[摘要: 在web开发时，有的系统要求同一个用户在同一时间只能登录一次，也就是如果一个用户已经登录了，在退出之前如果再次登录的话需要报错。 <br>　　常见的处理方法是，在用户登录时，判断此用户是否已经在Application<br>&nbsp;&nbsp;<a href='http://www.cnblogs.com/yintian2/archive/2008/04/18/1160117.html'>阅读全文</a><img src ="http://www.cnblogs.com/yintian2/aggbug/1160117.html?type=1" width = "1" height = "1" /><br><br><a href="http://news.cnblogs.com/n/41931/" target="_blank">[新闻]GC2008：星际争霸2进程报告 微调进程延续</a>]]></description></item><item><title>大型网站的系统架构(摘) </title><link>http://www.cnblogs.com/yintian2/archive/2008/02/15/1070258.html</link><dc:creator>阴天·爱 </dc:creator><author>阴天·爱 </author><pubDate>Fri, 15 Feb 2008 15:05:00 GMT</pubDate><guid>http://www.cnblogs.com/yintian2/archive/2008/02/15/1070258.html</guid><wfw:comment>http://www.cnblogs.com/yintian2/comments/1070258.html</wfw:comment><comments>http://www.cnblogs.com/yintian2/archive/2008/02/15/1070258.html#Feedback</comments><slash:comments>4</slash:comments><wfw:commentRss>http://www.cnblogs.com/yintian2/comments/commentRss/1070258.html</wfw:commentRss><trackback:ping>http://www.cnblogs.com/yintian2/services/trackbacks/1070258.html</trackback:ping><description><![CDATA[一个小型的网站，比如个人网站，可以使用最简单的html静态页面就实现了，配合一些图片达到美化效果，所有的页面均存放在一个目录下，这样的网站对系统架构、性能的要求都很简单，随着互联网业务的不断丰富，网站相关的技术经过这些年的发展，已经细分到很细的方方面面，尤其对于大型网站来说，所采用的技术更是涉及面非常广，从硬件到软件、编程语言、数据库、WebServer、防火墙等各个领域都有了很高的要求，已经不是原来简单的html静态网站所能比拟的。 <BR><BR>大型网站，比如门户网站。在面对大量用户访问、高并发请求方面，基本的解决方案集中在这样几个环节：使用高性能的服务器、高性能的数据库、高效率的编程语言、还有高性能的Web容器。但是除了这几个方面，还没法根本解决大型网站面临的高负载和高并发问题。 <BR><BR>上面提供的几个解决思路在一定程度上也意味着更大的投入，并且这样的解决思路具备瓶颈，没有很好的扩展性，下面我从低成本、高性能和高扩张性的角度来说说我的一些经验。 <BR><BR>1、HTML静态化 <BR>其实大家都知道，效率最高、消耗最小的就是纯静态化的html页面，所以我们尽可能使我们的网站上的页面采用静态页面来实现，这个最简单的方法其实也是最有效的方法。但是对于大量内容并且频繁更新的网站，我们无法全部手动去挨个实现，于是出现了我们常见的信息发布系统CMS，像我们常访问的各个门户站点的新闻频道，甚至他们的其他频道，都是通过信息发布系统来管理和实现的，信息发布系统可以实现最简单的信息录入自动生成静态页面，还能具备频道管理、权限管理、自动抓取等功能，对于一个大型网站来说，拥有一套高效、可管理的CMS是必不可少的。 <BR><BR>除了门户和信息发布类型的网站，对于交互性要求很高的社区类型网站来说，尽可能的静态化也是提高性能的必要手段，将社区内的帖子、文章进行实时的静态化，有更新的时候再重新静态化也是大量使用的策略，像Mop的大杂烩就是使用了这样的策略，网易社区等也是如此。 <BR><BR>同时，html静态化也是某些缓存策略使用的手段，对于系统中频繁使用数据库查询但是内容更新很小的应用，可以考虑使用html静态化来实现，比如论坛中论坛的公用设置信息，这些信息目前的主流论坛都可以进行后台管理并且存储再数据库中，这些信息其实大量被前台程序调用，但是更新频率很小，可以考虑将这部分内容进行后台更新的时候进行静态化，这样避免了大量的数据库访问请求。 <BR><BR>2、图片服务器分离 <BR>大家知道，对于Web服务器来说，不管是Apache、IIS还是其他容器，图片是最消耗资源的，于是我们有必要将图片与页面进行分离，这是基本上大型网站都会采用的策略，他们都有独立的图片服务器，甚至很多台图片服务器。这样的架构可以降低提供页面访问请求的服务器系统压力，并且可以保证系统不会因为图片问题而崩溃，在应用服务器和图片服务器上，可以进行不同的配置优化，比如apache在配置ContentType的时候可以尽量少支持，尽可能少的LoadModule，保证更高的系统消耗和执行效率。 <BR><BR>3、数据库集群和库表散列 <BR>大型网站都有复杂的应用，这些应用必须使用数据库，那么在面对大量访问的时候，数据库的瓶颈很快就能显现出来，这时一台数据库将很快无法满足应用，于是我们需要使用数据库集群或者库表散列。 <BR><BR>在数据库集群方面，很多数据库都有自己的解决方案，Oracle、Sybase等都有很好的方案，常用的MySQL提供的Master/Slave也是类似的方案，您使用了什么样的DB，就参考相应的解决方案来实施即可。 <BR><BR>上面提到的数据库集群由于在架构、成本、扩张性方面都会受到所采用DB类型的限制，于是我们需要从应用程序的角度来考虑改善系统架构，库表散列是常用并且最有效的解决方案。我们在应用程序中安装业务和应用或者功能模块将数据库进行分离，不同的模块对应不同的数据库或者表，再按照一定的策略对某个页面或者功能进行更小的数据库散列，比如用户表，按照用户ID进行表散列，这样就能够低成本的提升系统的性能并且有很好的扩展性。sohu的论坛就是采用了这样的架构，将论坛的用户、设置、帖子等信息进行数据库分离，然后对帖子、用户按照板块和ID进行散列数据库和表，最终可以在配置文件中进行简单的配置便能让系统随时增加一台低成本的数据库进来补充系统性能。 <BR><BR>4、缓存 <BR>缓存一词搞技术的都接触过，很多地方用到缓存。网站架构和网站开发中的缓存也是非常重要。这里先讲述最基本的两种缓存。高级和分布式的缓存在后面讲述。 <BR>架构方面的缓存，对Apache比较熟悉的人都能知道Apache提供了自己的缓存模块，也可以使用外加的Squid模块进行缓存，这两种方式均可以有效的提高Apache的访问响应能力。 <BR>网站程序开发方面的缓存，Linux上提供的Memory Cache是常用的缓存接口，可以在web开发中使用，比如用Java开发的时候就可以调用MemoryCache对一些数据进行缓存和通讯共享，一些大型社区使用了这样的架构。另外，在使用web语言开发的时候，各种语言基本都有自己的缓存模块和方法，PHP有Pear的Cache模块，Java就更多了，.net不是很熟悉，相信也肯定有。 <BR><BR>5、镜像 <BR>镜像是大型网站常采用的提高性能和数据安全性的方式，镜像的技术可以解决不同网络接入商和地域带来的用户访问速度差异，比如ChinaNet和EduNet之间的差异就促使了很多网站在教育网内搭建镜像站点，数据进行定时更新或者实时更新。在镜像的细节技术方面，这里不阐述太深，有很多专业的现成的解决架构和产品可选。也有廉价的通过软件实现的思路，比如Linux上的rsync等工具。 <BR><BR>6、负载均衡 <BR>负载均衡将是大型网站解决高负荷访问和大量并发请求采用的终极解决办法。 <BR>负载均衡技术发展了多年，有很多专业的服务提供商和产品可以选择，我个人接触过一些解决方法，其中有两个架构可以给大家做参考。 <BR>硬件四层交换 <BR>第四层交换使用第三层和第四层信息包的报头信息，根据应用区间识别业务流，将整个区间段的业务流分配到合适的应用服务器进行处理。　第四层交换功能就象是虚IP，指向物理服务器。它传输的业务服从的协议多种多样，有HTTP、FTP、NFS、Telnet或其他协议。这些业务在物理服务器基础上，需要复杂的载量平衡算法。在IP世界，业务类型由终端TCP或UDP端口地址来决定，在第四层交换中的应用区间则由源端和终端IP地址、TCP和UDP端口共同决定。 <BR>在硬件四层交换产品领域，有一些知名的产品可以选择，比如Alteon、F5等，这些产品很昂贵，但是物有所值，能够提供非常优秀的性能和很灵活的管理能力。Yahoo中国当初接近2000台服务器使用了三四台Alteon就搞定了。 <BR><BR>软件四层交换 <BR>大家知道了硬件四层交换机的原理后，基于OSI模型来实现的软件四层交换也就应运而生，这样的解决方案实现的原理一致，不过性能稍差。但是满足一定量的压力还是游刃有余的，有人说软件实现方式其实更灵活，处理能力完全看你配置的熟悉能力。 <BR>软件四层交换我们可以使用Linux上常用的LVS来解决，LVS就是Linux Virtual Server，他提供了基于心跳线heartbeat的实时灾难应对解决方案，提高系统的鲁棒性，同时可供了灵活的虚拟VIP配置和管理功能，可以同时满足多种应用需求，这对于分布式的系统来说必不可少。 <BR><BR>一个典型的使用负载均衡的策略就是，在软件或者硬件四层交换的基础上搭建squid集群，这种思路在很多大型网站包括搜索引擎上被采用，这样的架构低成本、高性能还有很强的扩张性，随时往架构里面增减节点都非常容易。这样的架构我准备空了专门详细整理一下和大家探讨。 <BR><BR>对于大型网站来说，前面提到的每个方法可能都会被同时使用到，我这里介绍得比较浅显，具体实现过程中很多细节还需要大家慢慢熟悉和体会，有时一个很小的squid参数或者apache参数设置，对于系统性能的影响就会很大，希望大家一起讨论，达到抛砖引玉之效。 <img src ="http://www.cnblogs.com/yintian2/aggbug/1070258.html?type=1" width = "1" height = "1" /><br><br><a href="http://news.cnblogs.com/n/41930/" target="_blank">[新闻]科学家在世界最大对撞机中观察到首批粒子</a>]]></description></item><item><title>ActionSrcipt 资源</title><link>http://www.cnblogs.com/yintian2/archive/2008/01/11/1035509.html</link><dc:creator>阴天·爱 </dc:creator><author>阴天·爱 </author><pubDate>Fri, 11 Jan 2008 09:02:00 GMT</pubDate><guid>http://www.cnblogs.com/yintian2/archive/2008/01/11/1035509.html</guid><wfw:comment>http://www.cnblogs.com/yintian2/comments/1035509.html</wfw:comment><comments>http://www.cnblogs.com/yintian2/archive/2008/01/11/1035509.html#Feedback</comments><slash:comments>1</slash:comments><wfw:commentRss>http://www.cnblogs.com/yintian2/comments/commentRss/1035509.html</wfw:commentRss><trackback:ping>http://www.cnblogs.com/yintian2/services/trackbacks/1035509.html</trackback:ping><description><![CDATA[<LI><A href="http://blog.5d.cn/service/gotolink.aspx?id=58590&amp;url=http://rxna.cn/" target=_blank><SPAN class=textlinks>RXNA - Flex技术聚合</SPAN></A> 
<LI><A href="http://blog.5d.cn/service/gotolink.aspx?id=63320&amp;url=http://www.fluidea.cn/blog" target=_blank><SPAN class=textlinks>Walktree</SPAN></A> 
<LI><A href="http://blog.5d.cn/service/gotolink.aspx?id=63211&amp;url=http://www.k-zone.cn/zblog" target=_blank><SPAN class=textlinks>Kenshin's Flex Blog.</SPAN></A> 
<LI><A href="http://blog.5d.cn/service/gotolink.aspx?id=61301&amp;url=http://www.neoy.cn/" target=_blank><SPAN class=textlinks>Matrix</SPAN></A> 
<LI><A href="http://blog.5d.cn/service/gotolink.aspx?id=63686&amp;url=http://www.riabook.cn/" target=_blank><SPAN class=textlinks>RIABook - 优秀RIA书籍</SPAN></A> 
<LI><A href="http://blog.5d.cn/service/gotolink.aspx?id=57055&amp;url=http://blog.ezse.com" target=_blank><SPAN class=textlinks>Y.X.Shawn's Blog</SPAN></A> 
<LI><A href="http://blog.5d.cn/service/gotolink.aspx?id=57288&amp;url=http://www.zhuoqun.net" target=_blank><SPAN class=textlinks>Dreamer's Blog.</SPAN></A> 
<LI><A href="http://blog.5d.cn/service/gotolink.aspx?id=58173&amp;url=http://www.j2eemx.com/" target=_blank><SPAN class=textlinks>RIS - Rich Internet Solutions</SPAN></A> 
<LI><A href="http://blog.5d.cn/service/gotolink.aspx?id=58604&amp;url=http://www.51as.com" target=_blank><SPAN class=textlinks>51as.com</SPAN></A> 
<LI><A href="http://blog.5d.cn/service/gotolink.aspx?id=58759&amp;url=http://mousebomb.w30.cndns.com/blog/" target=_blank><SPAN class=textlinks>[ 闪 界 ]</SPAN></A> 
<LI><A href="http://blog.5d.cn/service/gotolink.aspx?id=58796&amp;url=http://www.wangyalin.com.cn" target=_blank><SPAN class=textlinks>"Lynn"的多媒体空间</SPAN></A> 
<LI><A href="http://blog.5d.cn/service/gotolink.aspx?id=60016&amp;url=http://www.nshen.net/blog/" target=_blank><SPAN class=textlinks>N神AS研究所</SPAN></A> 
<LI><A href="http://blog.5d.cn/service/gotolink.aspx?id=57306&amp;url=http://blog.5d.cn/vip/jh7086/" target=_blank><SPAN class=textlinks>该闪就闪</SPAN></A> 
<LI><A href="http://blog.5d.cn/service/gotolink.aspx?id=61479&amp;url=http://blog.csdn.net/zinking3/" target=_blank><SPAN class=textlinks>ZinKing3的专栏</SPAN></A> 
<LI><A href="http://blog.5d.cn/service/gotolink.aspx?id=61513&amp;url=http://unbest.com/" target=_blank><SPAN class=textlinks>xuCe's Territory</SPAN></A> 
<LI><A href="http://blog.5d.cn/service/gotolink.aspx?id=62181&amp;url=http://www.hazj.cn" target=_blank><SPAN class=textlinks>疯狂的设计</SPAN></A> 
<LI><A href="http://blog.5d.cn/service/gotolink.aspx?id=62184&amp;url=http://hi.baidu.com/swingguy" target=_blank><SPAN class=textlinks>阿波罗旅行</SPAN></A> 
<LI><A href="http://blog.5d.cn/service/gotolink.aspx?id=62864&amp;url=http://www.yiger.net/blog/" target=_blank><SPAN class=textlinks>yiger's blog</SPAN></A> 
<LI><A href="http://blog.5d.cn/service/gotolink.aspx?id=62865&amp;url=http://www.xielinyes.com.cn/" target=_blank><SPAN class=textlinks>Lightning guest</SPAN></A> 
<LI><A href="http://blog.5d.cn/service/gotolink.aspx?id=63373&amp;url=http://www.riaeye.com" target=_blank><SPAN class=textlinks>Riaeye</SPAN></A> 
<LI><A href="http://blog.5d.cn/service/gotolink.aspx?id=63729&amp;url=http://www.yule4.com/" target=_blank><SPAN class=textlinks>娱乐事</SPAN></A></LI><img src ="http://www.cnblogs.com/yintian2/aggbug/1035509.html?type=1" width = "1" height = "1" /><br><br><a href="http://news.cnblogs.com/n/41929/" target="_blank">[新闻]阿里巴巴利润增1.36倍</a>]]></description></item><item><title>Flex和.net Webservice之间多层结构开发</title><link>http://www.cnblogs.com/yintian2/archive/2008/01/07/1029631.html</link><dc:creator>阴天·爱 </dc:creator><author>阴天·爱 </author><pubDate>Mon, 07 Jan 2008 15:24:00 GMT</pubDate><guid>http://www.cnblogs.com/yintian2/archive/2008/01/07/1029631.html</guid><wfw:comment>http://www.cnblogs.com/yintian2/comments/1029631.html</wfw:comment><comments>http://www.cnblogs.com/yintian2/archive/2008/01/07/1029631.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cnblogs.com/yintian2/comments/commentRss/1029631.html</wfw:commentRss><trackback:ping>http://www.cnblogs.com/yintian2/services/trackbacks/1029631.html</trackback:ping><description><![CDATA[<P>
<TABLE class=t_msg cellSpacing=0 cellPadding=10 border=0>
<TBODY>
<TR>
<TD class=line style="PADDING-RIGHT: 4px; PADDING-LEFT: 4px; PADDING-BOTTOM: 4px; PADDING-TOP: 4px"><STRONG>Flex2和.net Webservice之间多层结构开发小经验</STRONG></TD></TR>
<TR>
<TD height=8></TD></TR>
<TR>
<TD>
<DIV class=t_msgfont id=message493>
<P>今天在网上看到有人在问关于C#编写BLL层的一些问题,所以想到一个多月前做的一个小测试,今天把它整理一下,说一下思路,发出来大家交流一下. </P><BR>
<P>首先,开头先讲一下多层结构,具体内容我就不会花太多篇幅,因为这方面的经验,我想搞.net BS的人比我更清楚.我只是提一下.Flex在多层结构中的一些优势. </P><BR>
<P>Okay废话就不说了, </P><BR>
<P><IMG alt="" src="file:///C:/Documents%20and%20Settings/yitian/桌面/桌面/Flex论坛%20Flex2和_net%20Webservice之间多层结构开发小经验%20-%20flexcoders_files/b200612103846.png"> </P><BR>
<P>在图中我们可以看到,C#的表现层,我们用Webservice替代,而C#的Model我们在Flex里建立一个镜像的Model.这样的一个最大的优点就是,我们在数据传输的时候,通过格式化后的model,两边都有一个实体与之对应,操作起来十分方便.例如,我们先看一下C#中的Web方法的写法:</P><BR>----------------------------------------<BR>----------------------------------------<BR>
<DIV><BR>
<TABLE style="BACKGROUND: rgb(252,248,178) 0% 50%; BORDER-COLLAPSE: collapse" border=0><BR>&nbsp; &nbsp; 
<COLGROUP>
<COL style="WIDTH: 590px"></COLGROUP><BR>&nbsp; &nbsp; 
<TBODY vAlign=top><BR>&nbsp; &nbsp; &nbsp; &nbsp; 
<TR><BR>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
<TD style="BORDER-RIGHT: 0.5pt dashed; PADDING-RIGHT: 7px; BORDER-TOP: 0.5pt dashed; PADDING-LEFT: 7px; BORDER-LEFT: 0.5pt dashed; BORDER-BOTTOM: 0.5pt dashed"><BR>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
<P><SPAN style="FONT-SIZE: 9pt"><SPAN style="COLOR: gray">///</SPAN><SPAN style="COLOR: green"> </SPAN><SPAN style="COLOR: gray">&lt;summary&gt; </SPAN></SPAN></P><BR>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
<P><SPAN style="FONT-SIZE: 9pt"><SPAN style="COLOR: gray">///</SPAN><SPAN style="COLOR: green"> C# To Flex Model </SPAN></SPAN></P><BR>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
<P><SPAN style="FONT-SIZE: 9pt"><SPAN style="COLOR: gray">///</SPAN><SPAN style="COLOR: green"> </SPAN><SPAN style="COLOR: gray">&lt;/summary&gt; </SPAN></SPAN></P><BR>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
<P><SPAN style="FONT-SIZE: 9pt"><SPAN style="COLOR: gray">///</SPAN><SPAN style="COLOR: green"> </SPAN><SPAN style="COLOR: gray">&lt;returns&gt;</SPAN><SPAN style="COLOR: green">Model</SPAN><SPAN style="COLOR: gray">&lt;/returns&gt; </SPAN></SPAN></P><BR>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
<P><SPAN style="FONT-SIZE: 9pt">[<SPAN style="COLOR: teal">WebMethod</SPAN>] </SPAN></P><BR>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
<P><SPAN style="FONT-SIZE: 9pt"><SPAN style="COLOR: blue">public</SPAN> RedPill.Model.<SPAN style="COLOR: teal">UserInfo</SPAN> Ws2Flex() </SPAN></P><BR>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
<P><SPAN style="FONT-SIZE: 9pt">{}</SPAN></P><BR>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </TD><BR>&nbsp; &nbsp; &nbsp; &nbsp; </TR><BR>&nbsp; &nbsp; </TBODY><BR></TABLE><BR></DIV><BR>
<P>这样我们的返回值可以设置成我们的Model.而不用过去的方法:返回一个XMLDocument的类型.Webservice会按我们的定义返回一个序列化的XML. </P><BR>
<P>我们再看一下C#的Model的结构： </P><BR>
<DIV><BR>
<TABLE style="BACKGROUND: rgb(252,248,178) 0% 50%; BORDER-COLLAPSE: collapse" border=0><BR>&nbsp; &nbsp; 
<COLGROUP>
<COL style="WIDTH: 590px"></COLGROUP><BR>&nbsp; &nbsp; 
<TBODY vAlign=top><BR>&nbsp; &nbsp; &nbsp; &nbsp; 
<TR><BR>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
<TD style="BORDER-RIGHT: black 0.5pt solid; PADDING-RIGHT: 7px; BORDER-TOP: black 0.5pt solid; PADDING-LEFT: 7px; BORDER-LEFT: black 0.5pt solid; BORDER-BOTTOM: black 0.5pt solid"><BR>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
<P><SPAN style="FONT-SIZE: 9pt"><SPAN style="COLOR: blue">using</SPAN> System; </SPAN></P><BR>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
<P><SPAN style="FONT-SIZE: 9pt"><SPAN style="COLOR: blue">using</SPAN> System.Data; </SPAN></P><BR>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
<P><SPAN style="FONT-SIZE: 9pt"><SPAN style="COLOR: blue">using</SPAN> System.Configuration; </SPAN></P><BR>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
<P><SPAN style="FONT-SIZE: 9pt"><SPAN style="COLOR: blue">using</SPAN> System.Web; </SPAN></P><BR>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
<P><SPAN style="FONT-SIZE: 9pt"><SPAN style="COLOR: blue">using</SPAN> System.Web.Security; </SPAN></P><BR>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
<P><SPAN style="FONT-SIZE: 9pt"><SPAN style="COLOR: blue">using</SPAN> System.Web.UI; </SPAN></P><BR>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
<P><SPAN style="FONT-SIZE: 9pt"><SPAN style="COLOR: blue">using</SPAN> System.Web.UI.WebControls; </SPAN></P><BR>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
<P><SPAN style="FONT-SIZE: 9pt"><SPAN style="COLOR: blue">using</SPAN> System.Web.UI.WebControls.WebParts; </SPAN></P><BR>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
<P><SPAN style="FONT-SIZE: 9pt"><SPAN style="COLOR: blue">using</SPAN> System.Web.UI.HtmlControls; </SPAN></P><BR>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
<P>&nbsp;</P><BR>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
<P><SPAN style="FONT-SIZE: 9pt"><SPAN style="COLOR: blue">namespace</SPAN> RedPill.Model </SPAN></P><BR>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
<P><SPAN style="FONT-SIZE: 9pt">{ </SPAN></P><BR>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
<P><SPAN style="FONT-SIZE: 9pt"><SPAN style="COLOR: gray">///</SPAN><SPAN style="COLOR: green"> </SPAN><SPAN style="COLOR: gray">&lt;summary&gt; </SPAN></SPAN></P><BR>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
<P><SPAN style="FONT-SIZE: 9pt"><SPAN style="COLOR: gray">///</SPAN><SPAN style="COLOR: green"> User Info Model. </SPAN></SPAN></P><BR>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
<P><SPAN style="FONT-SIZE: 9pt"><SPAN style="COLOR: gray">///</SPAN><SPAN style="COLOR: green"> </SPAN><SPAN style="COLOR: gray">&lt;/summary&gt; </SPAN></SPAN></P><BR>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
<P><SPAN style="FONT-SIZE: 9pt"><SPAN style="COLOR: blue">public</SPAN> <SPAN style="COLOR: blue">class</SPAN> <SPAN style="COLOR: teal">UserInfo </SPAN></SPAN></P><BR>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
<P><SPAN style="FONT-SIZE: 9pt">{ </SPAN></P><BR>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
<P><SPAN style="FONT-SIZE: 9pt"><SPAN style="COLOR: blue">public</SPAN> UserInfo() </SPAN></P><BR>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
<P><SPAN style="FONT-SIZE: 9pt">{ </SPAN></P><BR>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
<P><SPAN style="FONT-SIZE: 9pt">} </SPAN></P><BR>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
<P>&nbsp;</P><BR>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
<P><SPAN style="FONT-SIZE: 9pt"><SPAN style="COLOR: blue">private</SPAN> <SPAN style="COLOR: teal">Int32</SPAN> m_ID; </SPAN></P><BR>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
<P><SPAN style="FONT-SIZE: 9pt"><SPAN style="COLOR: blue">private</SPAN> <SPAN style="COLOR: teal">Boolean</SPAN> m_IsForPublic;&nbsp;&nbsp;&nbsp;&nbsp;<SPAN style="COLOR: green">//是否公开 </SPAN></SPAN></P><BR>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
<P><SPAN style="FONT-SIZE: 9pt"><SPAN style="COLOR: blue">private</SPAN> <SPAN style="COLOR: teal">String</SPAN> m_UserName;&nbsp;&nbsp;&nbsp;&nbsp;<SPAN style="COLOR: green">//用户姓名 </SPAN></SPAN></P><BR>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
<P><SPAN style="FONT-SIZE: 9pt"><SPAN style="COLOR: blue">private</SPAN> <SPAN style="COLOR: teal">String</SPAN> m_UserPassword;&nbsp;&nbsp;&nbsp;&nbsp;<SPAN style="COLOR: green">//用户密码 </SPAN></SPAN></P><BR>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
<P><SPAN style="FONT-SIZE: 9pt"><SPAN style="COLOR: blue">private</SPAN> <SPAN style="COLOR: teal">String</SPAN> m_UserTrueName;&nbsp;&nbsp;&nbsp;&nbsp;<SPAN style="COLOR: green">//真实姓名 </SPAN></SPAN></P><BR>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
<P><SPAN style="FONT-SIZE: 9pt"><SPAN style="COLOR: blue">public</SPAN> <SPAN style="COLOR: teal">Int32</SPAN> ID </SPAN></P><BR>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
<P><SPAN style="FONT-SIZE: 9pt">{ </SPAN></P><BR>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
<P><SPAN style="FONT-SIZE: 9pt"><SPAN style="COLOR: blue">get</SPAN> { <SPAN style="COLOR: blue">return</SPAN> m_ID; } </SPAN></P><BR>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
<P><SPAN style="FONT-SIZE: 9pt"><SPAN style="COLOR: blue">set</SPAN> { m_ID = <SPAN style="COLOR: blue">value</SPAN>; } </SPAN></P><BR>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
<P><SPAN style="FONT-SIZE: 9pt">} </SPAN></P><BR>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
<P><SPAN style="FONT-SIZE: 9pt"><SPAN style="COLOR: gray">///&lt;summary&gt; </SPAN></SPAN></P><BR>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
<P><SPAN style="FONT-SIZE: 9pt"><SPAN style="COLOR: gray">///</SPAN><SPAN style="COLOR: green">是否公开 </SPAN></SPAN></P><BR>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
<P><SPAN style="FONT-SIZE: 9pt"><SPAN style="COLOR: gray">///&lt;/summary&gt; </SPAN></SPAN></P><BR>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
<P><SPAN style="FONT-SIZE: 9pt"><SPAN style="COLOR: blue">public</SPAN> <SPAN style="COLOR: teal">Boolean</SPAN> IsForPublic </SPAN></P><BR>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
<P><SPAN style="FONT-SIZE: 9pt">{ </SPAN></P><BR>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
<P><SPAN style="FONT-SIZE: 9pt"><SPAN style="COLOR: blue">get</SPAN> { <SPAN style="COLOR: blue">return</SPAN> m_IsForPublic; } </SPAN></P><BR>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
<P><SPAN style="FONT-SIZE: 9pt"><SPAN style="COLOR: blue">set</SPAN> { m_IsForPublic = <SPAN style="COLOR: blue">value</SPAN>; } </SPAN></P><BR>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
<P><SPAN style="FONT-SIZE: 9pt">} </SPAN></P><BR>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
<P><SPAN style="FONT-SIZE: 9pt"><SPAN style="COLOR: gray">///&lt;summary&gt; </SPAN></SPAN></P><BR>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
<P><SPAN style="FONT-SIZE: 9pt"><SPAN style="COLOR: gray">///</SPAN><SPAN style="COLOR: green">用户姓名 </SPAN></SPAN></P><BR>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
<P><SPAN style="FONT-SIZE: 9pt"><SPAN style="COLOR: gray">///&lt;/summary&gt; </SPAN></SPAN></P><BR>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
<P><SPAN style="FONT-SIZE: 9pt"><SPAN style="COLOR: blue">public</SPAN> <SPAN style="COLOR: teal">String</SPAN> UserName </SPAN></P><BR>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
<P><SPAN style="FONT-SIZE: 9pt">{ </SPAN></P><BR>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
<P><SPAN style="FONT-SIZE: 9pt"><SPAN style="COLOR: blue">get</SPAN> { <SPAN style="COLOR: blue">return</SPAN> m_UserName; } </SPAN></P><BR>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
<P><SPAN style="FONT-SIZE: 9pt"><SPAN style="COLOR: blue">set</SPAN> { m_UserName = <SPAN style="COLOR: blue">value</SPAN>; } </SPAN></P><BR>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
<P><SPAN style="FONT-SIZE: 9pt">} </SPAN></P><BR>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
<P><SPAN style="FONT-SIZE: 9pt"><SPAN style="COLOR: gray">///&lt;summary&gt; </SPAN></SPAN></P><BR>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
<P><SPAN style="FONT-SIZE: 9pt"><SPAN style="COLOR: gray">///</SPAN><SPAN style="COLOR: green">用户密码 </SPAN></SPAN></P><BR>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
<P><SPAN style="FONT-SIZE: 9pt"><SPAN style="COLOR: gray">///&lt;/summary&gt; </SPAN></SPAN></P><BR>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
<P><SPAN style="FONT-SIZE: 9pt"><SPAN style="COLOR: blue">public</SPAN> <SPAN style="COLOR: teal">String</SPAN> UserPassword </SPAN></P><BR>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
<P><SPAN style="FONT-SIZE: 9pt">{ </SPAN></P><BR>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
<P><SPAN style="FONT-SIZE: 9pt"><SPAN style="COLOR: blue">get</SPAN> { <SPAN style="COLOR: blue">return</SPAN> m_UserPassword; } </SPAN></P><BR>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
<P><SPAN style="FONT-SIZE: 9pt"><SPAN style="COLOR: blue">set</SPAN> { m_UserPassword = <SPAN style="COLOR: blue">value</SPAN>; } </SPAN></P><BR>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
<P><SPAN style="FONT-SIZE: 9pt">} </SPAN></P><BR>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
<P><SPAN style="FONT-SIZE: 9pt"><SPAN style="COLOR: gray">///&lt;summary&gt; </SPAN></SPAN></P><BR>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
<P><SPAN style="FONT-SIZE: 9pt"><SPAN style="COLOR: gray">///</SPAN><SPAN style="COLOR: green">真实姓名 </SPAN></SPAN></P><BR>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
<P><SPAN style="FONT-SIZE: 9pt"><SPAN style="COLOR: gray">///&lt;/summary&gt; </SPAN></SPAN></P><BR>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
<P><SPAN style="FONT-SIZE: 9pt"><SPAN style="COLOR: blue">public</SPAN> <SPAN style="COLOR: teal">String</SPAN> UserTrueName </SPAN></P><BR>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
<P><SPAN style="FONT-SIZE: 9pt">{ </SPAN></P><BR>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
<P><SPAN style="FONT-SIZE: 9pt"><SPAN style="COLOR: blue">get</SPAN> { <SPAN style="COLOR: blue">return</SPAN> m_UserTrueName; } </SPAN></P><BR>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
<P><SPAN style="FONT-SIZE: 9pt"><SPAN style="COLOR: blue">set</SPAN> { m_UserTrueName = <SPAN style="COLOR: blue">value</SPAN>; } </SPAN></P><BR>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
<P><SPAN style="FONT-SIZE: 9pt">} </SPAN></P><BR>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
<P><SPAN style="FONT-SIZE: 9pt">} </SPAN></P><BR>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
<P><SPAN style="FONT-SIZE: 9pt">}</SPAN></P><BR>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </TD><BR>&nbsp; &nbsp; &nbsp; &nbsp; </TR><BR>&nbsp; &nbsp; </TBODY><BR></TABLE><BR></DIV><BR>
<P>很容易看懂，全是Get　Set.　因为本身Model只是信息的承载体，因此里面不放任何逻辑处理.这样相当于是什么呢？就相当于，我们每个人传递的东西都是一个被打了包的东西，我们不一个一个的传递包内的内容，我们只关心这个包的本身的传递. </P><BR>
<P>回到我们C#的方法里来： </P><BR>
<DIV><BR>
<TABLE style="BACKGROUND: rgb(252,248,178) 0% 50%; BORDER-COLLAPSE: collapse" border=0><BR>&nbsp; &nbsp; 
<COLGROUP>
<COL style="WIDTH: 590px"></COLGROUP><BR>&nbsp; &nbsp; 
<TBODY vAlign=top><BR>&nbsp; &nbsp; &nbsp; &nbsp; 
<TR><BR>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
<TD style="BORDER-RIGHT: black 0.5pt solid; PADDING-RIGHT: 7px; BORDER-TOP: black 0.5pt solid; PADDING-LEFT: 7px; BORDER-LEFT: black 0.5pt solid; BORDER-BOTTOM: black 0.5pt solid"><BR>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
<P><SPAN style="FONT-SIZE: 9pt"><SPAN style="COLOR: gray">///</SPAN><SPAN style="COLOR: green"> </SPAN><SPAN style="COLOR: gray">&lt;summary&gt; </SPAN></SPAN></P><BR>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
<P><SPAN style="FONT-SIZE: 9pt"><SPAN style="COLOR: gray">///</SPAN><SPAN style="COLOR: green"> C# To Flex Model </SPAN></SPAN></P><BR>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
<P><SPAN style="FONT-SIZE: 9pt"><SPAN style="COLOR: gray">///</SPAN><SPAN style="COLOR: green"> </SPAN><SPAN style="COLOR: gray">&lt;/summary&gt; </SPAN></SPAN></P><BR>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
<P><SPAN style="FONT-SIZE: 9pt"><SPAN style="COLOR: gray">///</SPAN><SPAN style="COLOR: green"> </SPAN><SPAN style="COLOR: gray">&lt;returns&gt;</SPAN><SPAN style="COLOR: green">Model</SPAN><SPAN style="COLOR: gray">&lt;/returns&gt; </SPAN></SPAN></P><BR>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
<P><SPAN style="FONT-SIZE: 9pt">[<SPAN style="COLOR: teal">WebMethod</SPAN>] </SPAN></P><BR>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
<P><SPAN style="FONT-SIZE: 9pt"><SPAN style="COLOR: blue">public</SPAN> RedPill.Model.<SPAN style="COLOR: teal">UserInfo</SPAN> Ws2Flex() </SPAN></P><BR>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
<P><SPAN style="FONT-SIZE: 9pt">{ </SPAN></P><BR>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
<P><SPAN style="FONT-SIZE: 9pt"><SPAN style="COLOR: teal">UserInfo</SPAN> rt = <SPAN style="COLOR: blue">new</SPAN> <SPAN style="COLOR: teal">UserInfo</SPAN>(); </SPAN></P><BR>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
<P><SPAN style="FONT-SIZE: 9pt">rt.ID = 0; </SPAN></P><BR>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
<P><SPAN style="FONT-SIZE: 9pt">rt.IsForPublic = <SPAN style="COLOR: blue">true</SPAN>; </SPAN></P><BR>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
<P><SPAN style="FONT-SIZE: 9pt">rt.UserName = <SPAN style="COLOR: maroon">"http://ezse.com"</SPAN>; </SPAN></P><BR>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
<P><SPAN style="FONT-SIZE: 9pt">rt.UserPassword = <SPAN style="COLOR: maroon">"How 2 Use Model In Flex"</SPAN>; </SPAN></P><BR>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
<P><SPAN style="FONT-SIZE: 9pt">rt.UserTrueName = <SPAN style="COLOR: maroon">"Shawn"</SPAN>; </SPAN></P><BR>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
<P><SPAN style="FONT-SIZE: 9pt"><SPAN style="COLOR: blue">return</SPAN> rt; </SPAN></P><BR>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
<P><SPAN style="FONT-SIZE: 9pt">} </SPAN></P><BR>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
<P><SPAN style="FONT-SIZE: 9pt"><SPAN style="COLOR: gray">///</SPAN><SPAN style="COLOR: green"> </SPAN><SPAN style="COLOR: gray">&lt;summary&gt; </SPAN></SPAN></P><BR>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
<P><SPAN style="FONT-SIZE: 9pt"><SPAN style="COLOR: gray">///</SPAN><SPAN style="COLOR: green"> Flex Model To C# </SPAN></SPAN></P><BR>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
<P><SPAN style="FONT-SIZE: 9pt"><SPAN style="COLOR: gray">///</SPAN><SPAN style="COLOR: green"> </SPAN><SPAN style="COLOR: gray">&lt;/summary&gt; </SPAN></SPAN></P><BR>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
<P><SPAN style="FONT-SIZE: 9pt"><SPAN style="COLOR: gray">///</SPAN><SPAN style="COLOR: green"> </SPAN><SPAN style="COLOR: gray">&lt;param name="rt"&gt;</SPAN><SPAN style="COLOR: green">Model</SPAN><SPAN style="COLOR: gray">&lt;/param&gt; </SPAN></SPAN></P><BR>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
<P><SPAN style="FONT-SIZE: 9pt">[<SPAN style="COLOR: teal">WebMethod</SPAN>] </SPAN></P><BR>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
<P><SPAN style="FONT-SIZE: 9pt"><SPAN style="COLOR: blue">public</SPAN> <SPAN style="COLOR: blue">void</SPAN> Flex2Ws(<SPAN style="COLOR: teal">UserInfo</SPAN> rt) </SPAN></P><BR>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
<P><SPAN style="FONT-SIZE: 9pt">{ </SPAN></P><BR>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
<P><SPAN style="FONT-SIZE: 9pt"><SPAN style="COLOR: teal">Debug</SPAN>.WriteLine(<SPAN style="COLOR: maroon">"ID:"</SPAN> + rt.ID.ToString()); </SPAN></P><BR>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
<P><SPAN style="FONT-SIZE: 9pt"><SPAN style="COLOR: teal">Debug</SPAN>.WriteLine(<SPAN style="COLOR: maroon">"Is for public?:"</SPAN> + rt.IsForPublic.ToString()); </SPAN></P><BR>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
<P><SPAN style="FONT-SIZE: 9pt"><SPAN style="COLOR: teal">Debug</SPAN>.WriteLine(<SPAN style="COLOR: maroon">"User Name:"</SPAN> + rt.UserName); </SPAN></P><BR>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
<P><SPAN style="FONT-SIZE: 9pt"><SPAN style="COLOR: teal">Debug</SPAN>.WriteLine(<SPAN style="COLOR: maroon">"<IMG src="file:///C:/Documents%20and%20Settings/yitian/桌面/桌面/Flex论坛%20Flex2和_net%20Webservice之间多层结构开发小经验%20-%20flexcoders_files/titter.gif">WD:"</SPAN> + rt.UserPassword); </SPAN></P><BR>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
<P><SPAN style="FONT-SIZE: 9pt"><SPAN style="COLOR: teal">Debug</SPAN>.WriteLine(<SPAN style="COLOR: maroon">"True Name:"</SPAN> + rt.UserTrueName); </SPAN></P><BR>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
<P>&nbsp;</P><BR>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
<P><SPAN style="FONT-SIZE: 9pt">}</SPAN></P><BR>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </TD><BR>&nbsp; &nbsp; &nbsp; &nbsp; </TR><BR>&nbsp; &nbsp; </TBODY><BR></TABLE><BR></DIV><BR>
<P>两个方法分别功能是向Flex返回一个model，另一个是把Flex给C#的model输出出来.很简单的功能. </P><BR>
<P>然后我们再看一下invoke Webservice返回的数据形态： </P><BR>
<DIV><BR>
<TABLE style="BACKGROUND: rgb(252,248,178) 0% 50%; BORDER-COLLAPSE: collapse" border=0><BR>&nbsp; &nbsp; 
<COLGROUP>
<COL style="WIDTH: 590px"></COLGROUP><BR>&nbsp; &nbsp; 
<TBODY vAlign=top><BR>&nbsp; &nbsp; &nbsp; &nbsp; 
<TR><BR>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
<TD style="BORDER-RIGHT: black 0.5pt solid; PADDING-RIGHT: 7px; BORDER-TOP: black 0.5pt solid; PADDING-LEFT: 7px; BORDER-LEFT: black 0.5pt solid; BORDER-BOTTOM: black 0.5pt solid"><BR>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
<P>&lt;UserInfo&gt; </P><BR>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
<P>&lt;ID&gt;0&lt;/ID&gt; </P><BR>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
<P>&lt;IsForPublic&gt;true&lt;/IsForPublic&gt; </P><BR>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
<P>&lt;UserName&gt;http://ezse.com&lt;/UserName&gt; </P><BR>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
<P>&lt;UserPassword&gt;How 2 Use Model In Flex&lt;/UserPassword&gt; </P><BR>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
<P>&lt;UserTrueName&gt;Shawn&lt;/UserTrueName&gt; </P><BR>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
<P>&lt;/UserInfo&gt;</P><BR>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </TD><BR>&nbsp; &nbsp; &nbsp; &nbsp; </TR><BR>&nbsp; &nbsp; </TBODY><BR></TABLE><BR></DIV><BR>
<P>在Flex中，我们建立两个三个类，一个是ServiceLocator，它标明我们的服务地址.向程序提供服务. </P><BR>
<P>二是TokenResponder 它是实现IResponder接口的，它功能是把所有的错误信息都统一输出. </P><BR>
<P>三是我们的Model映像. UserInfo.前两个类，请看最后的源程序，我就不用多说了，我只是把关键的Model和主程序放出来说明： </P><BR>
<P>好，现在我们看一下UserInfo.as的内容： </P><BR>
<DIV><BR>
<TABLE style="BACKGROUND: rgb(252,248,178) 0% 50%; BORDER-COLLAPSE: collapse" border=0><BR>&nbsp; &nbsp; 
<COLGROUP>
<COL style="WIDTH: 590px"></COLGROUP><BR>&nbsp; &nbsp; 
<TBODY vAlign=top><BR>&nbsp; &nbsp; &nbsp; &nbsp; 
<TR><BR>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
<TD style="BORDER-RIGHT: black 0.5pt solid; PADDING-RIGHT: 7px; BORDER-TOP: black 0.5pt solid; PADDING-LEFT: 7px; BORDER-LEFT: black 0.5pt solid; BORDER-BOTTOM: black 0.5pt solid"><BR>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
<P><SPAN style="FONT-SIZE: 9pt; COLOR: rgb(37,103,13)">//////////////////////////////////////////////////////////////////////////////// </SPAN></P><BR>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
<P><SPAN style="FONT-SIZE: 9pt; COLOR: rgb(37,103,13)">// </SPAN></P><BR>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
<P><SPAN style="FONT-SIZE: 9pt; COLOR: rgb(37,103,13)">// Copyright (C) 2005-2006 RedPill. </SPAN></P><BR>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
<P><SPAN style="FONT-SIZE: 9pt; COLOR: rgb(37,103,13)">// Name: Flex web service Model Transf. </SPAN></P><BR>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
<P><SPAN style="FONT-SIZE: 9pt; COLOR: rgb(37,103,13)">// Ver: - </SPAN></P><BR>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
<P><SPAN style="FONT-SIZE: 9pt; COLOR: rgb(37,103,13)">// Author:YX.Shawn </SPAN></P><BR>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
<P><SPAN style="FONT-SIZE: 9pt; COLOR: rgb(37,103,13)">// Create:Thu Nov 30 21:24:50 GMT+0800 2006 </SPAN></P><BR>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
<P><SPAN style="FONT-SIZE: 9pt; COLOR: rgb(37,103,13)">// Modify: </SPAN></P><BR>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
<P><SPAN style="FONT-SIZE: 9pt; COLOR: rgb(37,103,13)">// Function: </SPAN></P><BR>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
<P><SPAN style="FONT-SIZE: 9pt; COLOR: rgb(37,103,13)">// *** </SPAN></P><BR>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
<P><SPAN style="FONT-SIZE: 9pt; COLOR: rgb(37,103,13)">//&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;this is a demo for let everyone know how to transfer model between C# &amp; Flex. </SPAN></P><BR>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
<P><SPAN style="FONT-SIZE: 9pt; COLOR: rgb(37,103,13)">//&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;And this demo is esp for 5 Layer design. </SPAN></P><BR>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
<P><SPAN style="FONT-SIZE: 9pt; COLOR: rgb(37,103,13)">//&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;(DF-&gt; DAL -&gt;BLL-&gt;<IMG src="file:///C:/Documents%20and%20Settings/yitian/桌面/桌面/Flex论坛%20Flex2和_net%20Webservice之间多层结构开发小经验%20-%20flexcoders_files/titter.gif">resentation) </SPAN></P><BR>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
<P><SPAN style="FONT-SIZE: 9pt; COLOR: rgb(37,103,13)">//&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; |-&gt;Model-&gt;| </SPAN></P><BR>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
<P><SPAN style="FONT-SIZE: 9pt; COLOR: rgb(37,103,13)">//&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;For much infomation ,pls leave ur suggestion to my blog: http://blog.ezse.com </SPAN></P><BR>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
<P><SPAN style="FONT-SIZE: 9pt; COLOR: rgb(37,103,13)">//&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Or mail me: yx.shawn@gmail.com </SPAN></P><BR>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
<P><SPAN style="FONT-SIZE: 9pt; COLOR: rgb(37,103,13)">// </SPAN></P><BR>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
<P><SPAN style="FONT-SIZE: 9pt; COLOR: rgb(37,103,13)">//&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Enjoy. </SPAN></P><BR>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
<P><SPAN style="FONT-SIZE: 9pt; COLOR: rgb(37,103,13)">// *** </SPAN></P><BR>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
<P><SPAN style="FONT-SIZE: 9pt; COLOR: rgb(37,103,13)">// </SPAN></P><BR>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
<P><SPAN style="FONT-SIZE: 9pt; COLOR: rgb(37,103,13)">//////////////////////////////////////////////////////////////////////////////// </SPAN></P><BR>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
<P><SPAN style="FONT-SIZE: 9pt">package Model </SPAN></P><BR>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
<P><SPAN style="FONT-SIZE: 9pt">{ </SPAN></P><BR>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
<P><SPAN style="FONT-SIZE: 9pt">&nbsp;&nbsp;&nbsp;&nbsp;<SPAN style="COLOR: rgb(37,103,13)">/** </SPAN></SPAN></P><BR>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
<P><SPAN style="FONT-SIZE: 9pt; COLOR: rgb(37,103,13)">&nbsp;&nbsp;&nbsp;&nbsp; * Here, you can modify something you need by datasouse. </SPAN></P><BR>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
<P><SPAN style="FONT-SIZE: 9pt; COLOR: rgb(37,103,13)">&nbsp;&nbsp;&nbsp;&nbsp; * This way is esp for data type conversion. </SPAN></P><BR>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
<P><SPAN style="FONT-SIZE: 9pt; COLOR: rgb(37,103,13)">&nbsp;&nbsp;&nbsp;&nbsp; * such as Date </SPAN></P><BR>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
<P><SPAN style="FONT-SIZE: 9pt; COLOR: rgb(37,103,13)">&nbsp;&nbsp;&nbsp;&nbsp; * e.g.: </SPAN></P><BR>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
<P><SPAN style="FONT-SIZE: 9pt; COLOR: rgb(37,103,13)">&nbsp;&nbsp;&nbsp;&nbsp; * &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;var df<IMG src="file:///C:/Documents%20and%20Settings/yitian/桌面/桌面/Flex论坛%20Flex2和_net%20Webservice之间多层结构开发小经验%20-%20flexcoders_files/biggrin.gif">ateFormatter = new DateFormatter(); </SPAN></P><BR>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
<P><SPAN style="FONT-SIZE: 9pt; COLOR: rgb(37,103,13)">&nbsp;&nbsp;&nbsp;&nbsp; *&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;this[i] = new Date(Date.parse(df.format(source[i]))); </SPAN></P><BR>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
<P><SPAN style="FONT-SIZE: 9pt; COLOR: rgb(37,103,13)">&nbsp;&nbsp;&nbsp;&nbsp; */ </SPAN></P><BR>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
<P><SPAN style="FONT-SIZE: 9pt">&nbsp;&nbsp;&nbsp;&nbsp;<SPAN style="COLOR: rgb(0,112,192)">public</SPAN> class UserInfo </SPAN></P><BR>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
<P><SPAN style="FONT-SIZE: 9pt">&nbsp;&nbsp;&nbsp;&nbsp;{ </SPAN></P><BR>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
<P><SPAN style="FONT-SIZE: 9pt">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<SPAN style="COLOR: rgb(0,112,192)">public</SPAN> <SPAN style="COLOR: rgb(0,112,192)">function</SPAN> UserInfo(source:Object=null) </SPAN></P><BR>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
<P><SPAN style="FONT-SIZE: 9pt">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{ </SPAN></P><BR>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
<P><SPAN style="FONT-SIZE: 9pt">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<SPAN style="COLOR: rgb(0,112,192)">super</SPAN>(); </SPAN></P><BR>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
<P><SPAN style="FONT-SIZE: 9pt">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<SPAN style="COLOR: rgb(0,112,192)">if</SPAN>(source!=null) </SPAN></P><BR>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
<P><SPAN style="FONT-SIZE: 9pt">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{ </SPAN></P><BR>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
<P><SPAN style="FONT-SIZE: 9pt">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;for (var i:String in source) </SPAN></P><BR>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
<P><SPAN style="FONT-SIZE: 9pt">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; { </SPAN></P><BR>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
<P><SPAN style="FONT-SIZE: 9pt">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;<SPAN style="COLOR: rgb(0,112,192)">try </SPAN></SPAN></P><BR>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
<P><SPAN style="FONT-SIZE: 9pt">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;{ </SPAN></P><BR>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
<P><SPAN style="FONT-SIZE: 9pt">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<SPAN style="COLOR: rgb(0,112,192)">if</SPAN> (i == "UserTrueName" &amp;&amp; source[i] is String) </SPAN></P><BR>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
<P><SPAN style="FONT-SIZE: 9pt">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<SPAN style="COLOR: rgb(0,112,192)">this</SPAN>[i] = source[i]+"_MDF"; </SPAN></P><BR>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
<P><SPAN style="FONT-SIZE: 9pt">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<SPAN style="COLOR: rgb(0,112,192)">else </SPAN></SPAN></P><BR>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
<P><SPAN style="FONT-SIZE: 9pt">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<SPAN style="COLOR: rgb(0,112,192)">this</SPAN>[i] = source[i]; </SPAN></P><BR>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
<P><SPAN style="FONT-SIZE: 9pt">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;} </SPAN></P><BR>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
<P><SPAN style="FONT-SIZE: 9pt">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;<SPAN style="COLOR: rgb(0,112,192)">catch</SPAN>(e:Error) </SPAN></P><BR>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
<P><SPAN style="FONT-SIZE: 9pt">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;{ </SPAN></P><BR>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
<P><SPAN style="FONT-SIZE: 9pt">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<SPAN style="COLOR: rgb(37,103,13)">//ignore </SPAN></SPAN></P><BR>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
<P><SPAN style="FONT-SIZE: 9pt">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;} </SPAN></P><BR>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
<P>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp; &nbsp;</P><BR>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
<P><SPAN style="FONT-SIZE: 9pt">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; } </SPAN></P><BR>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
<P><SPAN style="FONT-SIZE: 9pt">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;} </SPAN></P><BR>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
<P><SPAN style="FONT-SIZE: 9pt">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;} </SPAN></P><BR>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
<P><SPAN style="FONT-SIZE: 9pt">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN></P><BR>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
<P><SPAN style="FONT-SIZE: 9pt; COLOR: rgb(37,103,13)">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;/** </SPAN></P><BR>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
<P><SPAN style="FONT-SIZE: 9pt; COLOR: rgb(37,103,13)">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; * define each vars use the same name as C# model </SPAN></P><BR>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
<P><SPAN style="FONT-SIZE: 9pt; COLOR: rgb(37,103,13)">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; * to make sure web service can translate model </SPAN></P><BR>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
<P><SPAN style="FONT-SIZE: 9pt; COLOR: rgb(37,103,13)">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; */ </SPAN></P><BR>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
<P><SPAN style="FONT-SIZE: 9pt">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<SPAN style="COLOR: rgb(0,112,192)">public</SPAN> <SPAN style="COLOR: rgb(0,112,192)">var</SPAN> ID:Number; </SPAN></P><BR>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
<P><SPAN style="FONT-SIZE: 9pt">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<SPAN style="COLOR: rgb(0,112,192)">public</SPAN> <SPAN style="COLOR: rgb(0,112,192)">var</SPAN> IsForPublic:Boolean; </SPAN></P><BR>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
<P><SPAN style="FONT-SIZE: 9pt">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<SPAN style="COLOR: rgb(0,112,192)">public</SPAN> <SPAN style="COLOR: rgb(0,112,192)">var</SPAN> UserName:String; </SPAN></P><BR>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
<P><SPAN style="FONT-SIZE: 9pt">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<SPAN style="COLOR: rgb(0,112,192)">public</SPAN> <SPAN style="COLOR: rgb(0,112,192)">var</SPAN> UserPassword:String; </SPAN></P><BR>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
<P><SPAN style="FONT-SIZE: 9pt">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<SPAN style="COLOR: rgb(0,112,192)">public</SPAN> <SPAN style="COLOR: rgb(0,112,192)">var</SPAN> UserTrueName:String; </SPAN></P><BR>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
<P><SPAN style="FONT-SIZE: 9pt">&nbsp;&nbsp;&nbsp;&nbsp;} </SPAN></P><BR>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
<P><SPAN style="FONT-SIZE: 9pt">}</SPAN></P><BR>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </TD><BR>&nbsp; &nbsp; &nbsp; &nbsp; </TR><BR>&nbsp; &nbsp; </TBODY><BR></TABLE><BR></DIV><BR>
<P>可以很容易的看出和C#的model一样的是，里面采用的变量及变量的类型是一致的.所以称之为C#里Model的镜像. </P><BR>
<P>然后FLEX如何去和C#通信呢？这个最基础的内容，WebService的 </P><BR>
<DIV><BR>
<TABLE style="BACKGROUND: rgb(252,248,178) 0% 50%; BORDER-COLLAPSE: collapse" border=0><BR>&nbsp; &nbsp; 
<COLGROUP>
<COL style="WIDTH: 590px"></COLGROUP><BR>&nbsp; &nbsp; 
<TBODY vAlign=top><BR>&nbsp; &nbsp; &nbsp; &nbsp; 
<TR><BR>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
<TD style="BORDER-RIGHT: black 0.5pt solid; PADDING-RIGHT: 7px; BORDER-TOP: black 0.5pt solid; PADDING-LEFT: 7px; BORDER-LEFT: black 0.5pt solid; BORDER-BOTTOM: black 0.5pt solid"><BR>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
<P><SPAN style="FONT-SIZE: 9pt"><SPAN style="COLOR: rgb(54,95,145)">import</SPAN> mx.rpc.AbstractService; </SPAN></P><BR>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
<P><SPAN style="FONT-SIZE: 9pt"><SPAN style="COLOR: rgb(54,95,145)">import</SPAN> Model.UserInfo; </SPAN></P><BR>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
<P><SPAN style="FONT-SIZE: 9pt"><SPAN style="COLOR: rgb(54,95,145)">import</SPAN> mx.rpc.AsyncToken; </SPAN></P><BR>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
<P><SPAN style="FONT-SIZE: 9pt"><SPAN style="COLOR: rgb(54,95,145)">import</SPAN> RPC.*; </SPAN></P><BR>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
<P><SPAN style="FONT-SIZE: 9pt"><SPAN style="COLOR: rgb(54,95,145)">private</SPAN> <SPAN style="COLOR: rgb(54,95,145)">var</SPAN> service:AbstractService; </SPAN></P><BR>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
<P><SPAN style="FONT-SIZE: 9pt; COLOR: rgb(37,103,13)">//Security.allowDomain("*"); </SPAN></P><BR>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
<P><SPAN style="FONT-SIZE: 9pt"><SPAN style="COLOR: rgb(54,95,145)">private</SPAN> <SPAN style="COLOR: rgb(54,95,145)">function</SPAN> init():void </SPAN></P><BR>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
<P><SPAN style="FONT-SIZE: 9pt">{ </SPAN></P><BR>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
<P><SPAN style="FONT-SIZE: 9pt">&nbsp;&nbsp;&nbsp;&nbsp;service = RPC.ServiceLocator.getUserInfoService(); </SPAN></P><BR>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
<P><SPAN style="FONT-SIZE: 9pt">&nbsp;&nbsp;&nbsp;&nbsp;<SPAN style="COLOR: rgb(54,95,145)">var</SPAN> token:AsyncToken = AsyncToken(service.Ws2Flex()); </SPAN></P><BR>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
<P><SPAN style="FONT-SIZE: 9pt">&nbsp;&nbsp;&nbsp;&nbsp;token.addResponder(<SPAN style="COLOR: rgb(54,95,145)">new</SPAN> TokenResponder(onWsRespond,"Error Get Data")); </SPAN></P><BR>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
<P><SPAN style="FONT-SIZE: 9pt">} </SPAN></P><BR>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
<P><SPAN style="FONT-SIZE: 9pt"><SPAN style="COLOR: rgb(54,95,145)">private</SPAN> <SPAN style="COLOR: rgb(54,95,145)">function</SPAN> onWsRespond(md:Object):void </SPAN></P><BR>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
<P><SPAN style="FONT-SIZE: 9pt">{ </SPAN></P><BR>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
<P><SPAN style="FONT-SIZE: 9pt">&nbsp;&nbsp;&nbsp;&nbsp;<SPAN style="BACKGROUND-COLOR: yellow">var us:UserInfo = new UserInfo(md.result);</SPAN> </SPAN></P><BR>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
<P><SPAN style="FONT-SIZE: 9pt">&nbsp;&nbsp;&nbsp;&nbsp;<SPAN style="COLOR: rgb(227,108,10)">trace</SPAN>("ID"+us.ID); </SPAN></P><BR>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
<P><SPAN style="FONT-SIZE: 9pt">&nbsp;&nbsp;&nbsp;&nbsp;<SPAN style="COLOR: rgb(227,108,10)">trace</SPAN>("IsForPublic"+us.IsForPublic); </SPAN></P><BR>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
<P><SPAN style="FONT-SIZE: 9pt">&nbsp;&nbsp;&nbsp;&nbsp;<SPAN style="COLOR: rgb(227,108,10)">trace</SPAN>("UserName"+us.UserName); </SPAN></P><BR>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
<P><SPAN style="FONT-SIZE: 9pt">&nbsp;&nbsp;&nbsp;&nbsp;<SPAN style="COLOR: rgb(227,108,10)">trace</SPAN>("UserPassword"+us.UserPassword); </SPAN></P><BR>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
<P><SPAN style="FONT-SIZE: 9pt">&nbsp;&nbsp;&nbsp;&nbsp;<SPAN style="COLOR: rgb(227,108,10)">trace</SPAN>("UserTrueName"+us.UserTrueName); </SPAN></P><BR>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
<P><SPAN style="FONT-SIZE: 9pt">&nbsp;&nbsp;&nbsp;&nbsp;<SPAN style="COLOR: rgb(227,108,10)">trace</SPAN>("=============================="); </SPAN></P><BR>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
<P><SPAN style="FONT-SIZE: 9pt">&nbsp;&nbsp;&nbsp;&nbsp;<SPAN style="COLOR: rgb(227,108,10)">trace</SPAN>("Change userTrueName to YX.Shawn. and call web service back..."); </SPAN></P><BR>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
<P><SPAN style="FONT-SIZE: 9pt">&nbsp;&nbsp;&nbsp;&nbsp;us.UserTrueName = "YX.Shawn"; </SPAN></P><BR>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
<P><SPAN style="FONT-SIZE: 9pt">&nbsp;&nbsp;&nbsp;&nbsp;<SPAN style="COLOR: rgb(54,95,145)">var</SPAN> token:AsyncToken = AsyncToken(service.Flex2Ws(us)); </SPAN></P><BR>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
<P><SPAN style="FONT-SIZE: 9pt">}</SPAN></P><BR>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </TD><BR>&nbsp; &nbsp; &nbsp; &nbsp; </TR><BR>&nbsp; &nbsp; </TBODY><BR></TABLE><BR></DIV><BR>
<P>在init的方法里，我们通过异步调用，去调用我们在C#里写的Webservice的方法.在返回的监听方法里，我们通过图中高亮的那句话<SPAN style="FONT-SIZE: 9pt"><SPAN style="BACKGROUND-COLOR: yellow">var us:UserInfo = new UserInfo(md.result);</SPAN>把返回的Model和Flex的Model进行对应.然后再修改参数后，回传到C#中.我们来看一下输出： </SPAN></P><BR>
<DIV><BR>
<TABLE style="BORDER-COLLAPSE: collapse" border=0><BR>&nbsp; &nbsp; 
<COLGROUP>
<COL style="WIDTH: 590px"></COLGROUP><BR>&nbsp; &nbsp; 
<TBODY vAlign=top><BR>&nbsp; &nbsp; &nbsp; &nbsp; 
<TR><BR>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
<TD style="BORDER-RIGHT: black 0.5pt solid; PADDING-RIGHT: 7px; BORDER-TOP: black 0.5pt solid; PADDING-LEFT: 7px; BORDER-LEFT: black 0.5pt solid; BORDER-BOTTOM: black 0.5pt solid"><BR>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
<P>Flex输出<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </P></TD><BR>&nbsp; &nbsp; &nbsp; &nbsp; </TR><BR>&nbsp; &nbsp; &nbsp; &nbsp; 
<TR style="BACKGROUND: rgb(252,248,178) 0% 50%">
<TD style="BORDER-RIGHT: 0.5pt solid; PADDING-RIGHT: 7px; BORDER-TOP: medium none; PADDING-LEFT: 7px; BORDER-LEFT: 0.5pt solid; BORDER-BOTTOM: 0.5pt solid"><BR>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
<P><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Courier New"><SPAN style="BACKGROUND-COLOR: white">ID0</SPAN> </SPAN></P><BR>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
<P><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Courier New"><SPAN style="BACKGROUND-COLOR: white">IsForPublictrue</SPAN>&nbsp;</SPAN><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </P>
<P><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Courier New"><SPAN style="BACKGROUND-COLOR: white">UserNamehttp://ezse.com</SPAN> </SPAN></P><BR>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
<P><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Courier New"><SPAN style="BACKGROUND-COLOR: white">UserPasswordHow 2 Use Model In Flex</SPAN> </SPAN></P><BR>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
<P><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Courier New"><SPAN style="BACKGROUND-COLOR: white">UserTrueNameShawn_MDF</SPAN> </SPAN></P><BR>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
<P><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Courier New"><SPAN style="BACKGROUND-COLOR: white">==============================</SPAN> </SPAN></P><BR>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
<P><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Courier New; BACKGROUND-COLOR: white">Change userTrueName to YX.Shawn. and call web service back...</SPAN></P><BR>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </TD></TR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
<TR><BR>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
<TD style="BORDER-RIGHT: 0.5pt solid; PADDING-RIGHT: 7px; BORDER-TOP: medium none; PADDING-LEFT: 7px; BORDER-LEFT: 0.5pt solid; BORDER-BOTTOM: 0.5pt solid"><BR>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
<P>C#输出</P><BR>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </TD><BR>&nbsp; &nbsp; &nbsp; &nbsp; </TR>
<TR style="BACKGROUND: rgb(252,248,178) 0% 50%">
<TD style="BORDER-RIGHT: 0.5pt solid; PADDING-RIGHT: 7px; BORDER-TOP: medium none; PADDING-LEFT: 7px; BORDER-LEFT: 0.5pt solid; BORDER-BOTTOM: 0.5pt solid"><BR>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
<P><SPAN style="FONT-SIZE: 9pt">ID:0 </SPAN></P><BR>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
<P><SPAN style="FONT-SIZE: 9pt">Is for public?:True </SPAN></P><BR>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
<P><SPAN style="FONT-SIZE: 9pt">User Name:http://ezse.com </SPAN></P><BR>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
<P><SPAN style="FONT-SIZE: 9pt">PWD:How 2 Use Model In Flex </SPAN><SPAN style="FONT-SIZE: 9pt">True Name:YX.Shaw</SPAN></P></TD></TR></TBODY><BR></TABLE><BR></DIV><BR>
<P>观察输出会发现，在Flex里的输出里，TrueName多了＿MDF，原因是我们在Model里做了一些调整，这个可以用于例如时间的类型转换呀一类的.回传的TrueName也变成了YX.Shawn.因此所有功能都实现. </P><BR>
<P>可见，两边互传数据显得十分的简单.在C#也可以把Flex的model直接充当参数传递. </P><BR>
<P>下面我就放上程序以及数据传递框架图 </P><BR>
<P><IMG alt="" src="file:///C:/Documents%20and%20Settings/yitian/桌面/桌面/Flex论坛%20Flex2和_net%20Webservice之间多层结构开发小经验%20-%20flexcoders_files/4200612103846.png"> </P><BR>
<P>源程序下载地址：<A href="http://res.ezse.com/Howto/HowTo-Model.rar">http://res.ezse.com/Howto/HowTo-Model.rar</A> </P><BR></DIV></TD></TR></TBODY></TABLE></P><img src ="http://www.cnblogs.com/yintian2/aggbug/1029631.html?type=1" width = "1" height = "1" /><br><br><a href="http://news.cnblogs.com/n/41928/" target="_blank">[新闻]Google Gears覆盖四大浏览器 Safari版推出</a>]]></description></item><item><title>FLEX2中DataGrid控件的分页 (Flex 自定义DataGrid控件)</title><link>http://www.cnblogs.com/yintian2/archive/2007/12/06/985744.html</link><dc:creator>阴天·爱 </dc:creator><author>阴天·爱 </author><pubDate>Thu, 06 Dec 2007 10:47:00 GMT</pubDate><guid>http://www.cnblogs.com/yintian2/archive/2007/12/06/985744.html</guid><wfw:comment>http://www.cnblogs.com/yintian2/comments/985744.html</wfw:comment><comments>http://www.cnblogs.com/yintian2/archive/2007/12/06/985744.html#Feedback</comments><slash:comments>1</slash:comments><wfw:commentRss>http://www.cnblogs.com/yintian2/comments/commentRss/985744.html</wfw:commentRss><trackback:ping>http://www.cnblogs.com/yintian2/services/trackbacks/985744.html</trackback:ping><description><![CDATA[摘要: 新建一个Flex Library Project项目,新建一个MXML Component的文件,名字么就觉customdatagrid,flex的代码像java,也像javascrpt,可以自己去看看 1&lt;?xmlversion="1.0"encoding="utf-8"?&gt;2&lt;mx:VBoxxmlns:mx="http://www.adobe.com/2006/mxml"wi&nbsp;&nbsp;<a href='http://www.cnblogs.com/yintian2/archive/2007/12/06/985744.html'>阅读全文</a><img src ="http://www.cnblogs.com/yintian2/aggbug/985744.html?type=1" width = "1" height = "1" /><br><br><a href="http://news.cnblogs.com/n/41927/" target="_blank">[新闻]Internet Explorer 8 Beta 2 发布</a>]]></description></item><item><title>收藏的2个正则html标签剔除方法</title><link>http://www.cnblogs.com/yintian2/archive/2007/11/22/968127.html</link><dc:creator>阴天·爱 </dc:creator><author>阴天·爱 </author><pubDate>Thu, 22 Nov 2007 01:34:00 GMT</pubDate><guid>http://www.cnblogs.com/yintian2/archive/2007/11/22/968127.html</guid><wfw:comment>http://www.cnblogs.com/yintian2/comments/968127.html</wfw:comment><comments>http://www.cnblogs.com/yintian2/archive/2007/11/22/968127.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cnblogs.com/yintian2/comments/commentRss/968127.html</wfw:commentRss><trackback:ping>http://www.cnblogs.com/yintian2/services/trackbacks/968127.html</trackback:ping><description><![CDATA[<P><FONT color=#0000ff><STRONG>方法1</STRONG></FONT><BR><BR>public string checkStr(string html)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; System.Text.RegularExpressions.Regex regex1 = new System.Text.RegularExpressions.Regex(@"&lt;script[\s\S]+&lt;/script *&gt;", System.Text.RegularExpressions.RegexOptions.IgnoreCase);<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; System.Text.RegularExpressions.Regex regex2 = new System.Text.RegularExpressions.Regex(@" href *= *[\s\S]*script *:", System.Text.RegularExpressions.RegexOptions.IgnoreCase);<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; System.Text.RegularExpressions.Regex regex3 = new System.Text.RegularExpressions.Regex(@" no[\s\S]*=", System.Text.RegularExpressions.RegexOptions.IgnoreCase);<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; System.Text.RegularExpressions.Regex regex4 = new System.Text.RegularExpressions.Regex(@"&lt;iframe[\s\S]+&lt;/iframe *&gt;", System.Text.RegularExpressions.RegexOptions.IgnoreCase);<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; System.Text.RegularExpressions.Regex regex5 = new System.Text.RegularExpressions.Regex(@"&lt;frameset[\s\S]+&lt;/frameset *&gt;", System.Text.RegularExpressions.RegexOptions.IgnoreCase);<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; System.Text.RegularExpressions.Regex regex6 = new System.Text.RegularExpressions.Regex(@"\&lt;img[^\&gt;]+\&gt;", System.Text.RegularExpressions.RegexOptions.IgnoreCase); <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; System.Text.RegularExpressions.Regex regex7 = new System.Text.RegularExpressions.Regex(@"&lt;/p&gt;", System.Text.RegularExpressions.RegexOptions.IgnoreCase);<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; System.Text.RegularExpressions.Regex regex8 = new System.Text.RegularExpressions.Regex(@"&lt;p&gt;", System.Text.RegularExpressions.RegexOptions.IgnoreCase);<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; System.Text.RegularExpressions.Regex regex9 = new System.Text.RegularExpressions.Regex(@"&lt;[^&gt;]*&gt;", System.Text.RegularExpressions.RegexOptions.IgnoreCase);<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; html = regex1.Replace(html, ""); //过滤&lt;script&gt;&lt;/script&gt;标记<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; html = regex2.Replace(html, ""); //过滤href=javascript: (&lt;A&gt;) 属性<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; html = regex3.Replace(html, " _disibledevent="); //过滤其它控件的on...事件<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; html = regex4.Replace(html, ""); //过滤iframe<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; html = regex5.Replace(html, ""); //过滤frameset<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; html = regex6.Replace(html, ""); //过滤frameset<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; html = regex7.Replace(html, ""); //过滤frameset<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; html = regex8.Replace(html, ""); //过滤frameset<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; html = regex9.Replace(html, "");<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; html = html.Replace(" ", "");<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; html = html.Replace("&lt;/strong&gt;", "");<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; html = html.Replace("&lt;strong&gt;", "");<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; return html;<BR>}</P>
<P><BR><BR><BR><FONT color=#0000ff><STRONG>方法2</STRONG></FONT></P>
<P>#region 过滤掉 html代码 <BR>public static string StripHTML(string strHtml) <BR>{ <BR>string [] aryReg ={ <BR>@"&lt;script[^&gt;]*?&gt;.*?&lt;/script&gt;", </P>
<P>@"&lt;(\/\s*)?!?((\w+:)?\w+)(\w+(\s*=?\s*(([""'])(<A href="file://\\[&quot;&quot;'tbnr]|[^\7])*?\7|\w+)|.{0})|\s)*?(\/\s">\\[""'tbnr]|[^\7])*?\7|\w+)|.{0})|\s)*?(\/\s</A>*)?&gt;", <BR>@"([\r\n])[\s]+", <BR>@"&amp;(quot|#34);", <BR>@"&amp;(amp|#38);", <BR>@"&amp;(lt|#60);", <BR>@"&amp;(gt|#62);", <BR>@"&amp;(nbsp|#160);", <BR>@"&amp;(iexcl|#161);", <BR>@"&amp;(cent|#162);", <BR>@"&amp;(pound|#163);", <BR>@"&amp;(copy|#169);", <BR>@"&amp;#(\d+);", <BR>@"--&gt;", <BR>@"&lt;!--.*\n" <BR>}; </P>
<P>string [] aryRep = { <BR>"", <BR>"", <BR>"", <BR>"\"", <BR>"&amp;", <BR>"&lt;", <BR>"&gt;", <BR>" ", <BR>"\xa1",//chr(161), <BR>"\xa2",//chr(162), <BR>"\xa3",//chr(163), <BR>"\xa9",//chr(169), <BR>"", <BR>"\r\n", <BR>"" <BR>}; </P>
<P>string newReg =aryReg[0]; <BR>string strOutput=strHtml; <BR>for(int i = 0;i&lt;aryReg.Length;i++) <BR>{ <BR>System.Text.RegularExpressions.Regex regex = new System.Text.RegularExpressions.Regex(aryReg[i],System.Text.RegularExpressions.RegexOptions.IgnoreCase); <BR>strOutput = regex.Replace(strOutput,aryRep[i]); <BR>} <BR>strOutput.Replace("&lt;",""); <BR>strOutput.Replace("&gt;",""); <BR>strOutput.Replace("\r\n",""); <BR>return strOutput; <BR>} <BR>#endregion <BR></P><img src ="http://www.cnblogs.com/yintian2/aggbug/968127.html?type=1" width = "1" height = "1" /><br><br><a href="http://news.cnblogs.com/n/41924/" target="_blank">[新闻]中国软件协会：SAP羞辱国产软件是不正当竞争</a>]]></description></item><item><title>SQL SERVER日期函数应用</title><link>http://www.cnblogs.com/yintian2/archive/2007/10/25/937651.html</link><dc:creator>阴天·爱 </dc:creator><author>阴天·爱 </author><pubDate>Thu, 25 Oct 2007 09:52:00 GMT</pubDate><guid>http://www.cnblogs.com/yintian2/archive/2007/10/25/937651.html</guid><wfw:comment>http://www.cnblogs.com/yintian2/comments/937651.html</wfw:comment><comments>http://www.cnblogs.com/yintian2/archive/2007/10/25/937651.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cnblogs.com/yintian2/comments/commentRss/937651.html</wfw:commentRss><trackback:ping>http://www.cnblogs.com/yintian2/services/trackbacks/937651.html</trackback:ping><description><![CDATA[在SQL SERVER中，你可能需要获得当前日期和计算一些其他的日期，例如，你的程序可能需要判断一个月的第一天或者最后一天。你们大部分人大概都知道怎样把日期进行分割（年、月、日等），然后仅仅用分割出来的年、月、日等放在几个函数中计算出自己所需要的日期！在这篇文章里，我将告诉你如何使用DATEADD和DATEDIFF函数来计算出在你的程序中可能你要用到的一些不同日期。&nbsp; <BR>在使用本文中的例子之前，你必须注意以下的问题。大部分可能不是所有例子在不同的机器上执行的结果可能不一样，这完全由哪一天是一个星期的第一天这个设置决定。第一天（DATEFIRST）设定决定了你的系统使用哪一天作为一周的第一天。所有以下的例子都是以星期天作为一周的第一天来建立，也就是第一天设置为7。假如你的第一天设置不一样，你可能需要调整这些例子，使它和不同的第一天设置相符合。你可以通过@@DATEFIRST函数来检查第一天设置。&nbsp; <BR>&nbsp;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 为了理解这些例子，我们先复习一下DATEDIFF和DATEADD函数。DATEDIFF函数计算两个日期之间的小时、天、周、月、年等时间间隔总数。DATEADD函数计算一个日期通过给时间间隔加减来获得一个新的日期。要了解更多的DATEDIFF和DATEADD函数以及时间间隔可以阅读微软联机帮助。&nbsp; <BR>&nbsp;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 使用DATEDIFF和DATEADD函数来计算日期，和本来从当前日期转换到你需要的日期的考虑方法有点不同。你必须从时间间隔这个方面来考虑。比如，从当前日期到你要得到的日期之间有多少时间间隔，或者，从今天到某一天（比如1900-1-1）之间有多少时间间隔，等等。理解怎样着眼于时间间隔有助于你轻松的理解我的不同的日期计算例子。&nbsp; <BR>&nbsp;<BR>一个月的第一天&nbsp; <BR>&nbsp;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 第一个例子，我将告诉你如何从当前日期去这个月的最后一天。请注意：这个例子以及这篇文章中的其他例子都将只使用DATEDIFF和DATEADD函数来计算我们想要的日期。每一个例子都将通过计算但前的时间间隔，然后进行加减来得到想要计算的日期。&nbsp; <BR>&nbsp;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 这是计算一个月第一天的SQL&nbsp; 脚本：&nbsp; <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; SELECT&nbsp; DATEADD(mm,&nbsp; DATEDIFF(mm,0,getdate()),&nbsp; 0)&nbsp; <BR>&nbsp;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 我们把这个语句分开来看看它是如何工作的。最核心的函数是getdate()，大部分人都知道这个是返回当前的日期和时间的函数。下一个执行的函数DATEDIFF(mm,0,getdate())是计算当前日期和"1900-01-01&nbsp; 00:00:00.000"这个日期之间的月数。记住：时期和时间变量和毫秒一样是从"1900-01-01&nbsp; 00:00:00.000"开始计算的。这就是为什么你可以在DATEDIFF函数中指定第一个时间表达式为"0"。下一个函数是DATEADD，增加当前日期到"1900-01-01"的月数。通过增加预定义的日期"1900-01-01"和当前日期的月数，我们可