文章详情

  • 游戏榜单
  • 软件榜单
关闭导航
热搜榜
热门下载
热门标签
php爱好者> php文档>Silverlight, WCF, Windows Authentication

Silverlight, WCF, Windows Authentication

时间:2010-08-27  来源:Navi

 

mex endpoint 只能以匿名方式访问。如果需要更新Silverlight 服务引用,需要同时开启IIS的匿名访问方式

 

1. 在web.config中开启windows authentication

<authentication mode="Windows" />

 

2. 配置basicHttpBinding

<system.serviceModel>

<bindings>

<basicHttpBinding>

<binding name="BasicHttpEndpointBinding">

<security mode="TransportCredentialOnly">

<transport clientCredentialType="Windows" />

</security>

</binding>

</basicHttpBinding>

</bindings>

<services>

.........

.........

</system.serviceModel>

相关阅读 更多 +
排行榜 更多 +
云漫

云漫

生活实用 下载
证照签

证照签

生活实用 下载
云漫文学

云漫文学

生活实用 下载