Free cookie consent management tool by TermsFeed Policy Generator

source: stable/HeuristicLab.Services.Hive.Web/Hive-3.3/Web.config @ 17369

Last change on this file since 17369 was 17059, checked in by mkommend, 5 years ago

#2839: Merged 16117, 16122, 16173, 16184, 16185, 16186, 16187, 16202, 16203, 16204, 16205, 16208, 16211, 16209, 16211, 16219, 16257, 16247 into stable.

File size: 6.7 KB
RevLine 
[15261]1<?xml version="1.0" encoding="utf-8"?>
[6983]2<configuration>
3  <configSections>
4    <sectionGroup name="applicationSettings" type="System.Configuration.ApplicationSettingsGroup, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
[11920]5      <section name="HeuristicLab.Services.Hive.DataAccess.Settings" type="System.Configuration.ClientSettingsSection, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false"/>
[6983]6    </sectionGroup>
7  </configSections>
[15261]8 
[6983]9  <appSettings>
[11920]10    <add key="ChartImageHandler" value="storage=file;timeout=20;dir=c:\TempImageFiles\;"/>
[6983]11  </appSettings>
[15261]12 
[6983]13  <applicationSettings>
[11920]14    <HeuristicLab.Services.Hive.DataAccess.Settings>
[6983]15      <setting name="LongRunningDatabaseCommandTimeout" serializeAs="String">
16        <value>00:05:00</value>
17      </setting>
18      <setting name="EventLogName" serializeAs="String">
19        <value>HL.Hive</value>
20      </setting>
21    </HeuristicLab.Services.Hive.DataAccess.Settings>
22  </applicationSettings>
[15261]23 
[6983]24  <connectionStrings>
[17059]25    <add name="HeuristicLab.Authentication" connectionString="Data Source=localhost;Integrated Security=SSPI;Initial Catalog=HeuristicLab.Authentication" />
26    <add name="HeuristicLab.Services.Hive.DataAccess.Settings.HeuristicLab_Hive_LinqConnectionString" connectionString="Data Source=localhost;Integrated Security=SSPI;Initial Catalog=HeuristicLab.Hive-3.4" />
[6983]27  </connectionStrings>
[11920]28
[6983]29  <system.web>
[15261]30    <authentication mode="Forms" />
[11920]31    <compilation debug="true" targetFramework="4.5">
[6983]32      <assemblies>
[15261]33        <add assembly="System.Web.DataVisualization, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
[6983]34      </assemblies>
35    </compilation>
[15261]36    <httpRuntime maxRequestLength="2097151"/>
37    <membership defaultProvider="AspNetSqlMembershipProvider">
[6983]38      <providers>
[15261]39        <clear />
40        <add name="AspNetSqlMembershipProvider" type="System.Web.Security.SqlMembershipProvider" connectionStringName="HeuristicLab.Authentication"
41             requiresQuestionAndAnswer="false" requiresUniqueEmail="false" applicationName="HeuristicLab.Authentication" minRequiredPasswordLength="8"
42             minRequiredNonalphanumericCharacters="0" maxInvalidPasswordAttempts="5" />
[6983]43      </providers>
44    </membership>
[15261]45    <roleManager enabled="true" defaultProvider="AspNetSqlRoleProvider">
[6983]46      <providers>
[15261]47        <clear />
[6983]48        <add name="AspNetSqlRoleProvider" type="System.Web.Security.SqlRoleProvider" connectionStringName="HeuristicLab.Authentication" applicationName="HeuristicLab.Authentication"/>
49      </providers>
50    </roleManager>
51    <pages controlRenderingCompatibilityVersion="3.5" clientIDMode="AutoID">
52      <controls>
[11920]53        <add tagPrefix="asp" namespace="System.Web.UI.DataVisualization.Charting" assembly="System.Web.DataVisualization, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
[6983]54      </controls>
55    </pages>
56  </system.web>
[15261]57 
[6983]58  <system.serviceModel>
[15261]59    <serviceHostingEnvironment multipleSiteBindingsEnabled="true"/>
60    <services>
61      <service behaviorConfiguration="DefaultServiceBehavior" name="HeuristicLab.Services.Hive.HiveService">
62        <endpoint binding="wsHttpBinding" bindingConfiguration="WSHttpBinding_IHiveService"
63          name="WSHttpBinding_IHiveService" contract="HeuristicLab.Services.Hive.ServiceContracts.IHiveService" />
[17059]64        <endpoint address="net.tcp://services.heuristiclab.com/Hive-3.4/HiveService.svc"
[15261]65          binding="netTcpBinding" bindingConfiguration="NetBinding_IHiveService"
66          name="NetBinding_IHiveService" contract="HeuristicLab.Services.Hive.ServiceContracts.IHiveService" />
67        <host>
68          <baseAddresses>
[17059]69            <add baseAddress="http://services.heuristiclab.com/Hive-3.4/HiveService.svc" />
[15261]70          </baseAddresses>
71        </host>
72      </service>
73    </services>
[6983]74    <bindings>
[9700]75      <netTcpBinding>
[15261]76        <binding name="NetBinding_IHiveService" receiveTimeout="00:20:00"
77          sendTimeout="00:20:00" maxBufferPoolSize="2147483647" maxBufferSize="2147483647"
78          maxReceivedMessageSize="2147483647" portSharingEnabled="true">
79          <readerQuotas maxDepth="2147483647" maxStringContentLength="2147483647"
80            maxArrayLength="2147483647" maxBytesPerRead="2147483647" maxNameTableCharCount="2147483647" />
[9700]81          <security mode="TransportWithMessageCredential">
[15261]82            <message clientCredentialType="UserName" />
[9700]83          </security>
84        </binding>
85      </netTcpBinding>
[15261]86      <wsHttpBinding>
87        <binding name="WSHttpBinding_IHiveService" receiveTimeout="00:20:00"
88          sendTimeout="00:20:00" maxBufferPoolSize="2147483647" maxReceivedMessageSize="2147483647">
89          <readerQuotas maxDepth="2147483647" maxStringContentLength="2147483647"
90            maxArrayLength="2147483647" maxBytesPerRead="2147483647" maxNameTableCharCount="2147483647" />
91          <security>
92            <message clientCredentialType="UserName" />
93          </security>
94        </binding>
95      </wsHttpBinding>
[6983]96    </bindings>
97    <behaviors>
98      <serviceBehaviors>
[15261]99        <behavior name="DefaultServiceBehavior">
100          <serviceMetadata httpGetEnabled="true" />
101          <serviceDebug includeExceptionDetailInFaults="true" />
[6983]102          <serviceCredentials>
[17059]103            <serviceCertificate findValue="services.heuristiclab.com" x509FindType="FindBySubjectName" />
[15261]104            <userNameAuthentication userNamePasswordValidationMode="MembershipProvider"
105              membershipProviderName="AspNetSqlMembershipProvider" />
[6983]106          </serviceCredentials>
[15261]107          <serviceAuthorization principalPermissionMode="UseAspNetRoles"
108            roleProviderName="AspNetSqlRoleProvider" />
109          <serviceSecurityAudit auditLogLocation="Application" suppressAuditFailure="false"
110            messageAuthenticationAuditLevel="SuccessOrFailure" />
111          <serviceThrottling maxConcurrentCalls="100" />
[6983]112        </behavior>
113      </serviceBehaviors>
114    </behaviors>
[15261]115    <diagnostics performanceCounters="All">
116      <messageLogging logEntireMessage="true" logMalformedMessages="true" logMessagesAtServiceLevel="true" logMessagesAtTransportLevel="true" maxMessagesToLog="3000"/>
117    </diagnostics>
[6983]118  </system.serviceModel>
[15261]119
[6983]120  <system.webServer>
[11920]121    <directoryBrowse enabled="true"/>
[6983]122    <handlers>
[11920]123      <remove name="ChartImageHandler"/>
124      <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"/>
[6983]125    </handlers>
[11920]126  </system.webServer>
[15261]127</configuration>
Note: See TracBrowser for help on using the repository browser.