<?xml version="1.0" encoding="utf-8" ?> <configuration> <system.serviceModel> <services /> <bindings> <wsHttpBinding> <binding name="configration" /> </wsHttpBinding> </bindings> <client> <endpoint address="http://192.168.1.167:8732/Design_Time_Addresses/WcfServiceLibrary1/Service1/" binding="wsHttpBinding" bindingConfiguration="configration" contract="ServiceReference1.IService1" name="configration"> <identity> <dns value="192.168.1.167" /> </identity> </endpoint> </client> </system.serviceModel> </configuration>
<?xml version="1.0" encoding="utf-8" ?> <configuration> <system.web> <compilation debug="true" /> </system.web> <!-- When deploying the service library project, the content of the config file must be added to the host's app.config file. System.Configuration does not support config files for libraries. --> <system.serviceModel> <services> <service behaviorConfiguration="WcfServiceLibrary1.Service1Behavior" name="WcfServiceLibrary1.Service1"> <endpoint address="" binding="wsHttpBinding" name="configration" contract="WcfServiceLibrary1.IService1"> <identity> <dns value="192.168.1.167" /> </identity> </endpoint> <endpoint address="mex" binding="mexHttpBinding" contract="IMetadataExchange" /> <host> <baseAddresses> <add baseAddress="http://*:8732/Design_Time_Addresses/WcfServiceLibrary1/Service1/" /> </baseAddresses> <timeouts openTimeout="00:10:00" /> </host> </service> </services> <behaviors> <serviceBehaviors> <behavior name="WcfServiceLibrary1.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="False" /> </behavior> </serviceBehaviors> </behaviors> </system.serviceModel> </configuration>
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)