added samples
[windows-sources.git] / sdk / samples / WCFSamples / TechnologySamples / Scenario / Router / VB / service-echo / App.config
blob7af3f2d0f26a0cad2146f639571cefea4e8f23f2
1 <?xml version="1.0" encoding="utf-8" ?>
2 <configuration>
3 <system.serviceModel>
4 <behaviors>
5 <serviceBehaviors>
6 <behavior name="metadataBehavior" >
7 <serviceMetadata />
8 <serviceDebug httpHelpPageEnabled="false" httpsHelpPageEnabled="false" />
9 </behavior>
10 </serviceBehaviors>
11 </behaviors>
13 <bindings>
14 <wsHttpBinding>
15 <!-- The echo service uses a WSHttpBinding with no WS-ReliableMessaging or WS-Security. -->
16 <binding name="ServiceBinding">
17 <reliableSession enabled="false" />
18 <security mode="None" />
19 </binding>
20 </wsHttpBinding>
21 </bindings>
23 <services>
24 <service name="Microsoft.ServiceModel.Samples.EchoService" behaviorConfiguration="metadataBehavior">
25 <host>
26 <!-- An HTTP base address serves the application endpoint as well as the WS-MetadataExchage one. -->
27 <baseAddresses>
28 <add baseAddress="http://localhost:8000/echo" />
29 </baseAddresses>
30 </host>
31 <!-- Echo service application endpoint. -->
32 <endpoint address="http://localhost:8000/services/soap12/text"
33 listenUri="service"
34 contract="Microsoft.ServiceModel.Samples.IEchoService"
35 binding="wsHttpBinding"
36 bindingConfiguration="ServiceBinding" />
37 <!-- Echo service metadata endpoint. -->
38 <endpoint address="mex"
39 contract="IMetadataExchange"
40 binding="mexHttpBinding" />
41 </service>
42 </services>
43 </system.serviceModel>
44 </configuration>