<system.serviceModel> <bindings> <netTcpBinding> <binding name="tcpBinding" portSharingEnabled="True"> <security mode="None"> <transport clientCredentialType="None" protectionLevel="None" /> <message clientCredentialType="None" /> </security> </binding> </netTcpBinding> </bindings> <services> <service behaviorConfiguration="CatWcfServiceLibrary.Service1Behavior" name="CatWcfServiceLibrary.CATService"> <endpoint address="" binding="netTcpBinding" bindingConfiguration="tcpBinding" name="epNetTcp" contract="CatWcfServiceLibrary.ICATService" /> <endpoint address="" binding="basicHttpBinding" contract="CatWcfServiceLibrary.ICATService" /> <endpoint address="http://localhost:8084/CatWcfService\mex" binding="mexHttpBinding" contract="IMetadataExchange" /> <host> <baseAddresses> <add baseAddress="http://localhost:8082/CatWcfService" /> <add baseAddress="net.tcp://localhost:8081/CatWcfService" /> </baseAddresses> </host> </service> </services> <behaviors> <serviceBehaviors> <behavior name="CatWcfServiceLibrary.Service1Behavior"> <!-- To avoid disclosing metadata information, set the value below to false and remove the metadata endpoint above before deployment --> <serviceMetadata httpGetEnabled="True"/> <!-- To receive exception details in faults for debugging purposes, set the value below to true. Set to false before deployment to avoid disclosing exception information --> <serviceDebug includeExceptionDetailInFaults="true" /> </behavior> </serviceBehaviors> </behaviors> </system.serviceModel>
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)