<?xml version="1.0" encoding="utf-8" ?> <configuration> <!-- 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> <bindings> <wsHttpBinding> <binding name="wsServBind" /> </wsHttpBinding> </bindings> <services> <service name="WebServEnc.ServLib.Service"> <endpoint address="~/WebServEnc.ServLib.Service" binding="wsHttpBinding" bindingConfiguration="wsServBind" name="Default" contract="WebServEnc.IServ"> <identity> <dns value="" /> </identity> </endpoint> <endpoint address="mex" binding="mexHttpBinding" name="serv" contract="IMetadataExchange"> <identity> <dns value="http://mysite.com/" /> </identity> </endpoint> </service> </services> <behaviors> <serviceBehaviors> <behavior> <!-- 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)