<pre lang="xml"><system.serviceModel> <services> <service behaviorConfiguration="ServiceApp.Service1Behavior" name="ServiceApp.Service"> <host> <baseAddresses> <add baseAddress="https://10.0.0.17/Service.svc"/> </baseAddresses> </host> <endpoint address="" binding="wsHttpBinding" bindingConfiguration="TransportSecurity" contract="ServiceApp.IService"/> <endpoint address="mex" binding="mexHttpsBinding" contract="IMetadataExchange"/> </service> </services> <bindings> <wsHttpBinding> <binding name="TransportSecurity"> <security mode="Transport"> <transport clientCredentialType="None"/> </security> </binding> </wsHttpBinding> </bindings> <behaviors> <serviceBehaviors> <behavior name="ServiceApp.Service1Behavior"> <serviceMetadata httpsGetEnabled="true"/> <serviceDebug includeExceptionDetailInFaults="false"/> </behavior> </serviceBehaviors> </behaviors> </system.serviceModel>
Service.svc
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)