WCF之HTTPS传输WebConfig配置

<system.serviceModel>
    <client>
      <endpoint address="https://evitest.1010bao.com:8891/InternalService/EvidenceService.svc"
        binding="basicHttpBinding" bindingConfiguration="BasicHttpBinding_IEvidenceService"
        contract="Evidence.IEvidenceService" name="BasicHttpBinding_IEvidenceService" />
      <endpoint address="https://evitest.1010bao.com:8891/InternalService/UserService.svc"
        binding="basicHttpBinding" bindingConfiguration="BasicHttpBinding_IUserService"
        contract="User.IUserService" name="BasicHttpBinding_IUserService" />
      <endpoint address="https://evitest.1010bao.com:8891/Timestamp/Service.svc"
        binding="basicHttpBinding" bindingConfiguration="BasicHttpBinding_IService"
        contract="Timestamp.IService" name="BasicHttpBinding_IService" />
      <endpoint address="https://evitest.1010bao.com:8889/CA/Service.svc"
        binding="basicHttpBinding" bindingConfiguration="BasicHttpBinding_IService1"
        contract="CA.IService" name="BasicHttpBinding_IService1" />
      <endpoint address="https://evitest.1010bao.com:8891/InternalService/AppService.svc"
        binding="basicHttpBinding" bindingConfiguration="BasicHttpBinding_IAppService"
        contract="App.IAppService" name="BasicHttpBinding_IAppService" />
    </client>
    <bindings>
      <basicHttpBinding>
        <binding name="secureHttpBinding">
          <security mode="Transport">
            <transport clientCredentialType="None" />
          </security>
        </binding>
        <binding name="BasicHttpBinding_IEvidenceService">
          <security mode="Transport" />
        </binding>
        <binding name="BasicHttpBinding_IUserService">
          <security mode="Transport" />
        </binding>
        <binding name="BasicHttpBinding_IService">
          <security mode="Transport" />
        </binding>
        <binding name="BasicHttpBinding_IService1">
          <security mode="Transport" />
        </binding>
        <binding name="BasicHttpBinding_IAppService">
          <security mode="Transport" />
        </binding>
      </basicHttpBinding>
    </bindings>
  </system.serviceModel>

 

http://stackoverflow.com/questions/4481131/what-are-the-differences-between-security-mode-transport-and-security-mode-tr

 

 

 

你可能感兴趣的:(config)