<?xml version="1.0" encoding="UTF-8"?>
  <feed xmlns="http://www.w3.org/2005/Atom">
  <title type="html"><![CDATA[铁芒网博]]></title>
  <subtitle type="html"><![CDATA[专注web互联网等前端设计及技术的个人博客]]></subtitle>
  <id>http://www.techmango.com/</id>
  <link rel="alternate" type="text/html" href="http://www.techmango.com/Blog/" /> 
  <link rel="self" type="application/atom+xml" href="http://www.techmango.com/Blog/atom.asp" /> 
  <generator uri="http://www.pjhome.net/" version="2.8">PJBlog3</generator> 
  <updated>2010-08-31T09:58:17+08:00</updated>

  <entry>
	  <title type="html"><![CDATA[ASP.NET中impersonate验证失败案例分析]]></title>
	  <author>
		 <name>techmango</name>
		 <uri>http://www.techmango.com/Blog/</uri>
		 <email>jimmysu_88@163.com</email>
	  </author>
	  <category term="" scheme="http://www.techmango.com/Blog/default.asp?cateID=6" label="软件|.NET技术" /> 
	  <updated>2010-08-31T09:58:17+08:00</updated>
	  <published>2010-08-31T09:58:17+08:00</published>
		  <summary type="html"><![CDATA[<p><span style="font-size: 14px">首先,介绍一下,ASP.NET中与impersonate相关的背景知识:</span></p>
<p><span style="font-size: 14px">ASP.NET中的impersonate跟Internet Information Services (IIS)中的Integrated Windows authentication (NTLM)的功能是类似的,它可以通过内部网络中的domain用户登录信息来确定用户是否具有Windows identity,从而可以确定一个Web应用程序是否可以访问微软Windows平台上的资源,例如一些通过使用Access Control List (ACL)而受到保护的文件,或者某台数据库服务器.</span></p>
<p><span style="font-size: 14px">默认情况下,ASP.NET是被设置为<span class="input">Windows</span> authentication模式,这样就可以将Windows identity应用到当前的HttpContext对象中去(注意,当使用anonymous identification 匿名验证时,HttpContext对象中用户名Name是空白的).但是,这不是用于某一个页面,而是为一个Web应用程序提供访问权限,从而可以访问某一个文件或是网络资源.</span></p>
<p><span style="font-size: 14px">要使用ASP.NET的impersonate,我们可以在Web.config 文件中配置impersonate属性,例如下面所示:</span></p>
<p style="border-right: 1px solid; border-top: 1px solid; background: #cccccc; border-left: 1px solid; border-bottom: 1px solid"><span style="font-size: 14px">&lt;configuration&gt;<br />
&nbsp; &lt;system.web&gt;<br />
&nbsp;&nbsp;&nbsp; &lt;identity impersonate=&quot;true&quot;&nbsp;userName=&quot;***&quot; password=&quot;***&quot;&nbsp;/&gt;<br />
&nbsp; &lt;/system.web&gt;<br />
&lt;/configuration&gt;</span></p>
<p><span style="font-size: 14px">接着,进入我们的正题--失败案例分析:</span></p>
<ol>
    <li><span style="font-size: 14px">&nbsp; 错误: </span>
    <div style="color: #ff0000"><span style="font-size: 14px">Could not create Windows user token from the credentials specified in the config file. Error from the operating system 'Logon failure: unknown user name or bad password.</span></div>
    <div><span style="font-size: 14px">分析:</span></div>
    <div><span style="font-size: 14px"><span style="color: #0000ff">有非常大的可能性是我们输入了错误的userName或password,这里要非常注意它们的大小写,与及userName最好要加上域(domain),例如msdomain1\rick</span></span></div>
    <br />
    &nbsp;</li>
    <li><span style="font-size: 14px">&nbsp; 错误: </span>
    <div><span style="font-size: 14px"><span style="color: #ff0000">Could not create Windows user token from the credentials specified in the config file. Error from the operating system 'Logon failure: the user has not been granted the requested logon type at this computer.</span></span></div>
    <div><span style="font-size: 14px">分析:</span></div>
    <div><span style="font-size: 14px"><span style="color: #0000ff">这是因为在LogOnLocal用户组中不存在当前的impersonate用户.我们需要打开用户管理,再点击LogOnLocal用户组,在这里面加入web.config中配置的userName.</span></span></div>
    </li>
</ol>
<p><span style="font-size: 14px">&nbsp;</span><span style="color: #800000"><span style="font-size: 14px">最后,总结一下. Internet Information Services (IIS)中的Integrated Windows authentication (NTLM)是针对网站或虚拟目录里的文件实现身份验证. 而ASP.NET中impersonate针对的是Web应用程序域,例如当程序执行到某一步需要访问到内部网中的某一个网络资源.</span></span></p>]]></summary>
	  <link rel="alternate" type="text/html" href="http://www.techmango.com/Blog/article/DotNet/ASP_dot_NET_impersonate_Logon_failure.htm" /> 
	  <id>http://www.techmango.com/Blog/default.asp?id=855</id>
  </entry>	
		
  <entry>
	  <title type="html"><![CDATA[15元加上两个电容等于600元的显卡]]></title>
	  <author>
		 <name>techmango</name>
		 <uri>http://www.techmango.com/Blog/</uri>
		 <email>jimmysu_88@163.com</email>
	  </author>
	  <category term="" scheme="http://www.techmango.com/Blog/default.asp?cateID=8" label="生活|站长日记" /> 
	  <updated>2010-08-23T21:38:06+08:00</updated>
	  <published>2010-08-23T21:38:06+08:00</published>
		  <summary type="html"><![CDATA[<p><strong><span style="font-size: 26px;">昨</span></strong><span style="color: rgb(0, 0, 255);"><span style="font-size: 14px;">天洗完澡后，习惯性地打开了电脑，却发现电脑一进到操作系统后就死机了，试了Ｎ次还是同样．于是我第一感觉认为是显示出问题了，我打开机箱来看，果然，发现是显卡板上有两个电容已经爆裂开了，看来温度过高导致的．仔细了回想一下，马上顿悟，这十有八九是因为我这一个月来一直在玩＂龙之谷＂（这是最近网上流行得很火的盛大从韩国代理来的网游．另外，这款叫&quot;龙之谷&quot;的网游有太多的bug，因为非常频繁地掉线，被广大网友称为&quot;掉线谷&quot;．本人属于休闲型玩家，随便玩玩，现玩的角色是箭手，只有26级，最好的装备是同事送给我的A级鞋，不错的属性是移动速度加2%）的结果咯～我可是把显示效果开到最高的啊，再加上房间通风不够好，电容过热页爆裂是再正常不过的了．</span></span><span style="font-size: 14px;"><br />
</span></p>
<p><span style="font-size: 14px;">不能用电脑了，只能好好休息了．躺在床上，回忆起这块显卡是在07年5月自己在华强北组装的第一台台式电脑时一起选购的，这可是8600GT，当时也算得是挺好的显卡了．只不过没有想到才用了两年就坏了，坏得有点快了吧，有点不爽喔，再花钱买一块新卡，还要好好动脑想想要买哪一种好呢，因为差的用得不爽，好的又买不起哈．总之预算在600元的显卡左右就足够好了．</span></p>
<p><span style="font-size: 14px;">本想今天在上班的时间抽点时间来挑选显卡，可是工作太忙忘记了．唉，下班吃完晚饭后，不能开电脑就不知道干啥好了，于是又把显卡拆下来慢慢研究了一下．确定是除了两个坏了的电容，显卡其它地方是完好的，于是问我自己：&quot;等等！为什么显卡一坏就想着换新？！为什么不想想能不能修好呢？！对啊～只要想办法换掉这两个坏了的电容就ＯＫ了～&quot;．主意一定，我就带着显卡到附近的家店维修店去．我问店老板：&quot;能不能帮我换掉这显卡上的两个坏了的电容？&quot;，他说可以，说&quot;全部只要15元，但是不保证修好喔&quot;．Kao，我听完这些话，感觉当时就想是在赌场赌钱一样，有两条路选：修不好，就亏15元，还要考虑再花600元选新卡；赢的话就可以赚600元，汗～．．．</span></p>
<p><span style="font-size: 14px;">最后我下了决定，说：&quot;好～！帮我换吧&quot;．虽然只是15元的小生生意，但那老板还是非常认真地帮我找相同型号的电容，再拆卸掉坏的电容，最后再仔细地的焊上两个新电容．<br />
</span></p>
<p><span style="font-size: 14px;">等电容装好，钱一交，我头不回就往宿舍里赶，到了房间，马上把显卡往机箱里一装，看着电脑慢慢地启动，心理有些紧张，搏了～不管结果是好还是坏，人生也是如此啊～！几分钟后，我看到成功的结果：电脑正常地启动了！显卡起死回生了．我很高兴我自己做的决定没有错，15元加上两个电容等于600元的显卡，这是性价比特高的显卡了．</span></p>
<p><span style="color: rgb(153, 51, 0);"><span style="font-size: 14px;">P.S. 我还悟出了一个简单的道理，生活中很多事情本来是很简单的，不能因为受到挫折就选择逃避（换新显卡），只要自己能静下心来认真思考，根本不需要花高昂的代价，也能把问题把解决好（小钱修好显卡）．</span></span></p>]]></summary>
	  <link rel="alternate" type="text/html" href="http://www.techmango.com/Blog/article/Self_Diary/15Yuan+2capacitor=600yuan-Graphics-card.htm" /> 
	  <id>http://www.techmango.com/Blog/default.asp?id=854</id>
  </entry>	
		
  <entry>
	  <title type="html"><![CDATA[教你学做几种美味的炖蛋、蒸蛋]]></title>
	  <author>
		 <name>techmango</name>
		 <uri>http://www.techmango.com/Blog/</uri>
		 <email>jimmysu_88@163.com</email>
	  </author>
	  <category term="" scheme="http://www.techmango.com/Blog/default.asp?cateID=30" label="生活|美食佳肴" /> 
	  <updated>2010-07-31T20:01:06+08:00</updated>
	  <published>2010-07-31T20:01:06+08:00</published>
		  <summary type="html"><![CDATA[<div style="FONT-SIZE: 16px" id="blogDetailDiv">
<p><span style="color: rgb(153, 51, 0); ">小时候最喜欢吃母亲做的蒸蛋，现在自己会最简单最常做的蒸蛋的做法，不过还是觉得母亲做的比较香哈。后来在网上还有许多更美味的美味蒸蛋做法，很想学会做了给母亲尝尝~ 下面主要除了列出几种蒸蛋做法，还有一些炖蛋，炒蛋等方法：</span></p>
<p><strong>[家常蒸鸡蛋羹]</strong><b><br />
</b></p>
<p><img alt="" src="http://www.techmango.com/blog/GiveMePhoto.asp?url=http://b35.photo.store.qq.com/http_imgload.cgi?/rurl4_b=62008cd166c425b89b5c90d349372037b728169e8145c729e506b97e1057652ac3c484e6f09f90e0083cb33b10e9cdbe0a00b3ff52174ee08ba1e8cf99682730e3b9f58a0f5c4d9045de2743d53d4ff1264327dd&amp;amp;a=31&amp;amp;b=35" /></p>
<p><span style="font-size: 16px; ">材料：鸡蛋 2个 凉开水 约5汤匙 盐 1/2茶匙 厨房纸巾 1张 香油 1/4茶匙&nbsp;</span></p>
<p>做法： <br />
【1】  鸡蛋液打散，直到蛋清和蛋黄均匀的混合在一起，不要有大块的凝结。 <br />
【2】 加入凉开水（不要直接加生水），一边加，一边拌匀，然后加入盐，充分搅匀。  一般蛋液与水的比例是1:2 <br />
【3】  用漏网过滤掉气泡，或者厨房纸巾将蛋液表面的气泡吸掉，保证液体表面光滑平整，这样整出来的鸡蛋羹，才不会有难看的蜂窝。 <br />
【4】  盖上一层保鲜膜，放入蒸锅中，大火加热，当蒸锅中的水沸腾后，转为小火，蒸约10分钟即可。 <br />
【5】 出锅后，顺着碗的边缘淋上一点点香油。</p>
<p><strong>【焦糖牛奶炖蛋】</strong><br />
<img style="BORDER-RIGHT-WIDTH: 0px; WIDTH: 375px; BACKGROUND: none transparent scroll repeat 0% 0%; BORDER-TOP-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; HEIGHT: 500px; BORDER-LEFT-WIDTH: 0px" alt="" src="http://www.techmango.com/blog/GiveMePhoto.asp?url=http://b36.photo.store.qq.com/http_imgload.cgi?/rurl4_b=62008cd166c425b89b5c90d349372037b279f297d0880a7e7537999d9c2c2a16fc25b6fefd29d4b73cfb8193e374d79c534c2ef1dcb1f9c7064b29093d6619d97b81e5e663692cb4376f4461b20851dc5ea86327&amp;a=31&amp;b=36" /></p>
<p><br />
<strong>【鲜奶炖蛋】</strong><br />
材料：鲜牛奶250ml、鸡蛋2个、白糖适量（约做两碗）  <br />
做法：1、将牛奶、白糖一起放入锅里，用慢火把糖充分溶解后即离火，冷却备用。 <br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;  2、把鸡蛋去壳后，用筷滚打或用器皿迅速搅拌成蛋浆，加入已冷却的糖水，再行拌匀，使蛋浆与糖水充&nbsp;</p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;分混合。 <br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;  3、将碗放入蒸笼里，先隔水把碗蒸热后，再把糖蛋浆分盛于碗里，约蒸10分钟成。 <br />
<img style="BORDER-RIGHT-WIDTH: 0px; WIDTH: 540px; BACKGROUND: none transparent scroll repeat 0% 0%; BORDER-TOP-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; HEIGHT: 390px; BORDER-LEFT-WIDTH: 0px" alt="" src="http://www.techmango.com/blog/GiveMePhoto.asp?url=http://b29.photo.store.qq.com/http_imgload.cgi?/rurl4_b=62008cd166c425b89b5c90d3493720372d1769acce744d4ecd93da8068c0f877b866e4514a72924a482625450f47134c47a832eadd4535e00a4379c24903066abc36b2de7d45002be499909da3a5703442f9a094&amp;a=38&amp;b=29" /></p>
<p><wbr></wbr><wbr></wbr><strong>【法式焦糖炖蛋】</strong><br />
材料：鲜奶油125g  牛奶125g 蛋黄两个&nbsp;&nbsp;<br />
过程： 蛋黄放入奶油中拌匀 <br />
&nbsp;&nbsp;&nbsp;  &nbsp;牛奶中加入40克砂糖（我觉得还能再少放点，这个分量吃起来有点过甜），放入小锅中煮至砂糖溶化 <br />
&nbsp;&nbsp;&nbsp;&nbsp; 把奶油拌入煮好的牛奶中，再加热一会  <br />
&nbsp;&nbsp;&nbsp;&nbsp; 烤盆加热水，放入烤箱，烤箱预热至200度后，放入放到模具中的牛奶溶 <br />
&nbsp;&nbsp;&nbsp;&nbsp; 烤40分钟左右，取出来，表面上洒上白糖  <br />
&nbsp;&nbsp;&nbsp;&nbsp; 烤箱预热到最高温度，将蛋液重新放回去，烤到表面变焦，就完工了 <br />
<img style="BORDER-RIGHT-WIDTH: 0px; WIDTH: 487px; BACKGROUND: none transparent scroll repeat 0% 0%; BORDER-TOP-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; HEIGHT: 324px; BORDER-LEFT-WIDTH: 0px" alt="" src="http://www.techmango.com/blog/GiveMePhoto.asp?url=http://b38.photo.store.qq.com/http_imgload.cgi?/rurl4_b=62008cd166c425b89b5c90d349372037435e19856716a4ebafe359f3ab366e2ed41cfe8157892063b5cac49cc68233d7ce807293aa8c7d1d33a05493810a9ff189e77f955549d9ec4757329d1706e64eb90cb4e4&amp;a=38&amp;b=38" /><wbr></wbr><wbr></wbr><br />
<strong>【蛤蜊炖蛋】</strong><br />
原料：蛤蜊、鸡蛋、葱花  <br />
调味料：盐、湿淀粉、油（少许）、料酒 <br />
炖蛋做法：  <br />
1.蛤蜊洗净，放入开水锅（水中放一点料酒）焯至壳开，在煮蛤蜊的水中晃动漂去杂质，蛤蜊入另一碗中。煮蛤</p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 蜊的汤倒入汤碗中，让汤沉淀一下。  <br />
2.鸡蛋液、湿淀粉、盐打散，将沉淀过的煮蛤蜊的汤倒入蛋液中（倒的时候要慢点，别将沉淀的杂质也倒入）划</p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 匀，先撒少许葱花，淋一点油，上蒸锅蒸至6-7成熟（也就是说，最上面的蛋液还没凝结），这时将蛤蜊码入蛋</p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 液中，再继续蒸熟。最后撒入剩下的葱花即可上桌。 <br />
<img style="BORDER-RIGHT-WIDTH: 0px; WIDTH: 199px; BACKGROUND: none transparent scroll repeat 0% 0%; BORDER-TOP-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; HEIGHT: 181px; BORDER-LEFT-WIDTH: 0px" alt="" src="http://www.techmango.com/blog/GiveMePhoto.asp?url=http://b38.photo.store.qq.com/http_imgload.cgi?/rurl4_b=62008cd166c425b89b5c90d349372037c21c64ac0b017850ca138dc6677717a0e3255d2040dc285f6cf0a7985e3785c4aea8aa2e71dcbdb00da2e6970cc6a0d65bbc7bb0ed5159af4225045236ab39056f59d10f&amp;a=38&amp;b=38" /><wbr></wbr><wbr></wbr>【南瓜茸炖蛋】<br />
原　　料:  南瓜茸，鸡蛋（2个），椰浆（1/3罐）和细砂糖（3汤匙）。 <br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 步骤一：将鸡蛋和细砂糖充分拂匀。 <br />
步骤二：加入椰浆后，轻轻搅匀。 <br />
步骤三：将南瓜茸加到蛋液中，细致地搅拌均匀。 <br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;  步骤四：将南瓜茸蛋液用筛滤过后，口感会更滑溜。 <br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;  步骤五：把筛滤过的南瓜茸蛋液倒入炖碗内，用中低火在微波炉内叮5分钟至凝固，即可食用。<br />
<img style="BORDER-RIGHT-WIDTH: 0px; WIDTH: 425px; BACKGROUND: none transparent scroll repeat 0% 0%; BORDER-TOP-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; HEIGHT: 567px; BORDER-LEFT-WIDTH: 0px" alt="" src="http://www.techmango.com/blog/GiveMePhoto.asp?url=http://b31.photo.store.qq.com/http_imgload.cgi?/rurl4_b=62008cd166c425b89b5c90d3493720373f0e10dadf75e25a9c4908a7cfd89ad2cfc61cb1090bd53890ff65213233781a8333b8b6114a8a158d996fc46cd7efca8675177308773b4651a06fa88aedd5d07b1b6338&amp;a=35&amp;b=31" /></p>
<p><wbr></wbr><wbr></wbr><strong>【虾仁鸡蛋羹】</strong><br />
鲜虾、香葱、鸡蛋、 　盐、温水、鸡粉、香油。 <br />
做法：  <br />
1.把虾处理干净，只取虾仁。鸡蛋磕入碗中。 <br />
2.把鸡蛋打散，加入少量的盐和鸡粉调味，盐一定要少放，鸡蛋里面本身就含有少量的盐份。  <br />
3.然后准备一杯温水（30度左右），或者是鸡汤，把温水加入到蛋液中，水和鸡蛋的比例约为2比1。然后朝一个方向搅拌均匀，把上面的泡沫也清理干净。  倒入蛋液的水最好是温水，不要加自来水和热开水。因为自来水中有空气，水被烧沸后，空气排出，蛋羹会出现蜂窝，影响蛋羹质量和口感，营养成分也会受损。也不要用开水，否则会成了蛋花汤，这样再去蒸，营养受损，甚至蒸不出蛋羹。最好是用温水或凉开水蒸鸡蛋羹，这样既能保证口感，又能保证外观。  水的量也很重要，太少会使蛋羹的口感比较紧实比较老，太多蛋羹又不易成型，口感也会水水的。  在打蛋液时，也不要猛搅蛋液，在蒸制前猛搅或长时间搅动蛋液会使蛋液起泡，最好是打好蛋液，加入水后再轻微打散搅和即可。<br />
<img style="BORDER-RIGHT-WIDTH: 0px; WIDTH: 208px; BACKGROUND: none transparent scroll repeat 0% 0%; BORDER-TOP-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; HEIGHT: 200px; BORDER-LEFT-WIDTH: 0px" alt="" src="http://www.techmango.com/blog/GiveMePhoto.asp?url=http://b31.photo.store.qq.com/http_imgload.cgi?/rurl4_b=62008cd166c425b89b5c90d349372037471557a092fbca72b8d6946a272b55e1a34e08d07681de30d1d48981fb4b65399975a139b577b0a89cefc7c1ec2d7036e94e0c39720e7b5d4db80f9f20439adf7badc3e0&amp;a=35&amp;b=31" /></p>
<p><wbr></wbr><wbr></wbr><strong>【桂圆炖蛋】</strong><br />
材料：鸡蛋4个，清汤3饭碗，去壳纯桂圆肉干2大匙。 <br />
制法：  1、桂圆肉干用温水洗净。 <br />
2、取4个饭碗，每碗放6－7分满的水及蛋1个，1/4的桂圆肉干，再放入蒸锅中；蒸约5－8分钟即可食用，如喜食</p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 较甜者的，可事先多加些冰糖。<br />
<img style="BORDER-RIGHT-WIDTH: 0px; WIDTH: 600px; BACKGROUND: none transparent scroll repeat 0% 0%; BORDER-TOP-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; HEIGHT: 450px; BORDER-LEFT-WIDTH: 0px" alt="" src="http://www.techmango.com/blog/GiveMePhoto.asp?url=http://b38.photo.store.qq.com/http_imgload.cgi?/rurl4_b=62008cd166c425b89b5c90d34937203781cf8af4fba73678caa23102f03dff621f3d1ae64e77a7896970581bd1384ecae2f44f77f3bbb9e5ca414a496dc9d1491817bd59db0af0c184e53b64b08203f3bedaa4e9&amp;a=38&amp;b=38" /></p>
<p><strong>【酒酿炖蛋】</strong></p>
<p>丰胸古法 囧<br />
原材料：鸡蛋（推荐鹌鹑蛋。。喵呜就地取材。。）枸杞，酒酿，牛奶，蜂蜜（也可红糖） <br />
作法：</p>
<p>1. &nbsp;滚水，然后打进鸡蛋，枸杞，跟着即可熄火。</p>
<p>&nbsp;2 .倒入酒酿，牛奶（冷，因为蜂蜜只能用温水泡服，滚水会损失原有营养），放入蜂蜜即可  <br />
<img style="BORDER-RIGHT-WIDTH: 0px; WIDTH: 500px; BACKGROUND: none transparent scroll repeat 0% 0%; BORDER-TOP-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; HEIGHT: 378px; BORDER-LEFT-WIDTH: 0px" alt="" src="http://www.techmango.com/blog/GiveMePhoto.asp?url=http://b29.photo.store.qq.com/http_imgload.cgi?/rurl4_b=62008cd166c425b89b5c90d349372037441ae9906dd2d0a90522042459d1a35b70ce6d3697c75c71bf6b7ade8a6fbf9fe09f0508fa6bc6c271aa14e1977b5ea3600b46c1a14fe5e1e73bad2c328f601fd28c6123&amp;a=38&amp;b=29" /></p>
<p><wbr></wbr><wbr></wbr><strong>【肉糜炖蛋】</strong><br />
原料：鸡蛋两只(约100克左右)，肉糜100克 <br />
调料：黄酒5克，精盐4克，味精2克，清水400克 <br />
制法：将清洁鸡蛋敲入碗内，放入肉糜打散，加入精盐、黄酒、味精、清水用筷子再打匀。然后隔水炖锅水烧开，再将蛋液用筷搅打一下，放入隔水炖10分钟，即熟，取出上桌。亦可用微波炉高火5分钟，即熟，取出上桌。  <br />
（如果是隔水炖，蛋黄可以不打散，如果用微波炉就最好把蛋液搅拌开，不然做出来的蛋黄硬邦邦的）<br />
<img style="BORDER-RIGHT-WIDTH: 0px; WIDTH: 600px; BACKGROUND: none transparent scroll repeat 0% 0%; BORDER-TOP-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; HEIGHT: 450px; BORDER-LEFT-WIDTH: 0px" alt="" src="http://www.techmango.com/blog/GiveMePhoto.asp?url=http://b38.photo.store.qq.com/http_imgload.cgi?/rurl4_b=62008cd166c425b89b5c90d3493720372c91241ce71f4867632ea9d01a4372bc08fd1fe96d33a4e3015c28e454d91957a324a1162ff025804788a7936eac69e59374a2a225fa26d07f3c4298670d9553708a528c&amp;a=36&amp;b=38" /><wbr></wbr><wbr></wbr><strong>【咖啡炖蛋】</strong><br />
用料：&nbsp;&nbsp;蛋黄 1个&nbsp;&nbsp;牛奶 60ml&nbsp;&nbsp;方糖 1块 咖啡粉 少许  <br />
份量： 小慕思杯 1个 <br />
做法：1、蛋清和蛋黄分离。 <br />
&nbsp;&nbsp; &nbsp;2、牛奶用微波炉加热，中高火2分钟 <br />
&nbsp;&nbsp;&nbsp;  3、热牛奶中加入糖搅拌 <br />
&nbsp;&nbsp;&nbsp; 4、糖溶化后把牛奶倒入蛋黄中轻搅 <br />
&nbsp;&nbsp;&nbsp; 5、把牛奶蛋液倒入慕思杯，隔水180&deg;烤20分钟  <br />
&nbsp;&nbsp;&nbsp; 6、取出后在表面撒上咖啡粉，最高温再烤5分钟 <br />
Tips：&nbsp;&nbsp;烤前烤箱要以最高温预热，这样烤制时间才会更快。 <br />
牛奶与蛋黄要轻搅，不能像打蛋一样用力，不能搅至起泡。 <br />
<img style="BORDER-RIGHT-WIDTH: 0px; WIDTH: 236px; BACKGROUND: none transparent scroll repeat 0% 0%; BORDER-TOP-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; HEIGHT: 243px; BORDER-LEFT-WIDTH: 0px" alt="" src="http://www.techmango.com/blog/GiveMePhoto.asp?url=http://b31.photo.store.qq.com/http_imgload.cgi?/rurl4_b=62008cd166c425b89b5c90d3493720376d812f06d84412cf35586e66cb1a3f5cdc993ef1833014c6375031244bf8bbfa991162930aef7696545ef42296976e68910d175b1c08c98508ba8fb12bd1dbd5d67888e0&amp;a=29&amp;b=31" /></p>
<p><wbr></wbr><wbr></wbr><strong>【鲫鱼炖蛋】</strong><br />
原 料：  <br />
鲫鱼2条（约500克），鸡蛋3个，生姜丝少许，精盐适量，植物油适量，葱花少许,料酒少许，味精少许。 <br />
做 法：  <br />
1、将鲫鱼用清水洗净，在鱼身两侧划几道斜刀花。 <br />
2，将鸡蛋打如汤碗内，撒上葱花，盐，味精，待用。  <br />
3、锅置火上，放入适量植物油，待锅内油烧热，下鲫鱼，料酒及生姜丝和水适量（水的多少以装鸡蛋的汤碗的八成满为准），用旺火烧，待鱼汤变白呈牛奶样，关掉火，待用。  <br />
4、将鸡蛋搅打均匀，加入鱼汤，再放入鲫鱼，上笼蒸至鸡蛋凝固即可。 <br />
附注：  如家常做这道菜，家中无蒸笼，可在锅中加水适量，汤碗底垫上盘子放在水中，将锅置旺火上烧即可。<br />
<br />
<strong>【墨鱼炖蛋】</strong></p>
<p>原料：小墨鱼 鸡蛋 葱 姜 酒 盐  <br />
做法：</p>
<p>1、小墨鱼洗净，烫水焯一下，随后用葱.姜.酒.盐浸泡30分钟 <br />
2、打散鸡蛋，调好味。将墨鱼放入，加少许酒 <br />
3、上锅中火蒸20分钟即可 <br />
<img style="BORDER-RIGHT-WIDTH: 0px; WIDTH: 400px; BACKGROUND: none transparent scroll repeat 0% 0%; BORDER-TOP-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; HEIGHT: 410px; BORDER-LEFT-WIDTH: 0px" alt="" src="http://www.techmango.com/blog/GiveMePhoto.asp?url=http://b31.photo.store.qq.com/http_imgload.cgi?/rurl4_b=62008cd166c425b89b5c90d34937203744b39e5bf940941e3ae3eb8d8b258e75743e982876ec1a7389ae2d6cd436c3e09cc283c277ea0c96bcfee962a3231b733801c647f503298f5adbadc417a30c0cae7ef226&amp;a=36&amp;b=31" /></p>
<p><wbr></wbr><wbr></wbr><strong>【牛奶果粒炖蛋】</strong><br />
材料： 　鸡蛋2只，即喝牛奶一盒，白砂糖、果粒。 <br />
做法：  <br />
1、把鸡蛋顶端敲破一个小洞，流出蛋清，剩下蛋黄。 <br />
2、取180毫升牛奶放适量的糖，放微波炉&ldquo;叮&rdquo;温，糖完全溶解就可以，不需沸腾。如果过热了便放一会儿，等稍凉再用。 <br />
3、把温的甜牛奶与蛋清打至完全均匀，撇去泡沫 <br />
4、把果粒和混合好的1/2奶液倒进容器（因为果粒会浮起，所以先倒1/2） <br />
5、烧开水后，隔水蒸5分钟，稍凝固后再倒入剩下的奶液，再蒸至凝固。 <br />
6、然后表面摆几颗水果装饰一小就ok了<br />
【注意】：蒸的时候要用小火，切勿用大火，否则会失败！更重要的是要一直在炉边看着，大概可以的时候用牙签插进去取出，看是否已完全凝固。要炖得嫩滑必须细心和有耐性。最后，蛋黄也不要浪费，用剩下的大概70毫升的牛奶，以同样方法可做出黄色的炖蛋哦~</p>
<p><br />
<strong>【首乌炖蛋】</strong></p>
<p>主料：何首乌15克,鸡肉90克,鸡蛋2只,姜, 盐,味精,黄酒适量。 <br />
&nbsp;做法： 1.首乌切丝装入纱布袋封口，鸡肉剁成糜，  姜切成细末，鸡蛋打匀。 <br />
2.首乌加清水500毫升，文火煮1小时，弃 药留汁，与鸡肉、姜倒入蛋中加盐、黄酒、味  精适量，搅匀，上笼蒸熟。<br />
<img style="BORDER-RIGHT-WIDTH: 0px; WIDTH: 400px; BACKGROUND: none transparent scroll repeat 0% 0%; BORDER-TOP-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; HEIGHT: 337px; BORDER-LEFT-WIDTH: 0px" alt="" src="http://www.techmango.com/blog/GiveMePhoto.asp?url=http://b32.photo.store.qq.com/http_imgload.cgi?/rurl4_b=62008cd166c425b89b5c90d3493720375b4c13d7d8c69e4d71a4dbcebee883bfba027c8d9522566122fc8e9fdc06d0fcfb2229804fc3dc3ec3ee8ea872ff00973e99caef65bd916551425440db8a32aee05f6bd1&amp;a=38&amp;b=32" /></p>
<p><wbr></wbr><wbr></wbr><strong>【日式炖蛋】</strong><br />
材料：蟹柳、虾仁、鹌鹑蛋、西兰花、冬菇、调好味道的鸡蛋汁 <br />
蛋和水的比例为1比三 。如果用鲜汤更佳 关键是要用小火蒸 不然表面起泡 不平整 就不好看了 <br />
做法:材料摆好，倒入蛋汁，蒸熟后滴几滴香麻油即可  <br />
<img style="BORDER-RIGHT-WIDTH: 0px; WIDTH: 600px; BACKGROUND: none transparent scroll repeat 0% 0%; BORDER-TOP-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; HEIGHT: 450px; BORDER-LEFT-WIDTH: 0px" alt="" src="http://www.techmango.com/blog/GiveMePhoto.asp?url=http://b32.photo.store.qq.com/http_imgload.cgi?/rurl4_b=62008cd166c425b89b5c90d349372037c6797178f165ba46593b5a4ea93e687de44079a2b47a6a16b568bd848282eaf17414d531febc9fc3c0a8edb5557e5487eecf77361b96e93bae2deb0f769d6a4feee4e63b&amp;a=35&amp;b=32" /><wbr></wbr><wbr></wbr><strong>【瑤柱蒸水蛋】</strong><br />
材料： <br />
瑤柱 2兩 清水 1棵 薑 1茶匙 雞蛋 1茶匙  蔥粒、火腿茸少許 鹽 1茶匙 生抽、麻油 1茶匙 <br />
做法： <br />
1. 以半杯水浸軟瑤柱後，加入薑片，蒸十分鐘，所蒸出的瑤柱汁留用。  撕碎瑤柱，薑片棄掉。 <br />
2. 大碗內打散雞蛋(不用打起泡)，加入鹽及待涼的瑤柱汁同打勻； <br />
3.  將部分瑤柱絲排在碟底，用篩過濾蛋液入碟內，用中火蒸一分鐘，再改用慢火蒸至凝固，撒上蔥粒、 火腿茸和瑤柱絲，並淋上麻油及生抽即可。<br />
<img style="BORDER-RIGHT-WIDTH: 0px; WIDTH: 350px; BACKGROUND: none transparent scroll repeat 0% 0%; BORDER-TOP-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; HEIGHT: 256px; BORDER-LEFT-WIDTH: 0px" alt="" src="http://www.techmango.com/blog/GiveMePhoto.asp?url=http://b35.photo.store.qq.com/http_imgload.cgi?/rurl4_b=62008cd166c425b89b5c90d349372037f4d2b673d06b9fa52ae199907dcc74bef41ddad139804736d0c2671e583db083140d89da62f36acbb1ef892363753891b7cd0aa73dd949acf440b5a296d3101c19eb3966&amp;a=38&amp;b=35" /></p>
<p><wbr></wbr><wbr></wbr><strong>【蒜泥蒸蛋】</strong><br />
材料： <br />
雞蛋3隻 蒜泥1大匙綜合調味料：  醬油1/2大匙 鹽1/2小匙 味精1/2小匙 豬油1/2大匙 太白粉1/2小匙 做法： <br />
1.  雞蛋打散-&gt;加1又1/2杯水-&gt;調味料-&gt;以濾網過濾； <br />
2. 加入蒜泥拌勻-&gt;以弱微波蒸24分。(包保鮮膜)；  <br />
小貼士：蒸蛋必須用弱微波，否則質地粗糙。<br />
<img style="BORDER-RIGHT-WIDTH: 0px; WIDTH: 420px; BACKGROUND: none transparent scroll repeat 0% 0%; BORDER-TOP-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; HEIGHT: 310px; BORDER-LEFT-WIDTH: 0px" alt="" src="http://www.techmango.com/blog/GiveMePhoto.asp?url=http://b36.photo.store.qq.com/http_imgload.cgi?/rurl4_b=62008cd166c425b89b5c90d349372037b073e6a05a4ddaa82a3ff39692793fa73e5b68125a4cc96416c74f5cbcc1654dec01a3dcc69cf854aaed16b7cde917062875b2c9ca88bcd187d24711418b6297e9dfa9c2&amp;a=38&amp;b=36" /></p>
<p><wbr></wbr><wbr></wbr><strong>【三色蒸水蛋】</strong><br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;  1、最好用凉白开，如果有可能，水在还有一点温度的时候与蛋液混合，效果会更好。 <br />
2、水与蛋液的比例为1：1或前者略少一点。 <br />
3、水与蛋液混合用打蛋器搅均后，用筷子平行把蛋液上的浮沫去除干净。 <br />
三色蒸水蛋原料：鸡蛋两只 皮蛋1只 鹹蛋一隻 葱花 生抽 盐 鸡粉  <br />
制作方法： <br />
1、遵循上述蒸蛋羹窍门的步骤将打好后的蛋液倒入瓷盘中，同时加入盐和鸡粉。待蒸锅中水开，瓷盘放入蒸锅。  <br />
&nbsp;&nbsp;2、约蒸5分钟后，开蒸锅盖看蛋液是否已经微微凝固，如是，将皮蛋和鹹蛋切成小粒或小角状，一枚枚小心地摆在基本半凝固蛋液上。 <br />
3、再继续蒸约三分钟，关火，但不要立即掀盖，可以用火的余温闷两三分钟。 <br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 4、起锅，撒上葱花和自己心仪的装饰。 <br />
5、炒锅做热油，待油温8成热时，关火，将热油浇到葱花上。 <br />
6、最后滴上适量的生抽，一道美味的三色蒸水蛋的大功告成啦。 <br />
<img style="BORDER-RIGHT-WIDTH: 0px; WIDTH: 380px; BACKGROUND: none transparent scroll repeat 0% 0%; BORDER-TOP-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; HEIGHT: 345px; BORDER-LEFT-WIDTH: 0px" alt="" src="http://www.techmango.com/blog/GiveMePhoto.asp?url=http://b31.photo.store.qq.com/http_imgload.cgi?/rurl4_b=62008cd166c425b89b5c90d349372037c45f08d1ac8923514b0a5764a9815f2272a372893c1071144232218d89c9c091a526d76fab447c1ee7c0c9d7ad4529f94ec5241f29153b3e4c269276be60a82093c219fb&amp;a=38&amp;b=31" /></p>
<p><wbr></wbr><wbr></wbr><strong>【番茄肉粒炆蛋】</strong><br />
材料： <br />
番茄半斤 蛋3隻 瘦肉4兩 薑茸少許調味料：  生抽少許 生粉少許 糖少許 胡椒粉少許獻汁： 茄汁2湯匙 糖2湯匙 生抽1湯匙 水1杯 生粉1茶匙做法： <br />
1. 清洗番茄，去蒂，切成塊，備用；  <br />
2. 瘦肉洗淨，切粒，加入調味料略醃； <br />
3. 蛋打散，加入少許生抽調味。 <br />
4.  鑊燒紅加兩湯匙油，加肉粒炒勻至熟，加入蛋液快炒，取出，備用。 <br />
5.  鑊燒紅加油少許，爆香薑茸，加番茄炒勻，加蛋及肉粒，拌入獻汁調味，至汁液濃稠即可上碟。 <br />
小貼士：  獻汁要加入番汁及糖，會令番茄的味提升，更加好吃。<br />
<img style="BORDER-RIGHT-WIDTH: 0px; WIDTH: 400px; BACKGROUND: none transparent scroll repeat 0% 0%; BORDER-TOP-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; HEIGHT: 600px; BORDER-LEFT-WIDTH: 0px" alt="" src="http://www.techmango.com/blog/GiveMePhoto.asp?url=http://b28.photo.store.qq.com/http_imgload.cgi?/rurl4_b=62008cd166c425b89b5c90d349372037ebb5a679d766d8fd5cc01dc262eea3f390f97552815091fe2a2551f066bdcccbbf1d05c65cce2bac70f59b565d9cea0730d2d0f47eb450c7fe4ca0fb665934eec1731c54&amp;a=38&amp;b=28" /></p>
<p><wbr></wbr><wbr></wbr><strong>【清香鲜橙蒸蛋】</strong><br />
材料：橙(1只)、鸡蛋(2只) <br />
调料：白糖(1汤匙)  <br />
步骤： <br />
1.鲜橙洗净拭干水，放在砧板上用手掌轻揉5分钟。 <br />
2.将鲜橙切成两半，掏出橙肉，橙皮做成盛器。 <br />
3.将橙肉放入榨汁机内打成橙汁，滤去果肉渣。 <br />
4.鸡蛋打入碗内，加入1汤匙细砂糖，打散成蛋液，与橙汁混合均匀。 <br />
5.分别将蛋液倒入两只橙皮中，倒至八分满便可。 <br />
6.将橙皮蛋液放入盘中，盖上一层保鲜膜待用。 <br />
7.烧开锅内的水，放入橙皮蛋液，加盖以中火隔水清蒸10分钟。 <br />
8.取出蒸好的鲜橙蒸蛋，撕去保鲜膜，即可上桌。 <br />
贴士:  1.建议购买上等橙子，色泽鲜艳，果肉清甜，个头较大，果皮较厚，而且清蒸后果皮不易变形。 <br />
2.为了防止蒸蛋过老，期间可轻敲橙皮边缘，观察蒸蛋是否凝固，如果蒸蛋表层凝固，且无晃动感，代表蒸蛋已熟。<br />
<img style="BORDER-RIGHT-WIDTH: 0px; WIDTH: 600px; BACKGROUND: none transparent scroll repeat 0% 0%; BORDER-TOP-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; HEIGHT: 449px; BORDER-LEFT-WIDTH: 0px" alt="" src="http://www.techmango.com/blog/GiveMePhoto.asp?url=http://b36.photo.store.qq.com/http_imgload.cgi?/rurl4_b=62008cd166c425b89b5c90d34937203795ddf65caa82d8f4f0b0b7cd3cacd0b0572ff17565484850124ed33917ebd1c5eecd12a4d9dc38d686cff60a58594528451608361e279e503c138de99a80240d2acb9300&amp;a=29&amp;b=36" /><wbr></wbr><wbr></wbr><strong>【XO酱蒸蛋】</strong><br />
材料 雞蛋 6 隻，鹽 1 茶匙，水 750 毫升 [3 杯]，免治豬肉  150 克 [5 安士/4 兩]，蔥粒 2 湯匙，芫荽 裝飾用 <br />
芡汁 <br />
粟粉 1 茶匙，水 1 湯匙 蠔油 1 湯匙 XO醬 4  湯匙，胡椒粉 少許 <br />
做法1. 將雞蛋與鹽及水打勻，用中火蒸熟。2. 用1湯匙油將免治豬肉炒熟，加入蔥粒及芡汁，炒勻至熱透，淋在蒸蛋上，飾以芫荽 &nbsp;</p>
</div>
<p>&nbsp;</p>]]></summary>
	  <link rel="alternate" type="text/html" href="http://www.techmango.com/Blog/article/Cate_TastyFood/learn_how_to_cook_ delicious _egg.htm" /> 
	  <id>http://www.techmango.com/Blog/default.asp?id=853</id>
  </entry>	
		
  <entry>
	  <title type="html"><![CDATA[判断你是否足够成熟的七大标准]]></title>
	  <author>
		 <name>techmango</name>
		 <uri>http://www.techmango.com/Blog/</uri>
		 <email>jimmysu_88@163.com</email>
	  </author>
	  <category term="" scheme="http://www.techmango.com/Blog/default.asp?cateID=5" label="生活|网络百科" /> 
	  <updated>2010-07-18T00:06:39+08:00</updated>
	  <published>2010-07-18T00:06:39+08:00</published>
		  <summary type="html"><![CDATA[<p><span style="color: rgb(0, 0, 255);"><span style="font-size: 14px;">在生活中，用于判断某个人是否足够有如下七大标准的，大家看看，你满足哪些条件呢？</span></span></p>
<p><font face="宋体"><font style="font-size: 18px;"><font style="font-size: 18px;"><font color="#080000"><font face="楷体_GB2312"><font style="font-size: 14pt;">一：沉稳<br />
（1）不要随便显露你的情绪。<br />
（2）不要逢人就诉说你的困难和遭遇。<br />
（3）在征询别人的意见之前，自己先思考，但不要先讲。<br />
（4）不要一有机会就唠叨你的不满。<br />
（5）重要的决定尽量有别人商量，最好隔一天再发布。<br />
（6）讲话不要有任何的慌张，走路也是。</font></font></font></font></font></font><br />
<font style="font-size: 18px;"><font color="#080000"><font face="楷体_GB2312"><font style="font-size: 14pt;">（7）自信是好，但是别忽略任何人的想法。</font></font></font></font><br />
<font style="font-size: 18px;"><font color="#080000"><font face="楷体_GB2312"><font style="font-size: 14pt;">（8）人无高低，不要一副拽拽的样子，对人对事，别忘了礼貌。你没有比任何人优秀。<br />
二：细心<br />
（1）对身边发生的事情，常思考它们的因果关系。<br />
（2）对做不到位的问题，要发掘它们的根本症结。<br />
（3）对习以为常的做事方法，要有改进或优化的建议。<br />
（4）做什么事情都要养成有条不紊和井然有序的习惯。<br />
（5）经常去找几个别人看不出来的毛病或弊端。<br />
（6）自己要随时随地对有所不足的地方补位。</font></font></font></font><br />
<font style="font-size: 18px;"><font color="#080000"><font face="楷体_GB2312"><font style="font-size: 14pt;">三：胆识<br />
（1）不要常用缺乏自信的词句<br />
（2）不要常常反悔，轻易推翻已经决定的事。<br />
（3）在众人争执不休时，不要没有主见。<br />
（4）整体氛围低落时，你要乐观、阳光。<br />
（5）做任何事情都要用心，因为有人在看着你。<br />
（6）事情不顺的时候，歇口气，重新寻找突破口，就结束也要干净利落。<br />
四：大度<br />
（1）不要刻意把有可能是伙伴的人变成对手。<br />
（2）对别人的小过失、小错误不要斤斤计较。<br />
（3）在金钱上要大方，学习三施（财施、法施、无畏施）<br />
（4）不要有权力的傲慢和知识的偏见。<br />
（5）任何成果和成就都应和别人分享。<br />
五：诚信<br />
（1）做不到的事情不要说，说了就努力做到。<br />
（2）虚的口号或标语不要常挂嘴上。<br />
（3）停止一切&ldquo;不道德&rdquo;的手段。<br />
（4）耍弄小聪明，要不得！<br />
六：担当<br />
（1）检讨任何过失的时候，先从自身或自己人开始反省。  <br />
（2）事情结束后，先审查过错，再列述功劳。</font></font></font></font><br />
<font style="font-size: 18px;"><font color="#080000"><font face="楷体_GB2312"><font style="font-size: 14pt;">（3）一个计划，要统筹全局，规划未来。<br />
（4）勇于承担责任所造成的损失。</font></font></font></font><br />
<font style="font-size: 18px;"><font color="#080000"><font face="楷体_GB2312"><font style="font-size: 14pt;">七：内涵</font></font></font></font><br />
<font style="font-size: 18px;"><font color="#080000"><font face="楷体_GB2312"><font style="font-size: 14pt;">（1）学习各方面的知识，虚心观察周围的事物。眼界宽阔。</font></font></font></font><br />
<font style="font-size: 18px;"><font color="#080000"><font face="楷体_GB2312"><font style="font-size: 14pt;">（2）了解自己，培养属于自己的审美观。</font></font></font></font><br />
<font style="font-size: 18px;"><font color="#080000"><font face="楷体_GB2312"><font style="font-size: 14pt;">（3）笑对生活。懒惰要不得。培养健康的生活习惯。</font></font></font></font><br />
<font style="font-size: 18px;"><font color="#080000"><font face="楷体_GB2312"><font style="font-size: 14pt;">（4）不要盲目的做任何事。要有目标。</font></font></font></font><br />
<font style="font-size: 18px;"><font color="#080000"><font face="楷体_GB2312"><font style="font-size: 14pt;">（5）不仅仅只关注内在美，外在美也很重要。</font></font></font></font><br />
<font style="font-size: 18px;"><font color="#080000"><font face="楷体_GB2312"><font style="font-size: 14pt;">（6）不要整天的对着电脑，玩着无聊的东西。</font></font></font></font><br />
<font style="font-size: 18px;"><font color="#080000"><font face="楷体_GB2312"><font style="font-size: 14pt;">（7）理智的判断，学会控制情绪。</font></font></font></font></p>]]></summary>
	  <link rel="alternate" type="text/html" href="http://www.techmango.com/Blog/article/Internet/judgement_whether_you_are_mature.htm" /> 
	  <id>http://www.techmango.com/Blog/default.asp?id=852</id>
  </entry>	
		
  <entry>
	  <title type="html"><![CDATA[AjaxUI开发必备的模板引擎jTemplate]]></title>
	  <author>
		 <name>techmango</name>
		 <uri>http://www.techmango.com/Blog/</uri>
		 <email>jimmysu_88@163.com</email>
	  </author>
	  <category term="" scheme="http://www.techmango.com/Blog/default.asp?cateID=7" label="软件|深入Javascript" /> 
	  <updated>2010-07-09T15:31:11+08:00</updated>
	  <published>2010-07-09T15:31:11+08:00</published>
		  <summary type="html"><![CDATA[<p><strong><span style="font-size: 14px;">jTemplate是一个免费开源的，完全用Javascript程序语言开发的模板引擎，它是专门为Jquery量身定做的插件plugin，最适合用于Ajax+Json开发。</span></strong></p>
<p><span style="font-size: 14px;">它的使用方法也比较简单，首先制作一个模板文件template.htm ：</span></p>
<p><span style="color: rgb(0, 0, 255);"><span style="font-size: 14px;"><strong>Template example:</strong></span></span></p>
<div class="geshi" style="font-family: monospace;"><span style="font-size: 14px;"><br />
</span>
<div style="font-family: monospace;" class="geshi">&nbsp;</div>
<span style="font-size: 14px;">
<div style="font-family: monospace;" class="geshi"><span style="color: rgb(0, 0, 0);"><span style="font-weight: bold; color: black;">&lt;table</span> <span style="color: rgb(0, 0, 102);">width</span>=\&quot;<span style="color: rgb(204, 102, 204);">200</span>\&quot;<span style="font-weight: bold; color: black;">&gt;</span></span><br />
&nbsp;<span style="color: rgb(0, 136, 68);"><span style="color: rgb(102, 204, 102);">{</span><span style="color: rgb(6, 0, 255);">#foreach</span> <span style="color: rgb(34, 170, 187);">$T</span>.table <span style="color: rgb(6, 0, 255);">as</span>  row<span style="color: rgb(102, 204, 102);">}</span></span><br />
&nbsp; <span style="color: rgb(0, 0, 0);"><span style="font-weight: bold; color: black;">&lt;tr</span> <span style="color: rgb(0, 0, 102);">bgcolor</span>=\&quot;<span style="color: rgb(102, 204, 102);">{</span><span style="color: rgb(6, 0, 255);">#cycle</span> <span style="color: rgb(0, 0, 102);">values</span>=<span style="color: rgb(102, 204, 102);">[</span>'#AAAAAA','#CCCCCC'<span style="color: rgb(102, 204, 102);">]</span><span style="color: rgb(102, 204, 102);">}</span>\&quot;<span style="font-weight: bold; color: black;">&gt;</span></span><br />
&nbsp; <span style="color: rgb(0, 0, 0);"><span style="font-weight: bold; color: black;">&lt;td<span style="font-weight: bold; color: black;">&gt;</span></span></span><span style="color: rgb(0, 136, 68);"><span style="color: rgb(102, 204, 102);">{</span><span style="color: rgb(34, 170, 187);">$T</span>.row.name.link<span style="color: rgb(102, 204, 102);">(</span>'mailto:'+<span style="color: rgb(34, 170, 187);">$T</span>.row.mail<span style="color: rgb(102, 204, 102);">)</span><span style="color: rgb(102, 204, 102);">}</span></span><span style="color: rgb(0, 0, 0);"><span style="font-weight: bold; color: black;">&lt;/td<span style="font-weight: bold; color: black;">&gt;</span></span></span><br />
&nbsp; <span style="color: rgb(0, 0, 0);"><span style="font-weight: bold; color: black;">&lt;/tr<span style="font-weight: bold; color: black;">&gt;</span></span></span><br />
&nbsp;<span style="color: rgb(0, 136, 68);"><span style="color: rgb(102, 204, 102);">{</span><span style="color: rgb(6, 0, 255);">#/for</span><span style="color: rgb(102, 204, 102);">}</span></span><br />
<span style="color: rgb(0, 0, 0);"><span style="font-weight: bold; color: black;">&lt;/table<span style="font-weight: bold; color: black;">&gt;</span></span></span></div>
<br />
&nbsp;</span></div>
<div class="geshi" style="font-family: monospace;"><span style="font-size: 14px;">然后，用Jquery调用jTemplate内置方法：</span></div>
<div class="geshi" style="font-family: monospace;"><span style="font-size: 14px;"><br />
</span></div>
<div class="geshi" style="font-family: monospace;"><span style="font-size: 14px;">var mydata = { </span>
<pre id="line70"><span style="font-size: 14px;">[<br />  {id: 1, name: 'Anne', age: 22, mail: 'anne@domain.com'},<br />  {id: 2, name: 'Amelie', age: 24, mail: 'amelie@domain.com'},<br />  {id: 3, name: 'Polly', age: 18, mail: 'polly@domain.com'},<br />  {id: 4, name: 'Alice', age: 26, mail: 'alice@domain.com'},<br />  {id: 5, name: 'Martha', age: 25, mail: 'martha@domain.com'}<br /> ]<br /></span></pre>
<p><span style="font-size: 14px;">};<span style="color: rgb(0, 128, 128);">//在这里直接定义一个json数据，在实际情况中，我们用可用Ajax请求远程网页返回的Json.</span><br />
<br />
</span><span style="color: rgb(128, 0, 128);"><span style="font-size: 14px;">$(&quot;#result&quot;).setTemplate(&quot;setTemplateURL&quot;,null,null);<br />
<br />
$(&quot;#result&quot;).processTemplate(mydata);</span></span></p>
<p><span style="font-size: 14px;">在界面上显示的结果是：<br />
</span></p>
<p><a name="results"><span style="color: rgb(0, 0, 255);"><strong><span style="font-size: 14px;">Results:</span></strong></span></a></p>
<div version="0.7.8" jquery1278659465347="590" style="color: rgb(0, 0, 0);" id="result" class="result">
<table width="200">
    <tbody>
        <tr bgcolor="#aaaaaa">
            <td><a href="http://www.techmango.com/Blog/mailto:anne@domain.com"><span style="font-size: 14px;">Anne</span></a></td>
        </tr>
        <tr bgcolor="#cccccc">
            <td><a href="http://www.techmango.com/Blog/mailto:amelie@domain.com"><span style="font-size: 14px;">Amelie</span></a></td>
        </tr>
        <tr bgcolor="#aaaaaa">
            <td><a href="http://www.techmango.com/Blog/mailto:polly@domain.com"><span style="font-size: 14px;">Polly</span></a></td>
        </tr>
        <tr bgcolor="#cccccc">
            <td><a href="http://www.techmango.com/Blog/mailto:alice@domain.com"><span style="font-size: 14px;">Alice</span></a></td>
        </tr>
        <tr bgcolor="#aaaaaa">
            <td><a href="http://www.techmango.com/Blog/mailto:martha@domain.com"><span style="font-size: 14px;">Martha</span></a></td>
        </tr>
    </tbody>
</table>
</div>
</div>
<div class="geshi" style="font-family: monospace;"><span style="color: rgb(153, 51, 0);"><span style="font-size: 14px;"><br />
</span></span></div>
<div class="geshi" style="font-family: monospace;"><span style="color: rgb(153, 51, 0);"><span style="font-size: 14px;">怎么样，很方便吧？我们再不需要用+=来拼接字符串来生成复杂的表格了，而且用模板开发是非常易于维护的。</span></span><span style="font-size: 14px;"><br />
</span></div>
<div class="geshi" style="font-family: monospace;"><span style="font-size: 14px;"><br />
</span></div>
<div class="geshi" style="font-family: monospace;"><span style="font-size: 14px;">上面的只是一个简单的例子。其实jTemplate很强大，自己有一套语法，与Javascript语法非常相近！<br />
</span></div>
<div class="geshi" style="font-family: monospace;"><span style="font-size: 14px;">例如：<span style="color: rgb(0, 128, 128);">{#if}， {#foreach}，{#for}，{#include},{#param},{#cycle}</span>等等，有了这些，我们在模板文件中加程序，从而能生成更加复杂的表格或界面。</span></div>
<div class="geshi" style="font-family: monospace;"><span style="font-size: 14px;"><br />
</span></div>
<div class="geshi" style="font-family: monospace;"><span style="font-size: 14px;">在文中就不详细例如它里面每一个语法的使用方法了，如果想更加了解jTemplate，可以去它的主页瞧瞧：</span><a href="http://jtemplates.tpython.com/" target="_blank"><span style="font-size: 14px;">jtemplates.tpython.com/</span></a><span style="font-size: 14px;"><br />
</span></div>
<div class="geshi" style="font-family: monospace;">&nbsp;</div>]]></summary>
	  <link rel="alternate" type="text/html" href="http://www.techmango.com/Blog/article/AjaxTech/Ajax_UI_developement_script_jTemplate.htm" /> 
	  <id>http://www.techmango.com/Blog/default.asp?id=851</id>
  </entry>	
		
  <entry>
	  <title type="html"><![CDATA[CSS去除点击链接后出现的虚框]]></title>
	  <author>
		 <name>techmango</name>
		 <uri>http://www.techmango.com/Blog/</uri>
		 <email>jimmysu_88@163.com</email>
	  </author>
	  <category term="" scheme="http://www.techmango.com/Blog/default.asp?cateID=14" label="网页|CSS/DHTML" /> 
	  <updated>2010-07-06T22:55:06+08:00</updated>
	  <published>2010-07-06T22:55:06+08:00</published>
		  <summary type="html"><![CDATA[<p><span style="color: rgb(0, 0, 255);"><span style="font-size: 14px;">通常情况下，我们在浏览网页时，点击过的链接都会留有一个虚线方框．还有，我们在点击用图片制作Tab菜单选项切换选项时，</span></span><span style="color: rgb(0, 0, 255);"><span style="font-size: 14px;">Tab选项上</span></span><span style="color: rgb(0, 0, 255);"><span style="font-size: 14px;">会留下难看的虚框，这时我们应该想办法去除它</span></span><span style="font-size: 14px;">．<br />
</span></p>
<p><span style="font-size: 14px;">在IE浏览器里，我们只需要在 a 标签中加入 hidefocus=&rdquo;true&rdquo; 属性：&lt;a href=&rdquo;&rdquo; hidefocus=&rdquo;true&rdquo;  title=&rdquo;&rdquo;&gt;siteface&lt;/a&gt;;<br />
</span></p>
<p><span style="font-size: 14px;"> 而在Firefox等浏览器中定义CSS：a { outline:none; }或者a { outline:0; } 就可以了。<br />
</span></p>
<p><span style="font-size: 14px;">  在IE里 hideFocus属性的意思即隐藏聚焦，具有使对象聚焦失效的功能，其功能相当于： onFocus=&rdquo;this.blur()&rdquo; 它的值是一个布尔值，如hideFocus=true。也可省略赋值直接写hideFocus。<br />
</span></p>
<p><span style="font-size: 14px;">  另外，也可以在CSS文件里这样定义： <br />
</span></p>
<p><span style="color: rgb(153, 51, 0);"><span style="font-size: 14px;">a { blr:expression(this.onFocus=this.blur()) } /*针对 IE*/<br />
</span></span></p>
<p><span style="color: rgb(153, 51, 0);"><span style="font-size: 14px;"> a { outline:none; } /*针对firefox等*/  但要注意expression是容易引起性能问题的。</span></span></p>]]></summary>
	  <link rel="alternate" type="text/html" href="http://www.techmango.com/Blog/article/CSS_DHTML/CSS_remove_link_of_fous_frame.htm" /> 
	  <id>http://www.techmango.com/Blog/default.asp?id=850</id>
  </entry>	
		
  <entry>
	  <title type="html"><![CDATA[世界杯，非洲悲]]></title>
	  <author>
		 <name>techmango</name>
		 <uri>http://www.techmango.com/Blog/</uri>
		 <email>jimmysu_88@163.com</email>
	  </author>
	  <category term="" scheme="http://www.techmango.com/Blog/default.asp?cateID=8" label="生活|站长日记" /> 
	  <updated>2010-07-04T20:30:08+08:00</updated>
	  <published>2010-07-04T20:30:08+08:00</published>
		  <summary type="html"><![CDATA[<p><span style="font-size: 14px"><img alt="" align="right" src="http://www.techmango.com/blog//attachments/month_1007/2010world_cup0704.jpg" />2010年六月的盛夏，四年一度的，万众瞩目的，让人期待的世界杯足球赛在非洲的南非举行了，但是这届世界杯最有特点的嗡嗡声让人很是不爽，这种难听的声音从一开始就给大家带了不祥的预感．许多球队都没有踢出应该有的水平，尤其是几个被大家看好的球队在八强赛之前就被早早淘汰了．另外，这届的裁判执法表现也很让人非常不满意，由于他们的误判和判法不当给许多球队造成了阴影，使他们更加不能发扬出实力来，于是许多冷门频频出现，可谓是悲剧连连啊．总之，这届世界杯足球赛可以以用六个字形容：＂世界杯，非洲悲＂．<img alt="" src="http://www.techmango.com/blog/fckeditor/editor/images/smiley/qq2007/49.gif" /><br />
</span></p>
<p><span style="font-size: 14px"><br />
</span></p>
<p><span style="font-size: 14px">从上次<span class="Apple-style-span" style="widows: 2; text-transform: none; text-indent: 0px; border-collapse: separate; font: medium 微软雅黑; white-space: normal; orphans: 2; letter-spacing: normal; color: rgb(0,0,0); word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px"><span class="Apple-style-span" style="line-height: 22px; font-family: arial; white-space: pre; font-size: 16px">卫冕</span></span>冠军意大利在小组赛就直接退出，到法国队内讧导致失败，再到英格兰由于裁判的误判让他们不得不在16强赛中离开，然后到巴西受到裁判不公的判法，因此越打越糟，结果也被迫淘汰，最后到昨晚到四强争夺赛中的阿根廷也逃不过＂蓝色＂球衣的诅咒，被德国战国碾平，真是极大的杯具！</span></p>
<p><span style="font-size: 14px"><br />
</span></p>
<p><span style="font-size: 14px">说到诅咒，在这届世界杯足球赛上，有四大天王美称的四位球星仿佛就是中了邪似的，极其可怕，无论他们如何努力，进球总是对他们无缘！其中鲁尼,卡卡，梅西进球0进球，而Ｃ罗是带着一种不想进球心态比赛，竟然用背把球带进了球门，他算是最无憾的．最让人失望的正是让人抱以重望的，可比马拉多纳的球星＂梅西＂却只能带着无尽的眼泪默默地离开了，这让非常多的阿迷伤心的．</span></p>
<p><span style="font-size: 14px"><br />
</span></p>
<p><span style="font-size: 14px">不过，暗然无趣的六月过去了，我们从德国球队看到了世界球足球的黑暗前的光明，看到了真正11人配合的精彩足球，不得不谢谢他们，年轻的德国战车～　希望后面的几场比赛不要再有冷门杯具出现，希望他们能在最后的几场球赛给我们带回一点世界杯的感觉吧，阿门．<img alt="" src="http://www.techmango.com/blog/fckeditor/editor/images/smiley/qq2007/54.gif" /><br />
</span></p>]]></summary>
	  <link rel="alternate" type="text/html" href="http://www.techmango.com/Blog/article/Self_Diary/world_cup_Africa_tragedy.htm" /> 
	  <id>http://www.techmango.com/Blog/default.asp?id=849</id>
  </entry>	
		
  <entry>
	  <title type="html"><![CDATA[Jquery操作表单Sel&#101;ct元素的用法]]></title>
	  <author>
		 <name>techmango</name>
		 <uri>http://www.techmango.com/Blog/</uri>
		 <email>jimmysu_88@163.com</email>
	  </author>
	  <category term="" scheme="http://www.techmango.com/Blog/default.asp?cateID=7" label="软件|深入Javascript" /> 
	  <updated>2010-07-02T09:46:21+08:00</updated>
	  <published>2010-07-02T09:46:21+08:00</published>
		  <summary type="html"><![CDATA[<p><strong><span style="color: rgb(128, 0, 0);"><span style="font-size: 14px;">Jquery的功能很强大，但是我们需要通过一些比较的实例来学习了解每个函数的准确用法．下面介绍Jquery操作表单Select元素的用法：</span></span></strong></p>
<p><strong><span style="color: rgb(0, 0, 0);"><span style="font-size: 14px;">jQuery获取Select元素，并选择的Text和Value:</span></span></strong><span style="font-size: 14px;"><br />
实例分析：<br />
1. $(&quot;#select_id&quot;).change(function(){//code...}); &nbsp;&nbsp;<font color="#008000"><span class="green">//为Select添加事件，当选择其中一项时触发</span><br />
</font>2.  var  checkText=$(&quot;#select_id&quot;).find(&quot;option:selected&quot;).text();&nbsp;&nbsp;<font color="#008000"><span class="green">//获取Select选择的Text</span><br />
</font>3.  var checkValue=$(&quot;#select_id&quot;).val();&nbsp;&nbsp;<font color="#008000"><span class="green">//获取Select选择的Value</span><br />
</font>4. var  checkIndex=$(&quot;#select_id &quot;).get(0).selectedIndex;&nbsp;&nbsp;<font color="#008000"><span class="green">//获取Select选择的索引值</span><br />
</font>5. var  maxIndex=$(&quot;#select_id option:last&quot;).attr(&quot;index&quot;);&nbsp;&nbsp;<span class="green"><font color="#008000">//获取Select最大的索引值</font></span></span></p>
<p><span style="font-size: 14px;"> <br />
<strong>jQuery获取Select元素，并设置的 Text和Value:</strong><br />
</span><span style="font-size: 14px;">实例分析</span><span style="font-size: 14px;">：<br />
1. $(&quot;#select_id &quot;).get(0).selectedIndex=1;&nbsp;&nbsp;<font color="#008000"><span class="green">//设置Select索引值为1的项选中</span><br />
</font>2.  $(&quot;#select_id &quot;).val(4); &nbsp;&nbsp;<font color="#008000"><span class="green">// 设置Select的Value值为4的项选中</span><br />
</font>3. $(&quot;#select_id  option[text='jQuery']&quot;).attr(&quot;selected&quot;, true);  &nbsp;&nbsp;<font color="#008000"><span class="green">//设置Select的Text值为jQuery的项选中</span><br />
</font> </span></p>
<div class="div"><strong><span style="font-size: 14px;">jQuery添加/删除Select元素的Option项：</span></strong><span style="font-size: 14px;"><br />
</span><span style="font-size: 14px;">实例分析</span><span style="font-size: 14px;">：<br />
1. $(&quot;#select_id&quot;).append(&quot;&lt;option   value='Value'&gt;Text&lt;/option&gt;&quot;);&nbsp;&nbsp;<font color="#008000"><span class="green">//为Select追加一个Option(下拉项)</span><br />
</font>2.  $(&quot;#select_id&quot;).prepend(&quot;&lt;option  value='0'&gt;请选择&lt;/option&gt;&quot;);&nbsp;&nbsp;<font color="#008000"><span class="green">//为Select插入一个Option(第一个位置)</span><br />
</font>3.  $(&quot;#select_id option:last&quot;).remove();&nbsp;&nbsp;<font color="#008000"><span class="green">//删除Select中索引值最大Option(最后一个)</span><br />
</font>4.  $(&quot;#select_id option[index='0']&quot;).remove();&nbsp;&nbsp;<font color="#008000"><span class="green">//删除Select中索引值为0的Option(第一个)</span><br />
</font>5.  $(&quot;#select_id option[value='3']&quot;).remove();&nbsp;&nbsp;<font color="#008000"><span class="green">//删除Select中Value='3'的Option</span><br />
</font>5.  $(&quot;#select_id option[text='4']&quot;).remove();&nbsp;&nbsp;<span class="green"><font color="#008000">//删除Select中Text='4'的Option</font></span></span></div>
<p><span style="font-size: 14px;"><br />
</span></p>]]></summary>
	  <link rel="alternate" type="text/html" href="http://www.techmango.com/Blog/article/AjaxTech/Jquery_Input_select_usage.htm" /> 
	  <id>http://www.techmango.com/Blog/default.asp?id=847</id>
  </entry>	
		
  <entry>
	  <title type="html"><![CDATA[用CSS制作可输入式Sel&#101;ct下拉框]]></title>
	  <author>
		 <name>techmango</name>
		 <uri>http://www.techmango.com/Blog/</uri>
		 <email>jimmysu_88@163.com</email>
	  </author>
	  <category term="" scheme="http://www.techmango.com/Blog/default.asp?cateID=14" label="网页|CSS/DHTML" /> 
	  <updated>2010-07-01T10:44:43+08:00</updated>
	  <published>2010-07-01T10:44:43+08:00</published>
		  <summary type="html"><![CDATA[<p><span style="color: rgb(128, 0, 0);"><span style="font-size: 14px;">在Winform里面有一个combox,它是一个可输入式的Select下拉框，而在Webform里却没有，我们只能自己用CSS制作一个．在这里，我们会用两个关键的CSS属性：POSITION: absolute;和rect(*).</span></span></p>
<p><span style="color: rgb(0, 0, 255);"><span style="font-size: 14px;">有了POSITION: absolute;就可以利用left及top来设置固定坐标，使得输入输入框跟下拉框的位置重合，然后用Rect来剪切</span></span><span style="color: rgb(0, 0, 255);"><span style="font-size: 14px;">下拉框</span></span><span style="color: rgb(0, 0, 255);"><span style="font-size: 14px;">的显示区域，只显示箭头部分．下面是Rect的语法解释：</span></span></p>
<p><span style="color: rgb(51, 51, 153);"><span style="font-size: 14px;">－－－－－－－－－－－－－－－－－－<br />
</span></span></p>
<p><span style="color: rgb(51, 51, 153);"><span style="font-size: 14px;">clip : auto | rect ( number number number number )<br />
取值：<br />
auto : 默认值。对象无剪切<br />
rect ( number number number number ) : 依据上-右-下-左的顺序提供自对象左上角为(0,0)坐标计算的四个偏移数值，其中任一数值都可用 auto 替换，即此边不剪切<br />
<br />
说明：<br />
检索或设置对象的可视区域。可视区域外的部分是透明的。<br />
此属性定义了绝对(absolute)定位对象可视区域的尺寸。必须将 position 属性的值设为 absolute ，此属性方可使用。<br />
自IE5开始，此属性在MAC平台上可用。<br />
对应的脚本特性为 clip 。<br />
</span></span></p>
<p><span style="color: rgb(51, 51, 153);"><span style="font-size: 14px;">－－－－－－－－－－－－－－－－－－</span></span><span style="font-size: 14px;"><br />
</span></p>
<p><strong><span style="color: rgb(128, 0, 128);"><span style="font-size: 14px;">下面我自己做的实例，其中expression用来兼容IE浏览器的，因为它跟火狐浏览器的坐标位置有一些偏差．</span></span></strong><span style="font-size: 14px;"><br />
</span></p>
<p><span style="font-size: 14px;">&lt;html&gt;<br />
<br />
&lt;head&gt;<br />
<br />
&lt;style type=&quot;text/css&quot;&gt;<br />
&nbsp;&nbsp;&nbsp; .fixPosDropDown<br />
&nbsp;&nbsp;&nbsp; {<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; LEFT: 150px; TOP: 47px;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; LEFT: expression(&quot;130px&quot;); TOP: expression(&quot;12px&quot;);<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; WIDTH: 150px; HEIGHT: 16px;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; CLIP: rect(0px 180px 110px 128px); POSITION: absolute; <br />
&nbsp;&nbsp;&nbsp; }<br />
&nbsp;&nbsp;&nbsp; .fixPosInput<br />
&nbsp;&nbsp;&nbsp; {<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; LEFT: 130px; TOP: 47px;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; LEFT: expression(&quot;120px&quot;); TOP: expression(&quot;12px&quot;); WIDTH: 152px;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; POSITION: absolute;<br />
&nbsp;&nbsp;&nbsp; }<br />
<br />
&lt;/head&gt;<br />
<br />
&lt;body&gt;<br />
<br />
<br />
Status:&lt;select id=&quot;ddl_EventStatus&quot; class=&quot;fixPosDropDown&quot;&gt;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;option value=&quot;&quot;&gt;--&lt;/option&gt;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;option value=&quot;2&quot;&gt;Start Processing&lt;/option&gt;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;option value=&quot;3&quot;&gt;Succeed&lt;/option&gt;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;option value=&quot;4&quot;&gt;Failed&lt;/option&gt;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/select&gt;<br />
&lt;input type=&quot;text&quot; id=&quot;txt_dropDownInput&quot; class=&quot;fixPosInput&quot;/&gt;<br />
<br />
&lt;/body&gt;<br />
<br />
&lt;/html&gt;<br />
<br />
</span></p>]]></summary>
	  <link rel="alternate" type="text/html" href="http://www.techmango.com/Blog/article/CSS_DHTML/CSS_inputable_Select_dropdownlist.htm" /> 
	  <id>http://www.techmango.com/Blog/default.asp?id=848</id>
  </entry>	
		
  <entry>
	  <title type="html"><![CDATA[ASP.NET中为WebService实现身份验证功能]]></title>
	  <author>
		 <name>techmango</name>
		 <uri>http://www.techmango.com/Blog/</uri>
		 <email>jimmysu_88@163.com</email>
	  </author>
	  <category term="" scheme="http://www.techmango.com/Blog/default.asp?cateID=6" label="软件|.NET技术" /> 
	  <updated>2010-06-30T00:23:36+08:00</updated>
	  <published>2010-06-30T00:23:36+08:00</published>
		  <summary type="html"><![CDATA[<p><span style="font-size: 14px;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><span style="color: rgb(128, 0, 0);"><span style="font-size: 14px;">在ASP.NET中，通常情况下，WebService是默认没有权限控制的，只要有程序能发现它就能任意使用它．如果没有权限控制，被他人随意调用了更新或删除等操作的WebService，那将是极其危险的．要想为WebService加权限控制功能，即身份验证功能，我们可以使用SOAP方式传递保存在Http Header头里的身份信息给WebService，即使用了Attribute对象<span style="color: rgb(0, 128, 128);"><strong>SoapHeader</strong></span>．下面通过一个简单实例来讲解它的实现方法：</span></span></p>
<p><strong><span style="font-size: 14px;">１．服务器端.</span></strong></p>
<p>&nbsp;</p>
<p><span style="font-size: 14px;">
<p>&nbsp;&nbsp; <u>1) 这里实现了一个batchDeleteSubscription方法，它是用于批量删除消息定制数据．我们在方法头上加了一句<span style="color: rgb(0, 128, 128);">[WebMethod,  SoapHeader(&quot;validUser&quot;)]，</span>其实validUser是一个全局变量名，它的类型是继承了SoapAttributeAttribute的<span style="color: rgb(0, 0, 255);">SecurityHeader</span>．<span style="color: rgb(0, 0, 255);">SecurityHeader</span><span style="color: rgb(0, 0, 0);">的实例化可以在构造函数中实现．</span></u></p>
</span></p>
<p><span style="color: rgb(0, 0, 255);"><span style="font-size: 14px;">public class</span></span><span style="font-size: 14px;"> EventManagemantWS</span></p>
<p><span style="font-size: 14px;">{</span></p>
<p><span style="font-size: 14px;"><span style="color: rgb(0, 0, 255);">　　public </span>EventManagemantWS()<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; validUser = new SecurityHeader();<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; foreach (string key in Context.Request.Headers.AllKeys)<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 (key.StartsWith(&quot;$&quot;))<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; validUser.UserId = key.Replace(&quot;$&quot;,&quot;&quot;);<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; validUser.Authentication = Context.Request.Headers[key].Trim();<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; }<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }</span></p>
<p><span style="font-size: 14px;">　　<span style="color: rgb(0, 0, 255);">private </span>SecurityHeader validUser;</span></p>
<p><span style="font-size: 14px;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <span style="color: rgb(0, 128, 128);">[WebMethod, SoapHeader(&quot;validUser&quot;)]</span><br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; public bool batchDeleteSubscription(string subscriptionIdList)<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if (!<span style="color: rgb(0, 0, 255);">validateUserInfo</span>(this)) throw new Exception(&quot;You are not authenticated to do this action!&quot;);<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; string[] ids = subscriptionIdList.Split('|');<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; RteqWorking1PendingData pendingData = new RteqWorking1PendingData();<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; try<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 (ids.Length &gt; 0)<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; foreach (string id in ids)<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; pendingData.cancelEventSubscription(long.Parse(id));<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; catch (System.Data.SqlClient.SqlException ex)<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; Log.Error(ex);<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; return false;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; return true;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }</span></p>
<p><span style="font-size: 14px;">&nbsp;</span></p>
<p><span style="font-size: 14px;"><span style="color: rgb(0, 0, 255);">　public </span>class <span style="color: rgb(0, 128, 128);">SecurityHeader </span>: SoapAttributeAttribute<br />
&nbsp;&nbsp;&nbsp; {<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; public string UserId { get; set; }<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; public string Authentication { get; set; }<br />
&nbsp;&nbsp;&nbsp; }</span></p>
<p><span style="font-size: 14px;">}</span></p>
<p><span style="font-size: 14px;">　</span><u><span style="font-size: 14px;">2) 身份验证过程．在这里只是简单地判断了将Authentication属性解密后的值与UserId属性想比较，检查是否相等．</span></u></p>
<p><span style="font-size: 14px;">　　 private bool validateUserInfo(EventManagemantWS eventWS)<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; bool isValid = false;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if(!string.IsNullOrEmpty(eventWS.validUser.Authentication))<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if (eventWS.validUser.UserId.ToLower() ==　SecurityProvider.Base64Decode(eventWS.validUser.Authentication).ToLower())<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; isValid = true;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; return isValid;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }</span></p>
<p><strong><span style="font-size: 14px;">2. 客户端发送<span style="color: rgb(0, 0, 255);">Header</span>（Jquery实现）</span></strong></p>
<p><span style="font-size: 14px;">　　　 function batchDeleteSubscription()<br />
&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; var idList = &quot;&quot;;<br />
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; $(&quot;#subscriptionList input:checked&quot;).each(<br />
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; function(){<br />
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; idList += this.value + &quot;|&quot;;<br />
&nbsp;&nbsp;&nbsp; &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; );<br />
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if(idList.length &gt; 0)<br />
&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; idList = idList.substring(0,idList.length-1);<br />
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }<br />
<br />
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; $.ajax({<br />
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; type: &quot;POST&quot;,<br />
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; contentType: &quot;application/json;utf-8&quot;,<br />
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; url: &quot;EventManagemantWS.asmx/batchDeleteSubscription&quot;,<br />
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; data: &quot;{subscriptionIdList:\&quot;&quot; + idList + &quot;\&quot;}&quot;,<br />
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; dataType: 'json',<br />
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; success: function(jsonObj) {<br />
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; try {<br />
&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; requestSubscriptionList();<br />
<br />
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; } catch (e) {<br />
&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; updateTips(&quot;Error in process: &quot; + e);<br />
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&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; },<br />
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; error: function(ex) {<br />
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; $(&quot;#pl_Edit&quot;).dialog(&quot;option&quot;, &quot;disabled&quot;, false);<br />
&nbsp;&nbsp;&nbsp; &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; beforeSend: function(request) {<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <span style="color: rgb(153, 51, 0);">request.setRequestHeader(&quot;$LocalUser&quot;,&quot;TG9jYWxVc2Vy&quot;);</span><span style="color: rgb(0, 128, 128);">//经过加密处理</span><br />
&nbsp;&nbsp;&nbsp;&nbsp;&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; });<br />
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }</span></p>
<p><span style="font-size: 14px;">　　另外有Flash(Flex)发送Soap Header的方法，请参见</span><a title="[Flex中使用SOAPHeader调用带有身份验证的WebService]" target="_blank" href="http://www.techmango.com/blog/article/FlexTech/Flex_SOAPHeader_Call_Authentication_WebService.htm"><span style="font-size: 14px;">[Flex中使用SOAPHeader调用带有身份验证的WebService]</span></a></p>]]></summary>
	  <link rel="alternate" type="text/html" href="http://www.techmango.com/Blog/article/DotNet/ASP_NET_WebService_SOAP_Authenticate.htm" /> 
	  <id>http://www.techmango.com/Blog/default.asp?id=846</id>
  </entry>	
		
</feed>
