added samples
[windows-sources.git] / sdk / samples / WCFSamples / TechnologySamples / Basic / Client / ExpectedExceptions / CS / service / Web.config
blob69967ff5ce9b937c316054eae33cfc211dc528ad
1 <?xml version="1.0" encoding="utf-8" ?>
2 <configuration>
3 <system.serviceModel>
4 <services>
5 <service
6 name="Microsoft.ServiceModel.Samples.CalculatorService"
7 behaviorConfiguration="CalculatorServiceBehavior">
8 <!-- ICalculator is exposed at the base address provided by host: http://localhost/servicemodelsamples/service.svc -->
9 <endpoint address=""
10 binding="wsHttpBinding"
11 contract="Microsoft.ServiceModel.Samples.ICalculator" />
12 <!-- the mex endpoint is exposed at http://localhost/servicemodelsamples/service.svc/mex -->
13 <endpoint address="mex"
14 binding="mexHttpBinding"
15 contract="IMetadataExchange" />
16 </service>
17 </services>
19 <!--For debugging purposes set the includeExceptionDetailInFaults attribute to true-->
20 <behaviors>
21 <serviceBehaviors>
22 <behavior name="CalculatorServiceBehavior">
23 <serviceMetadata httpGetEnabled="True"/>
24 <serviceDebug includeExceptionDetailInFaults="False" />
25 </behavior>
26 </serviceBehaviors>
27 </behaviors>
29 </system.serviceModel>
31 </configuration>