Free cookie consent management tool by TermsFeed Policy Generator

source: branches/HivePerformance/sources/HeuristicLab.Services.Hive.Web/Hive-3.3/Web.config @ 9434

Last change on this file since 9434 was 9369, checked in by pfleck, 12 years ago

#2030
Aborted transactions are logged into file.
Enabled PerformanceCounter for Service-Operations.
New Slaves are assigned to HEAL ResourceGroup automatically.

File size: 6.2 KB
Line 
1<?xml version="1.0"?>
2<configuration>
3  <configSections>
4    <sectionGroup name="applicationSettings" type="System.Configuration.ApplicationSettingsGroup, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
5      <section name="HeuristicLab.Services.Hive.DataAccess.Settings" type="System.Configuration.ClientSettingsSection, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" />
6    </sectionGroup>
7  </configSections>
8   
9  <appSettings>
10    <add key="ChartImageHandler" value="storage=file;timeout=20;dir=c:\TempImageFiles\;" />
11  </appSettings>
12  <applicationSettings>
13     <HeuristicLab.Services.Hive.DataAccess.Settings>
14      <setting name="LongRunningDatabaseCommandTimeout" serializeAs="String">
15        <value>00:05:00</value>
16      </setting>
17      <setting name="EventLogName" serializeAs="String">
18        <value>HL.Hive</value>
19      </setting>
20    </HeuristicLab.Services.Hive.DataAccess.Settings>
21  </applicationSettings>
22  <connectionStrings>
23    <add name="HeuristicLab.Authentication" connectionString="data source=localhost;Integrated Security=SSPI;Initial Catalog=HeuristicLab.Authentication"/>
24   <add name="HeuristicLab.Services.Hive.DataAccess.Settings.HeuristicLab_Hive_LinqConnectionString"
25      connectionString="Data Source=localhost;Initial Catalog=HeuristicLab.Hive-3.3;Integrated Security=True;"
26      providerName="System.Data.SqlClient" />
27  </connectionStrings>
28  <system.web>
29    <authentication mode="Forms" />
30    <compilation debug="true" targetFramework="4.0">
31      <assemblies>
32        <add assembly="System.Web.DataVisualization, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
33      </assemblies>
34    </compilation>
35    <membership>
36      <providers>
37        <clear/>
38        <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"/>
39      </providers>
40    </membership>
41    <roleManager enabled="true">
42      <providers>
43        <clear/>
44        <add name="AspNetSqlRoleProvider" type="System.Web.Security.SqlRoleProvider" connectionStringName="HeuristicLab.Authentication" applicationName="HeuristicLab.Authentication"/>
45      </providers>
46    </roleManager>
47    <pages controlRenderingCompatibilityVersion="3.5" clientIDMode="AutoID">
48      <controls>
49        <add tagPrefix="asp" namespace="System.Web.UI.DataVisualization.Charting"
50         assembly="System.Web.DataVisualization, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />
51      </controls>
52    </pages>
53    <httpRuntime maxRequestLength="1048576"/>
54  </system.web>
55  <system.serviceModel>
56    <diagnostics performanceCounters="All">
57      <messageLogging logEntireMessage="true" logMalformedMessages="true" logMessagesAtServiceLevel="true" logMessagesAtTransportLevel="true" maxMessagesToLog="3000"/>
58    </diagnostics>
59    <bindings>
60      <wsHttpBinding>
61        <binding name="WSHttpBinding_IHiveService" receiveTimeout="00:15:00" sendTimeout="00:10:00" maxBufferPoolSize="2147483647" maxReceivedMessageSize="2147483647">
62          <readerQuotas maxDepth="2147483647" maxStringContentLength="2147483647" maxArrayLength="2147483647" maxBytesPerRead="2147483647" maxNameTableCharCount="2147483647" />
63          <security mode="Message">
64            <transport clientCredentialType="Certificate"/>
65            <message clientCredentialType="UserName"/>
66          </security>
67        </binding>
68      </wsHttpBinding>
69    </bindings>
70    <behaviors>
71      <serviceBehaviors>
72        <behavior name="ServiceBehaviour_IHiveService">
73          <!-- To avoid disclosing metadata information, set the value below to false and remove the metadata endpoint above before deployment -->
74          <serviceMetadata httpGetEnabled="true" httpsGetEnabled="false"/>
75          <!-- To receive exception details in faults for debugging purposes, set the value below to true.  Set to false before deployment to avoid disclosing exception information -->
76          <serviceDebug httpHelpPageEnabled="true" includeExceptionDetailInFaults="true"/>
77          <serviceAuthorization principalPermissionMode="UseAspNetRoles" roleProviderName="AspNetSqlRoleProvider"/>
78          <serviceCredentials>
79            <serviceCertificate findValue="localhost" x509FindType="FindBySubjectName"/>
80            <userNameAuthentication userNamePasswordValidationMode="MembershipProvider" membershipProviderName="AspNetSqlMembershipProvider"/>
81          </serviceCredentials>
82          <serviceSecurityAudit auditLogLocation="Application" suppressAuditFailure="false" messageAuthenticationAuditLevel="SuccessOrFailure"/>
83          <serviceThrottling maxConcurrentCalls="100"/>
84          <dataContractSerializer maxItemsInObjectGraph="2147483647"/>
85        </behavior>
86      </serviceBehaviors>
87    </behaviors>
88    <services>
89      <service behaviorConfiguration="ServiceBehaviour_IHiveService" name="HeuristicLab.Services.Hive.HiveService">
90        <endpoint address="mex" binding="mexHttpBinding" bindingConfiguration="" name="MexEndpoint" contract="IMetadataExchange"/>
91        <endpoint binding="wsHttpBinding" bindingConfiguration="WSHttpBinding_IHiveService" name="WSHttpBinding_IHiveService" contract="HeuristicLab.Services.Hive.ServiceContracts.IHiveService"/>
92      </service>
93    </services>
94    <serviceHostingEnvironment multipleSiteBindingsEnabled="true"/>
95  </system.serviceModel>
96  <system.webServer>
97    <directoryBrowse enabled="true" />
98    <handlers>
99      <remove name="ChartImageHandler" />
100      <add name="ChartImageHandler" preCondition="integratedMode" verb="GET,HEAD,POST"
101       path="ChartImg.axd" type="System.Web.UI.DataVisualization.Charting.ChartHttpHandler, System.Web.DataVisualization, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />
102    </handlers>
103  </system.webServer> 
104</configuration>
Note: See TracBrowser for help on using the repository browser.