1 <?xml version=
"1.0" encoding=
"utf-8" ?>
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 -->
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" />
21 <!-- binding configuration - configures WSHttp binding for reliable sessions -->
24 <binding name=
"Binding1">
25 <reliableSession enabled=
"true" />
30 <!--For debugging purposes set the includeExceptionDetailInFaults attribute to true-->
33 <behavior name=
"CalculatorServiceBehavior">
34 <serviceMetadata httpGetEnabled=
"True"/>
35 <serviceDebug includeExceptionDetailInFaults=
"False" />
40 </system.serviceModel
>