Free cookie consent management tool by TermsFeed Policy Generator

source: branches/3.3-HiveMigration/sources/HeuristicLab.Hive/HeuristicLab.Hive.Slave.Communication/3.3/app.config @ 4338

Last change on this file since 4338 was 4338, checked in by cneumuel, 14 years ago

improved stateless WCF-Proxy client with ServicePool

File size: 6.0 KB
Line 
1<?xml version="1.0" encoding="utf-8" ?>
2<configuration>
3  <configSections>
4    <sectionGroup name="userSettings" type="System.Configuration.UserSettingsGroup, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" >
5      <section name="HeuristicLab.Hive.Slave.Communication.Properties.Settings" type="System.Configuration.ClientSettingsSection, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" allowExeDefinition="MachineToLocalUser" requirePermission="false" />
6    </sectionGroup>
7  </configSections>
8  <system.serviceModel>
9    <behaviors>
10      <endpointBehaviors>
11        <behavior name="SlaveServiceBehaviour">
12          <clientCredentials>
13            <serviceCertificate>
14              <authentication certificateValidationMode="None" />
15            </serviceCertificate>
16          </clientCredentials>
17        </behavior>
18      </endpointBehaviors>
19    </behaviors>
20    <bindings>
21      <netTcpBinding>
22        <binding name="SlaveTcpStreamedEndpoint" closeTimeout="00:01:00"
23          openTimeout="00:01:00" receiveTimeout="00:10:00" sendTimeout="00:10:00"
24          transactionFlow="false" transferMode="Streamed" transactionProtocol="OleTransactions"
25          hostNameComparisonMode="StrongWildcard" maxBufferPoolSize="104857600"
26          maxBufferSize="104857600" maxReceivedMessageSize="104857600">
27          <readerQuotas maxDepth="32" maxStringContentLength="104857600"
28            maxArrayLength="104857600" maxBytesPerRead="4096" maxNameTableCharCount="16384" />
29          <reliableSession ordered="true" inactivityTimeout="00:10:00"
30            enabled="false" />
31          <security mode="TransportWithMessageCredential">
32            <transport clientCredentialType="Windows" protectionLevel="EncryptAndSign" />
33            <message clientCredentialType="UserName" algorithmSuite="Default" />
34          </security>
35        </binding>
36      </netTcpBinding>
37      <wsHttpBinding>
38        <binding name="SlaveHttpEndpoint" closeTimeout="00:01:00" openTimeout="00:01:00"
39          receiveTimeout="00:10:00" sendTimeout="00:10:00" bypassProxyOnLocal="false"
40          transactionFlow="false" hostNameComparisonMode="StrongWildcard"
41          maxBufferPoolSize="104857600" maxReceivedMessageSize="104857600"
42          messageEncoding="Text" textEncoding="utf-8" useDefaultWebProxy="true"
43          allowCookies="false">
44          <readerQuotas maxDepth="32" maxStringContentLength="8192" maxArrayLength="16384"
45            maxBytesPerRead="4096" maxNameTableCharCount="16384" />
46          <reliableSession ordered="true" inactivityTimeout="00:10:00"
47            enabled="false" />
48          <security mode="Message">
49            <transport clientCredentialType="Windows" proxyCredentialType="None"
50              realm="" />
51            <message clientCredentialType="UserName" negotiateServiceCredential="true"
52              algorithmSuite="Default" />
53          </security>
54        </binding>
55        <binding name="SlaveMexEndpoint" closeTimeout="00:01:00" openTimeout="00:01:00"
56          receiveTimeout="00:10:00" sendTimeout="00:01:00" bypassProxyOnLocal="false"
57          transactionFlow="false" hostNameComparisonMode="StrongWildcard"
58          maxBufferPoolSize="524288" maxReceivedMessageSize="65536" messageEncoding="Text"
59          textEncoding="utf-8" useDefaultWebProxy="true" allowCookies="false">
60          <readerQuotas maxDepth="32" maxStringContentLength="8192" maxArrayLength="16384"
61            maxBytesPerRead="4096" maxNameTableCharCount="16384" />
62          <reliableSession ordered="true" inactivityTimeout="00:10:00"
63            enabled="false" />
64          <security mode="None">
65            <transport clientCredentialType="Windows" proxyCredentialType="None"
66              realm="" />
67            <message clientCredentialType="Windows" negotiateServiceCredential="true" />
68          </security>
69        </binding>
70      </wsHttpBinding>
71    </bindings>
72    <client>
73      <endpoint address="http://localhost:9000/SlaveService" binding="wsHttpBinding" behaviorConfiguration="SlaveServiceBehaviour"
74        bindingConfiguration="SlaveHttpEndpoint" contract="SlaveService.ISlaveFacade"
75        name="SlaveHttpEndpoint">
76        <identity>
77          <certificate encodedValue="AwAAAAEAAAAUAAAAeBLH/0jWrlsW42fIC8VIIdAE6PUgAAAAAQAAAPIBAAAwggHuMIIBW6ADAgECAhDez3CoJIIitEZ5xwVqLJn6MAkGBSsOAwIdBQAwFDESMBAGA1UEAxMJbG9jYWxob3N0MB4XDTEwMDgyMzE1NTg0OFoXDTM5MTIzMTIzNTk1OVowFDESMBAGA1UEAxMJbG9jYWxob3N0MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCmOgweB6X4Ss6W2xb2hg1x61cjD2T7SO0ckkzmtqRhC2UWly9dBnonFJmg9RjN0y6l2tZhVzNhq8DgCkn3hPg5GL3XIwYX4PsXwNmeT6i+7s6rGbESuaEMvYOAQJSJ+MTgBvXCwo2g5nFHIBqP4W4aU2eybxP7H4cm1rQpoYHHjQIDAQABo0kwRzBFBgNVHQEEPjA8gBASDhO/IE7Ff7PpkCVF8oUpoRYwFDESMBAGA1UEAxMJbG9jYWxob3N0ghDez3CoJIIitEZ5xwVqLJn6MAkGBSsOAwIdBQADgYEAhxAzm3JTV7j51jti5P7izTEs7+8534kQloeAJDwlKolkd4ZMkf0BiexC2Vt1KsnxUjrK0HbbITzazkvkAmKi7dP+4G+3SrWag5lS4NcoPjTQy16T3zC9E6yafRaZp1/pxjC3Ap44qwq4Kjl2mEjeHHsdie/h4loowTqC9FlLbgo=" />
78        </identity>
79      </endpoint>
80      <endpoint address="http://localhost:9000/SlaveService/mex" binding="wsHttpBinding" behaviorConfiguration="SlaveMexEndpoint"
81        bindingConfiguration="SlaveMexEndpoint" contract="SlaveService.ISlaveFacade"
82        name="SlaveMexEndpoint" />
83      <endpoint address="net.tcp://localhost:9001/SlaveServiceStreamed" behaviorConfiguration="SlaveServiceBehaviour"
84        binding="netTcpBinding" bindingConfiguration="SlaveTcpStreamedEndpoint"
85        contract="SlaveService.ISlaveFacade" name="SlaveTcpStreamedEndpoint">
86        <identity>
87          <dns value="localhost" />
88        </identity>
89      </endpoint>
90    </client>
91  </system.serviceModel>
92  <userSettings>
93    <HeuristicLab.Hive.Slave.Communication.Properties.Settings>
94      <setting name="HiveUsername" serializeAs="String">
95        <value>hiveslave</value>
96      </setting>
97      <setting name="HivePassword" serializeAs="String">
98        <value>hiveslave</value>
99      </setting>
100    </HeuristicLab.Hive.Slave.Communication.Properties.Settings>
101  </userSettings>
102</configuration>
Note: See TracBrowser for help on using the repository browser.