Code Snippet
- <system.serviceModel>
- <services>
- <service name="WCF.IIS.Deployment.ServiceApplication.MathService" behaviorConfiguration="MathServiceBehaviour">
- <endpoint address="" binding="basicHttpBinding" bindingConfiguration="SecurityByTransport" contract="WCF.IIS.Deployment.ServiceApplication.IMathService">
- </endpoint>
- <endpoint address="mex" binding="mexHttpsBinding" contract="IMetadataExchange" />
- <host>
- <baseAddresses>
- <add baseAddress="https://localhost/WCF.IIS.Deployment.Services/" />
- </baseAddresses>
- </host>
- </service>
- </services>
- <bindings>
- <basicHttpBinding>
- <binding name="SecurityByTransport">
- <security mode="Transport">
- <transport clientCredentialType="None" />
- </security>
- </binding>
- </basicHttpBinding>
- </bindings>
- <behaviors>
- <serviceBehaviors>
- <behavior name="MathServiceBehaviour">
- <serviceMetadata httpsGetEnabled="true" />
- <serviceDebug includeExceptionDetailInFaults="false" />
- </behavior>
- </serviceBehaviors>
- </behaviors>
- </system.serviceModel>
No comments:
Post a Comment