added samples
[windows-sources.git] / sdk / samples / CrossTechnologySamples / RecipeViewer / recipeviewer / consolehost / app.config
blob6c05ff6a8e0d2a59abfb91e44bcc1ede8ec98c64
1 <?xml version="1.0" encoding="utf-8" ?>
2 <configuration xmlns="http://schemas.microsoft.com/.NetConfiguration/v2.0">
4 <appSettings>
5 <!-- use "baseAddress" to configure ServiceHost base address -->
6 <add key="baseAddress" value="http://localhost:8000/RecipeApp/DocumentService" />
8 <!-- use "storeMode" to configure "private" (ntfs) vs. "shared" (SQL) mode for DocumentService -->
9 <add key="storeMode" value="private"/>
10 </appSettings>
12 <system.serviceModel>
13 <services>
14 <service name="Microsoft.Samples.RecipeCatalog.DocumentService">
15 <!-- use base address provided by host -->
16 <endpoint address=""
17 binding="wsHttpBinding"
18 bindingConfiguration="Binding1"
19 contract="Microsoft.Samples.RecipeCatalog.IDocumentService" />
20 </service>
21 </services>
23 <bindings>
24 <wsHttpBinding>
25 <binding name="Binding1"
26 maxReceivedMessageSize="65536"
27 hostNameComparisonMode="StrongWildcard"
28 messageEncoding="Text"
29 textEncoding="utf-8"
30 bypassProxyOnLocal="false"
31 transactionFlow="false">
33 <reliableSession enabled="false"
34 ordered="true"
35 inactivityTimeout="00:10:00"/>
37 <security mode="Message">
38 <message clientCredentialType="Windows"
39 negotiateServiceCredential="true"
40 algorithmSuite="Default" />
41 </security>
43 </binding>
44 </wsHttpBinding>
45 </bindings>
46 </system.serviceModel>
47 </configuration>