Free cookie consent management tool by TermsFeed Policy Generator

source: branches/HeuristicLab.Hive-3.3/sources/HeuristicLab.Hive/HiveWeb/Hive-3.3/Web.config @ 6318

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

#1260

  • migrated to .NET 4.0
  • moved state-information about heartbeat timestamps into DB to reduce IIS-recycling issues
  • optimized memory usage of ExperimentManager when lots of large jobs are downloaded
File size: 8.3 KB
Line 
1<?xml version="1.0"?>
2<configuration>
3  <configSections>
4    <sectionGroup name="applicationSettings" type="System.Configuration.ApplicationSettingsGroup, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
5      <section name="HeuristicLab.Tracing.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 
9  <system.diagnostics>
10    <sources>
11      <source name="System.ServiceModel.MessageLogging" switchValue="Warning, ActivityTracing">
12        <listeners>
13          <add type="System.Diagnostics.DefaultTraceListener" name="Default">
14            <filter type="" />
15          </add>
16          <add name="ServiceModelMessageLoggingListener">
17            <filter type="" />
18          </add>
19        </listeners>
20      </source>
21      <source name="System.ServiceModel" switchValue="Warning,ActivityTracing">
22        <listeners>
23          <add type="System.Diagnostics.DefaultTraceListener" name="Default">
24            <filter type="" />
25          </add>
26          <add name="ServiceModelTraceListener">
27            <filter type="" />
28          </add>
29        </listeners>
30      </source>
31    </sources>
32    <sharedListeners>
33      <add initializeData="c:\users\ch\my\dump\log\web_messages.svclog"
34        type="System.Diagnostics.XmlWriterTraceListener, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"
35        name="ServiceModelMessageLoggingListener" traceOutputOptions="DateTime, Timestamp">
36        <filter type="" />
37      </add>
38      <add initializeData="c:\users\ch\my\dump\log\web_tracelog.svclog"
39        type="System.Diagnostics.XmlWriterTraceListener, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"
40        name="ServiceModelTraceListener" traceOutputOptions="DateTime, Timestamp">
41        <filter type="" />
42      </add>
43      <add initializeData="c:\users\ch\my\dump\log\textlistener.txt"
44        type="System.Diagnostics.TextWriterTraceListener, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"
45        name="TextWriterTraceListener" traceOutputOptions="LogicalOperationStack, DateTime, Timestamp, ProcessId, ThreadId, Callstack">
46        <filter type="" />
47      </add>
48    </sharedListeners>
49  </system.diagnostics>
50 
51  <applicationSettings>
52    <HeuristicLab.Tracing.Properties.Settings>
53      <setting name="TracingLog4netConfigFile" serializeAs="String">
54        <value/>
55      </setting>
56    </HeuristicLab.Tracing.Properties.Settings>
57  </applicationSettings>
58 
59  <connectionStrings>
60    <add name="HeuristicLab.Authentication" connectionString="data source=localhost;Integrated Security=SSPI;Initial Catalog=HeuristicLab.Authentication"/>
61  </connectionStrings>
62 
63  <system.web>
64    <compilation debug="true" targetFramework="4.0">
65    </compilation>
66    <membership>
67      <providers>
68        <clear/>
69        <add name="AspNetSqlMembershipProvider" type="System.Web.Security.SqlMembershipProvider" connectionStringName="HeuristicLab.Authentication" enablePasswordRetrieval="false" enablePasswordReset="true" requiresQuestionAndAnswer="false" requiresUniqueEmail="false" maxInvalidPasswordAttempts="5" minRequiredPasswordLength="6" minRequiredNonalphanumericCharacters="0" passwordAttemptWindow="10" applicationName="HeuristicLab.Authentication"/>
70      </providers>
71    </membership>
72    <roleManager enabled="true">
73      <providers>
74        <clear/>
75        <add name="AspNetSqlRoleProvider" type="System.Web.Security.SqlRoleProvider" connectionStringName="HeuristicLab.Authentication" applicationName="HeuristicLab.Authentication"/>
76      </providers>
77    </roleManager>
78    <pages controlRenderingCompatibilityVersion="3.5" clientIDMode="AutoID"/>
79  </system.web>
80 
81  <system.serviceModel>
82    <diagnostics>
83      <messageLogging logEntireMessage="true" logMalformedMessages="true" logMessagesAtServiceLevel="true" logMessagesAtTransportLevel="true" maxMessagesToLog="3000"/>
84    </diagnostics>
85   
86    <bindings>
87      <netTcpBinding>
88        <binding name="TcpStreamedBinding" sendTimeout="00:10:00" transferMode="Streamed" maxBufferPoolSize="314572800" maxBufferSize="314572800" maxReceivedMessageSize="314572800">
89          <readerQuotas maxStringContentLength="314572800" maxArrayLength="314572800"/>
90          <security mode="TransportWithMessageCredential">
91            <transport clientCredentialType="Certificate"/>
92            <message clientCredentialType="UserName"/>
93          </security>
94        </binding>
95      </netTcpBinding>
96      <wsHttpBinding>
97        <binding name="HiveServerHttpBinding" maxReceivedMessageSize="314572800">
98          <readerQuotas maxStringContentLength="314572800" maxArrayLength="314572800"/>
99          <security mode="Message">
100            <transport/>
101            <message clientCredentialType="UserName"/>
102          </security>
103        </binding>
104      </wsHttpBinding>
105    </bindings>
106   
107    <behaviors>
108      <serviceBehaviors>
109        <behavior name="ServiceBehaviour">
110          <serviceMetadata httpGetEnabled="false" httpsGetEnabled="false" />
111          <serviceDebug includeExceptionDetailInFaults="true" />
112          <serviceAuthorization principalPermissionMode="UseAspNetRoles"
113            roleProviderName="AspNetSqlRoleProvider" />
114          <serviceCredentials>
115            <serviceCertificate findValue="localhost" x509FindType="FindBySubjectName" />
116            <userNameAuthentication userNamePasswordValidationMode="MembershipProvider"
117              membershipProviderName="AspNetSqlMembershipProvider" />
118          </serviceCredentials>
119          <serviceSecurityAudit auditLogLocation="Application" suppressAuditFailure="true"
120            serviceAuthorizationAuditLevel="Failure" messageAuthenticationAuditLevel="Failure" />
121          <serviceThrottling maxConcurrentCalls="100" />
122        </behavior>
123      </serviceBehaviors>
124    </behaviors>
125   
126    <services>
127      <service behaviorConfiguration="ServiceBehaviour" name="HeuristicLab.Hive.Server.Core.SlaveFacade">
128        <endpoint address="" binding="wsHttpBinding" bindingConfiguration="HiveServerHttpBinding" name="SlaveHttpEndpoint" contract="HeuristicLab.Hive.Contracts.Interfaces.ISlaveFacade"/>
129        <endpoint address="mex" binding="mexHttpBinding" name="SlaveMexEndpoint" contract="IMetadataExchange"/>
130        <endpoint address="" binding="netTcpBinding" bindingConfiguration="TcpStreamedBinding" name="SlaveTcpStreamedEndpoint" contract="HeuristicLab.Hive.Contracts.Interfaces.ISlaveFacade" />
131        <endpoint address="mex" binding="mexTcpBinding" name="ClientNetTcpMexEndpoint" contract="IMetadataExchange"/>
132      </service>
133      <service behaviorConfiguration="ServiceBehaviour" name="HeuristicLab.Hive.Server.Core.ServerConsoleFacade">
134        <endpoint address="" binding="wsHttpBinding" bindingConfiguration="HiveServerHttpBinding" name="ServerConsoleHttpEndpoint" contract="HeuristicLab.Hive.Contracts.Interfaces.IServerConsoleFacade"/>
135        <endpoint address="mex" binding="mexHttpBinding" name="ServerConsoleMexEndpoint" contract="IMetadataExchange"/>
136      </service>
137      <service behaviorConfiguration="ServiceBehaviour" name="HeuristicLab.Hive.Server.Core.ClientFacade">
138        <endpoint address="" binding="wsHttpBinding" bindingConfiguration="HiveServerHttpBinding" name="ClientHttpEndpoint" contract="HeuristicLab.Hive.Contracts.Interfaces.IClientFacade"/>
139        <endpoint address="mex" binding="mexHttpBinding" name="ClientHttpMexEndpoint" contract="IMetadataExchange"/>
140        <endpoint address="" binding="netTcpBinding" bindingConfiguration="TcpStreamedBinding" name="ClientTcpStreamedEndpoint" contract="HeuristicLab.Hive.Contracts.Interfaces.IClientFacade" />
141        <endpoint address="mex" binding="mexTcpBinding" name="ClientNetTcpMexEndpoint" contract="IMetadataExchange"/>
142      </service>
143    </services>
144   
145  </system.serviceModel>
146 
147  <system.webServer>
148    <modules runAllManagedModulesForAllRequests="true">
149      <add name="HiveServerModule" type="HeuristicLab.Hive.Server.Core.IISModules.HiveServerModule"/>
150    </modules>
151    <directoryBrowse enabled="true"/>
152  </system.webServer>
153 
154</configuration>
Note: See TracBrowser for help on using the repository browser.