5 name="Microsoft.ServiceModel.Samples.StreamingService"
6 behaviorConfiguration="StreamingServiceBehavior">
9 <add baseAddress="http://localhost:8000/ServiceModelSamples/service"/>
12 <!-- this endpoint is exposed at the base address provided by host: http://localhost:8000/ServiceModelSamples/service -->
13 <endpoint address="ep1"
14 binding="basicHttpBinding"
15 bindingConfiguration="HttpStreaming"
16 contract="Microsoft.ServiceModel.Samples.IStreamingSample" />
17 <!-- this endpoint is exposed at http://localhost:9000/ServiceModelSamples/service/ep2 -->
18 <endpoint address="http://localhost:9000/ServiceModelSamples/service/ep2"
19 binding="customBinding"
20 bindingConfiguration="Soap12"
21 contract="Microsoft.ServiceModel.Samples.IStreamingSample" />
22 <!-- the mex endpoint is exposed at http://localhost:8000/ServiceModelSamples/service/mex -->
23 <endpoint address="mex"
24 binding="mexHttpBinding"
25 contract="IMetadataExchange" />
30 <!-- an example basicHttpBinding using streaming -->
32 <binding name="HttpStreaming" maxReceivedMessageSize="67108864"
33 transferMode="Streamed"/>
35 <!-- an example customBinding using Http and streaming-->
37 <binding name="Soap12">
38 <textMessageEncoding messageVersion="Soap12WSAddressing10" />
39 <httpTransport transferMode="Streamed" maxReceivedMessageSize="67108864"/>
44 <!--For debugging purposes set the includeExceptionDetailInFaults attribute to true-->
47 <behavior name="StreamingServiceBehavior">
48 <serviceMetadata httpGetEnabled="True"/>
49 <serviceDebug includeExceptionDetailInFaults="False" />
54 </system.serviceModel>