added SSCLI 1.0
[windows-sources.git] / sdk / samples / WCFSamples / TechnologySamples / Basic / Binding / WS / ReliableSession / VB / service / web.config
blob71635c6338aaed211151d324dc9fcab4b0af6ed3
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 <!-- this endpoint is exposed at the base address provided by host: http://localhost/servicemodelsamples/service.svc -->
9 <!-- specify wsHttpBinding binding and a binding configuration to use -->
10 <endpoint address=""
11 binding="wsHttpBinding"
12 bindingConfiguration="Binding1"
13 contract="Microsoft.ServiceModel.Samples.ICalculator" />
14 <!-- the mex endpoint is exposed at http://localhost/servicemodelsamples/service.svc/mex -->
15 <endpoint address="mex"
16 binding="mexHttpBinding"
17 contract="IMetadataExchange" />
18 </service>
19 </services>
21 <!-- binding configuration - configures WSHttp binding for reliable sessions -->
22 <bindings>
23 <wsHttpBinding>
24 <binding name="Binding1">
25 <reliableSession enabled="true" />
26 </binding>
27 </wsHttpBinding>
28 </bindings>
30 <!--For debugging purposes set the includeExceptionDetailInFaults attribute to true-->
31 <behaviors>
32 <serviceBehaviors>
33 <behavior name="CalculatorServiceBehavior">
34 <serviceMetadata httpGetEnabled="True"/>
35 <serviceDebug includeExceptionDetailInFaults="False" />
36 </behavior>
37 </serviceBehaviors>
38 </behaviors>
40 </system.serviceModel>
42 </configuration>