<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<system.serviceModel>
<behaviors>
<serviceBehaviors>
<behavior name="calculatorServiceBehavior">
<serviceMetadata httpGetEnabled="true" />
</behavior>
</serviceBehaviors>
</behaviors>
<services>
<service behaviorConfiguration="calculatorServiceBehavior" name="Artech.OverloadableContract.Service.CalculatorService">
<endpoint binding="netTcpBinding" contract="Artech.OverloadableContract.Service.ICalculator" />
<endpoint binding="basicHttpBinding" contract="Artech.OverloadableContract.Service.ICalculator" />
<endpoint address="mex" binding="mexTcpBinding" contract="IMetadataExchange" />
<endpoint address="mex" binding="mexHttpBinding" contract="IMetadataExchange" />
<host>
<baseAddresses>
<add baseAddress="net.tcp://localhost:8888/calcuator" />
<add baseAddress="http://localhost:1234/calcuator" />
</baseAddresses>
</host>
</service>
</services>
</system.serviceModel>
</configuration>
<configuration>
<system.serviceModel>
<behaviors>
<serviceBehaviors>
<behavior name="calculatorServiceBehavior">
<serviceMetadata httpGetEnabled="true" />
</behavior>
</serviceBehaviors>
</behaviors>
<services>
<service behaviorConfiguration="calculatorServiceBehavior" name="Artech.OverloadableContract.Service.CalculatorService">
<endpoint binding="netTcpBinding" contract="Artech.OverloadableContract.Service.ICalculator" />
<endpoint binding="basicHttpBinding" contract="Artech.OverloadableContract.Service.ICalculator" />
<endpoint address="mex" binding="mexTcpBinding" contract="IMetadataExchange" />
<endpoint address="mex" binding="mexHttpBinding" contract="IMetadataExchange" />
<host>
<baseAddresses>
<add baseAddress="net.tcp://localhost:8888/calcuator" />
<add baseAddress="http://localhost:1234/calcuator" />
</baseAddresses>
</host>
</service>
</services>
</system.serviceModel>
</configuration>