<?xml version="1.0" encoding="utf-8" ?> <configuration> <system.serviceModel> <services> <service name="HelloFirstService.FirstWcfService" behaviorConfiguration="mexBehaviour"> <endpoint address="HelloFirstWcfService" binding="basicHttpsBinding" contract="HelloFirstService.IFirstWcfService"></endpoint> <endpoint address="HelloFirstWcfService" binding="netTcpBinding" contract="HelloFirstService.IFirstWcfService"></endpoint> <endpoint address="mex" binding="mexHttpBinding" contract="IMetadataExchange"></endpoint> <host> <baseAddresses> <add baseAddress="http://localhost/"/> <add baseAddress="net.tcp://localhost:8050/"/> </baseAddresses> </host> </service> </services> <behaviors> <serviceBehaviors> <!--Allow to exchange metadata--> <behavior name="mexBehaviour"> <serviceMetadata httpGetEnabled="true"/> </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)