|
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<appSettings>
<add key="InitialBeerInventory" value="12" />
</appSettings>
<system.serviceModel>
<behaviors>
<serviceBehaviors>
<behavior name="MetadataBehavior">
<serviceMetadata httpGetEnabled="true" httpGetUrl="http://localhost:8001/BeerInventory/mex" />
</behavior>
</serviceBehaviors>
</behaviors>
<services>
<service behaviorConfiguration="MetadataBehavior" name="JeffBarnes.WCF.Samples.CallbackDemo.Service.BeerService">
<endpoint
address="service"
binding="netTcpBinding"
contract="JeffBarnes.WCF.Samples.CallbackDemo.Service.IBeerInventory"
name="TcpBinding" />
<endpoint
address="service"
binding="wsDualHttpBinding"
contract="JeffBarnes.WCF.Samples.CallbackDemo.Service.IBeerInventory"
name="HttpBinding" />
<endpoint
address="mex"
binding="mexHttpBinding"
contract="IMetadataExchange"
name="MexBinding"/>
<host>
<baseAddresses>
<add baseAddress="net.tcp://localhost:8000/BeerInventory/" />
<add baseAddress="http://localhost:8001/BeerInventory/" />
</baseAddresses>
</host>
</service>
</services>
</system.serviceModel>
</configuration>
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.
I'm a passionate software developer and advocate of the Microsoft .NET platform. In my opinion, software development is a craft that necessitates a conscious effort to continually improve your skills rather than falling into the trap of complacency. I was also awarded as a Microsoft MVP in Connected Systems in 2008, 2009, and 2010.