added samples
[windows-sources.git] / sdk / samples / WCFSamples / TechnologySamples / Extensibility / Instancing / Sharing / CS / service / Web.config
blobdc80231bcb43f1b7703c36bc57be268d6e2de211
1 <?xml version="1.0" encoding="utf-8" ?>
2 <configuration>
3 <system.serviceModel>
4 <services>
5 <service name="Microsoft.ServiceModel.Samples.CalculatorService"
6 behaviorConfiguration="CalculatorServiceBehavior">
7 <!-- This endpoing is exposed at the base address provided by host: http://localhost/servicemodelsamples/service.svc -->
8 <endpoint address=""
9 binding="wsHttpBinding"
10 bindingConfiguration="BindingWithSession"
11 contract="Microsoft.ServiceModel.Samples.ICalculatorInstance" />
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 <bindings>
20 <wsHttpBinding>
21 <binding name="BindingWithSession">
22 <reliableSession enabled="true"/>
23 </binding>
24 </wsHttpBinding>
25 </bindings>
27 <!--For debugging purposes set the includeExceptionDetailInFaults attribute to true-->
28 <behaviors>
29 <serviceBehaviors>
30 <behavior name="CalculatorServiceBehavior">
31 <serviceMetadata httpGetEnabled="True"/>
32 <serviceDebug includeExceptionDetailInFaults="False" />
33 </behavior>
34 </serviceBehaviors>
35 </behaviors>
37 </system.serviceModel>
39 </configuration>