1 <?xml version=
"1.0" encoding=
"utf-8" ?>
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 -->
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" />
21 <binding name=
"BindingWithSession">
22 <reliableSession enabled=
"true"/>
27 <!--For debugging purposes set the includeExceptionDetailInFaults attribute to true-->
30 <behavior name=
"CalculatorServiceBehavior">
31 <serviceMetadata httpGetEnabled=
"True"/>
32 <serviceDebug includeExceptionDetailInFaults=
"False" />
37 </system.serviceModel
>