我一直在关注how to Configure an IIS hosted WCF service等微软的指示。
但首先我要首先成功地在Visual Studio中本地运行服务并使用Microsoft WCF服务主机进行测试。
指向更好的文章或方法的任何指示?
<services>
<service name="DMD.WcfService.MeetingDataService">
<endpoint address="" binding="basicHttpBinding" contract="DMD.WcfService.IMeetingDataService" bindingConfiguration="secureHttpBinding">
<identity>
<dns value="localhost" />
</identity>
</endpoint>
<endpoint address="mex" binding="mexHttpsBinding" contract="IMetadataExchange" />
<host>
<baseAddresses>
<add baseAddress="https://localhost:8733/Design_Time_Addresses/DMD.WcfService/MeetingRepositoryService/" />
</baseAddresses>
</host>
</service>
</services>
<bindings>
<basicHttpBinding>
<binding name="secureHttpBinding">
<security mode="Transport">
<transport clientCredentialType="None"/>
</security>
</binding>
</basicHttpBinding>
</bindings>
System.InvalidOperationException:找不到与绑定MetadataExchangeHttpBinding的端点的scheme http匹配的基址。注册的基地址方案是[https]。