1 <?xml version=
"1.0" encoding=
"utf-8" ?>
6 <service name=
"Microsoft.ServiceModel.Samples.CalculatorService"
7 behaviorConfiguration=
"CalculatorServiceBehavior">
10 <add baseAddress=
"http://localhost:8000/ServiceModelSamples/service"/>
13 <!-- this endpoint is exposed at the base address provided by host: net.pipe://localhost/ServiceModelSamples/service -->
14 <endpoint address=
"net.pipe://localhost/ServiceModelSamples/service"
15 binding=
"netNamedPipeBinding"
16 bindingConfiguration=
"Binding1"
17 contract=
"Microsoft.ServiceModel.Samples.ICalculator" />
18 <!-- the mex endpoint is exposed at http://localhost:8000/ServiceModelSamples/service/mex -->
19 <endpoint address=
"mex"
20 binding=
"mexHttpBinding"
21 contract=
"IMetadataExchange" />
27 Following is the expanded configuration section for a NetNamedPipeBinding.
28 Each property is configured with the default value.
31 <binding name=
"Binding1"
32 closeTimeout=
"00:01:00"
33 openTimeout=
"00:01:00"
34 receiveTimeout=
"00:10:00"
35 sendTimeout=
"00:01:00"
36 transactionFlow=
"false"
37 transferMode=
"Buffered"
38 transactionProtocol=
"OleTransactions"
39 hostNameComparisonMode=
"StrongWildcard"
40 maxBufferPoolSize=
"524288"
43 maxReceivedMessageSize=
"65536">
44 <security mode=
"Transport">
45 <transport protectionLevel=
"EncryptAndSign" />
48 </netNamedPipeBinding>
51 <!--For debugging purposes set the includeExceptionDetailInFaults attribute to true-->
54 <behavior name=
"CalculatorServiceBehavior">
55 <serviceMetadata httpGetEnabled=
"True"/>
56 <serviceDebug includeExceptionDetailInFaults=
"False" />
61 </system.serviceModel
>