added samples
[windows-sources.git] / sdk / samples / WCFSamples / TechnologySamples / Basic / Contract / Service / Oneway / CS / service / App.config
blob6fe70aa81d7b14c3cc4c1ee5a09fe1499b777faa
1 <?xml version="1.0" encoding="utf-8" ?>
2 <configuration>
4 <system.serviceModel>
5 <services>
6 <service name="Microsoft.ServiceModel.Samples.CalculatorService"
7 behaviorConfiguration="CalculatorServiceBehavior">
8 <host>
9 <baseAddresses>
10 <add baseAddress="http://localhost:8000/ServiceModelSamples/service"/>
11 </baseAddresses>
12 </host>
13 <!-- this endpoint is exposed at the base address provided by host: http://localhost:8000/ServiceModelSamples/service -->
14 <endpoint address=""
15 binding="wsHttpBinding"
16 contract="Microsoft.ServiceModel.Samples.IOneWayCalculator" />
17 <!-- the mex endpoint is exposed at http://localhost:8000/ServiceModelSamples/service/mex -->
18 <endpoint address="mex"
19 binding="mexHttpBinding"
20 contract="IMetadataExchange" />
21 </service>
22 </services>
24 <!--For debugging purposes set the includeExceptionDetailInFaults attribute to true-->
25 <behaviors>
26 <serviceBehaviors>
27 <behavior name="CalculatorServiceBehavior">
28 <serviceMetadata httpGetEnabled="True"/>
29 <serviceDebug includeExceptionDetailInFaults="False" />
30 </behavior>
31 </serviceBehaviors>
32 </behaviors>
33 </system.serviceModel>
35 </configuration>