source: branches/HiveStatistics/sources/HeuristicLab.Services.Hive.SelfHost/3.3/App.config @ 9527

Last change on this file since 9527 was 9527, checked in by pfleck, 6 years ago

#2063
Provides a GUI for SelfHosting Hive-Service to start and stop the service.
Enables start and stop Janitor with adjustable frequency.
Run Cleanup and GenerateStatistics separately on click.

File size: 6.9 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  <appSettings>
9    <add key="ChartImageHandler" value="storage=file;timeout=20;dir=c:\TempImageFiles\;" />
10    <add key="ClientSettingsProvider.ServiceUri" value="" />
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" connectionString="Data Source=localhost;Initial Catalog=HeuristicLab.Hive-3.3;Integrated Security=True;" providerName="System.Data.SqlClient" />
25  </connectionStrings>
26  <system.web>
27    <authentication mode="Forms" />
28    <compilation debug="true" targetFramework="4.0">
29      <assemblies>
30        <add assembly="System.Web.DataVisualization, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
31      </assemblies>
32    </compilation>
33    <membership defaultProvider="ClientAuthenticationMembershipProvider">
34      <providers>
35        <clear />
36        <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" />
37        <add name="ClientAuthenticationMembershipProvider" type="System.Web.ClientServices.Providers.ClientFormsAuthenticationMembershipProvider, System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" serviceUri="" />
38      </providers>
39    </membership>
40    <roleManager enabled="true" defaultProvider="ClientRoleProvider">
41      <providers>
42        <clear />
43        <add name="AspNetSqlRoleProvider" type="System.Web.Security.SqlRoleProvider" connectionStringName="HeuristicLab.Authentication" applicationName="HeuristicLab.Authentication" />
44        <add name="ClientRoleProvider" type="System.Web.ClientServices.Providers.ClientRoleProvider, System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" serviceUri="" cacheTimeout="86400" />
45      </providers>
46    </roleManager>
47    <pages controlRenderingCompatibilityVersion="3.5" clientIDMode="AutoID">
48      <controls>
49        <add tagPrefix="asp" namespace="System.Web.UI.DataVisualization.Charting" assembly="System.Web.DataVisualization, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />
50      </controls>
51    </pages>
52    <httpRuntime maxRequestLength="1048576" />
53  </system.web>
54  <system.serviceModel>
55    <diagnostics performanceCounters="All">
56      <messageLogging logEntireMessage="true" logMalformedMessages="true" logMessagesAtServiceLevel="true" logMessagesAtTransportLevel="true" maxMessagesToLog="3000" />
57    </diagnostics>
58    <bindings>
59      <wsHttpBinding>
60        <binding name="WSHttpBinding_IHiveService" messageEncoding="Mtom" receiveTimeout="00:15:00" sendTimeout="00:10:00" maxBufferPoolSize="2147483647" maxReceivedMessageSize="2147483647">
61          <readerQuotas maxDepth="2147483647" maxStringContentLength="2147483647" maxArrayLength="2147483647" maxBytesPerRead="2147483647" maxNameTableCharCount="2147483647" />
62          <security mode="Message">
63            <transport clientCredentialType="Certificate" />
64            <message clientCredentialType="UserName" />
65          </security>
66        </binding>
67      </wsHttpBinding>
68    </bindings>
69    <behaviors>
70      <serviceBehaviors>
71        <behavior name="ServiceBehaviour_IHiveService">
72          <!-- To avoid disclosing metadata information, set the value below to false and remove the metadata endpoint above before deployment -->
73          <serviceMetadata httpGetEnabled="true" httpsGetEnabled="false" />
74          <!-- 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 -->
75          <serviceDebug httpHelpPageEnabled="true" includeExceptionDetailInFaults="true" />
76          <serviceAuthorization principalPermissionMode="UseAspNetRoles" roleProviderName="AspNetSqlRoleProvider" />
77          <serviceCredentials>
78            <serviceCertificate findValue="localhost" x509FindType="FindBySubjectName" />
79            <userNameAuthentication userNamePasswordValidationMode="MembershipProvider" membershipProviderName="AspNetSqlMembershipProvider" />
80          </serviceCredentials>
81          <serviceSecurityAudit auditLogLocation="Application" suppressAuditFailure="false" messageAuthenticationAuditLevel="SuccessOrFailure" />
82          <serviceThrottling maxConcurrentCalls="100" />
83          <dataContractSerializer maxItemsInObjectGraph="2147483647" />
84        </behavior>
85      </serviceBehaviors>
86    </behaviors>
87    <services>
88      <service behaviorConfiguration="ServiceBehaviour_IHiveService" name="HeuristicLab.Services.Hive.HiveService">
89        <endpoint address="mex" binding="mexHttpBinding" bindingConfiguration="" name="MexEndpoint" contract="IMetadataExchange" />
90        <endpoint binding="wsHttpBinding" bindingConfiguration="WSHttpBinding_IHiveService" name="WSHttpBinding_IHiveService" contract="HeuristicLab.Services.Hive.ServiceContracts.IHiveService" />
91      </service>
92    </services>
93    <serviceHostingEnvironment multipleSiteBindingsEnabled="true" />
94  </system.serviceModel>
95  <system.webServer>
96    <directoryBrowse enabled="true" />
97    <handlers>
98      <remove name="ChartImageHandler" />
99      <add name="ChartImageHandler" preCondition="integratedMode" verb="GET,HEAD,POST" path="ChartImg.axd" type="System.Web.UI.DataVisualization.Charting.ChartHttpHandler, System.Web.DataVisualization, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />
100    </handlers>
101  </system.webServer>
102  <startup>
103    <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5" />
104  </startup>
105</configuration>
Note: See TracBrowser for help on using the repository browser.