WCF使用https後報錯的問題

報錯:web

找不到具備綁定 webHttpEndpoint 的終結點的與方案 http 匹配的基址。註冊的基址方案是 [https]字體

 

<system.serviceModel>
<serviceHostingEnvironment aspNetCompatibilityEnabled="true" />
<standardEndpoints>
<webHttpEndpoint>
<!--
Configure the WCF REST service base address via the global.asax.cs file and the default endpoint
via the attributes on the <standardEndpoint> element below
-->
<standardEndpoint name="" helpEnabled="true" automaticFormatSelectionEnabled="true" />
</webHttpEndpoint>
</standardEndpoints>

<bindings>
<webHttpBinding>
<binding>
<security mode="Transport">
</security>
</binding>
</webHttpBinding>
</bindings>


</system.serviceModel>spa

 

 

加上紅色字體那段就ok了orm

相關文章
相關標籤/搜索