av激情亚洲男人的天堂国语,日韩欧美精品一中文字幕,无码av一区二区三区无码,国产又色又爽又刺激的a片,国产又色又爽又刺激的a片

兩個(gè)基本W(wǎng)CF應(yīng)用技巧總結(jié)

在學(xué)習(xí)WCF開發(fā)工具的過程中,我們需要在不斷的實(shí)踐中去慢慢積累經(jīng)驗(yàn),來充實(shí)我們所掌握的應(yīng)用技巧,這樣才能應(yīng)用于自如。在這里我們就為大家介紹兩種常見的WCF應(yīng)用技巧,方便大家掌握。#t#

創(chuàng)新互聯(lián)公司是一家集網(wǎng)站建設(shè),鐵嶺企業(yè)網(wǎng)站建設(shè),鐵嶺品牌網(wǎng)站建設(shè),網(wǎng)站定制,鐵嶺網(wǎng)站建設(shè)報(bào)價(jià),網(wǎng)絡(luò)營銷,網(wǎng)絡(luò)優(yōu)化,鐵嶺網(wǎng)站推廣為一體的創(chuàng)新建站企業(yè),幫助傳統(tǒng)企業(yè)提升企業(yè)形象加強(qiáng)企業(yè)競爭力??沙浞譂M足這一群體相比中小企業(yè)更為豐富、高端、多元的互聯(lián)網(wǎng)需求。同時(shí)我們時(shí)刻保持專業(yè)、時(shí)尚、前沿,時(shí)刻以成就客戶成長自我,堅(jiān)持不斷學(xué)習(xí)、思考、沉淀、凈化自己,讓我們?yōu)楦嗟钠髽I(yè)打造出實(shí)用型網(wǎng)站。

WCF應(yīng)用技巧1、生成證書

makecert -r -pe -n CN="MyWebServer" -eku 1.3.6.1.5.5.7.3.1 -ss my -sr localmachine -sky exchange

-sp "Microsoft RSA SChannel Cryptographic Provider" -sy 12

WCF應(yīng)用技巧2、config配置

 
 
 
  1. < endpoint address ="" binding="wsHttpBinding" 
    contract="WcfService.IService1" 
    bindingConfiguration="EndpointBinding"> 

部署時(shí),應(yīng)刪除或替換下列標(biāo)識(shí)元素,以反映在其下運(yùn)行部署服務(wù)的標(biāo)識(shí)。刪除之后,WCF 將自動(dòng)推導(dǎo)相應(yīng)標(biāo)識(shí)。

 
 
 
  1. < identity> 
  2. < dns value="MyWebServer"/> 
  3. < /identity> 
  4. < /endpoint> 

 
 
 
  1. < bindings> 
  2. < wsHttpBinding> 
  3. < binding name="EndpointBinding"> 
  4. < security mode="Message"> 
  5. < transport clientCredentialType="Windows" 
    proxyCredentialType="Windows"/> 
  6. < message clientCredentialType="UserName"/> 
  7. < /security> 
  8. < /binding> 
  9. < /wsHttpBinding> 
  10. < /bindings> 
 
 
 
  1. < serviceCredentials> 
  2. < serviceCertificate findValue="MyWebServer" 
  3. x509FindType="FindBySubjectName" 
  4. storeLocation="LocalMachine" 
  5. storeName="My"/> 
  6. < userNameAuthentication userNamePasswordValidationMode="Custom"
     customUserNamePasswordValidatorType="WcfService.Models.
    CustomUserPassword,WcfService" /> 
  7. < /serviceCredentials> 

以上就是我們?yōu)榇蠹铱偨Y(jié)的WCF應(yīng)用技巧。


名稱欄目:兩個(gè)基本W(wǎng)CF應(yīng)用技巧總結(jié)
分享地址:http://uogjgqi.cn/article/ccchdgi.html
掃二維碼與項(xiàng)目經(jīng)理溝通

我們在微信上24小時(shí)期待你的聲音

解答本文疑問/技術(shù)咨詢/運(yùn)營咨詢/技術(shù)建議/互聯(lián)網(wǎng)交流