Free cookie consent management tool by TermsFeed Policy Generator

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

Last change on this file since 14130 was 11920, checked in by ascheibe, 10 years ago

#2280 merged r11623, r11631, r11634 into stable

File size: 7.4 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  </appSettings>
11  <applicationSettings>
12    <HeuristicLab.Services.Hive.DataAccess.Settings>
13      <setting name="LongRunningDatabaseCommandTimeout" serializeAs="String">
14        <value>00:05:00</value>
15      </setting>
16      <setting name="EventLogName" serializeAs="String">
17        <value>HL.Hive</value>
18      </setting>
19    </HeuristicLab.Services.Hive.DataAccess.Settings>
20  </applicationSettings>
21  <connectionStrings>
22    <add name="HeuristicLab.Authentication" connectionString="data source=localhost;Integrated Security=SSPI;Initial Catalog=HeuristicLab.Authentication"/>
23    <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"/>
24  </connectionStrings>
25  <!--
26    For a description of web.config changes see http://go.microsoft.com/fwlink/?LinkId=235367.
27
28    The following attributes can be set on the <httpRuntime> tag.
29      <system.Web>
30        <httpRuntime targetFramework="4.5" />
31      </system.Web>
32  -->
33  <system.web>
34    <authentication mode="Forms"/>
35    <compilation debug="true" targetFramework="4.5">
36      <assemblies>
37        <add assembly="System.Web.DataVisualization, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
38      </assemblies>
39    </compilation>
40    <membership>
41      <providers>
42        <clear/>
43        <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"/>
44      </providers>
45    </membership>
46    <roleManager enabled="true">
47      <providers>
48        <clear/>
49        <add name="AspNetSqlRoleProvider" type="System.Web.Security.SqlRoleProvider" connectionStringName="HeuristicLab.Authentication" applicationName="HeuristicLab.Authentication"/>
50      </providers>
51    </roleManager>
52    <pages controlRenderingCompatibilityVersion="3.5" clientIDMode="AutoID">
53      <controls>
54        <add tagPrefix="asp" namespace="System.Web.UI.DataVisualization.Charting" assembly="System.Web.DataVisualization, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
55      </controls>
56    </pages>
57    <httpRuntime maxRequestLength="1048576"/>
58  </system.web>
59  <system.serviceModel>
60    <diagnostics performanceCounters="All">
61      <messageLogging logEntireMessage="true" logMalformedMessages="true" logMessagesAtServiceLevel="true" logMessagesAtTransportLevel="true" maxMessagesToLog="3000"/>
62    </diagnostics>
63    <bindings>
64      <wsHttpBinding>
65        <binding name="WSHttpBinding_IHiveService" messageEncoding="Text" receiveTimeout="00:35:00" sendTimeout="00:35:00" maxBufferPoolSize="2147483647" maxReceivedMessageSize="2147483647">
66          <readerQuotas maxDepth="2147483647" maxStringContentLength="2147483647" maxArrayLength="2147483647" maxBytesPerRead="2147483647" maxNameTableCharCount="2147483647"/>
67          <security mode="Message">
68            <transport clientCredentialType="Certificate"/>
69            <message clientCredentialType="UserName"/>
70          </security>
71        </binding>
72      </wsHttpBinding>
73      <netTcpBinding>
74        <binding name="NetTcpBinding_IHiveService" portSharingEnabled="true" receiveTimeout="00:35:00" sendTimeout="00:35:00" maxBufferPoolSize="2147483647" maxReceivedMessageSize="2147483647">
75          <readerQuotas maxDepth="2147483647" maxStringContentLength="2147483647" maxArrayLength="2147483647" maxBytesPerRead="2147483647" maxNameTableCharCount="2147483647"/>
76          <security mode="TransportWithMessageCredential">
77            <transport clientCredentialType="Certificate"/>
78            <message clientCredentialType="UserName"/>
79          </security>
80        </binding>
81      </netTcpBinding>
82    </bindings>
83    <behaviors>
84      <serviceBehaviors>
85        <behavior name="ServiceBehaviour_IHiveService">
86          <!-- To avoid disclosing metadata information, set the value below to false and remove the metadata endpoint above before deployment -->
87          <serviceMetadata httpGetEnabled="true" httpsGetEnabled="false"/>
88          <!-- 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 -->
89          <serviceDebug httpHelpPageEnabled="true" includeExceptionDetailInFaults="true"/>
90          <serviceAuthorization principalPermissionMode="UseAspNetRoles" roleProviderName="AspNetSqlRoleProvider"/>
91          <serviceCredentials>
92            <serviceCertificate findValue="localhost" x509FindType="FindBySubjectName"/>
93            <userNameAuthentication userNamePasswordValidationMode="MembershipProvider" membershipProviderName="AspNetSqlMembershipProvider"/>
94          </serviceCredentials>
95          <serviceSecurityAudit auditLogLocation="Application" suppressAuditFailure="false" messageAuthenticationAuditLevel="SuccessOrFailure"/>
96          <serviceThrottling maxConcurrentCalls="100"/>
97          <dataContractSerializer maxItemsInObjectGraph="2147483647"/>
98        </behavior>
99      </serviceBehaviors>
100    </behaviors>
101    <services>
102      <service behaviorConfiguration="ServiceBehaviour_IHiveService" name="HeuristicLab.Services.Hive.HiveService">
103        <endpoint address="mexhttp" binding="mexHttpBinding" bindingConfiguration="" name="MexHttpEndpoint" contract="IMetadataExchange"/>
104        <endpoint address="mex" binding="mexTcpBinding" bindingConfiguration="" name="MexTcpEndpoint" contract="IMetadataExchange"/>
105        <endpoint address="" binding="wsHttpBinding" bindingConfiguration="WSHttpBinding_IHiveService" name="WSHttpBinding_IHiveService" contract="HeuristicLab.Services.Hive.ServiceContracts.IHiveService"/>
106        <endpoint address="net.tcp://services.heuristiclab.com/Hive-3.3/HiveService.svc" binding="netTcpBinding" bindingConfiguration="NetTcpBinding_IHiveService" name="NetBinding_IHiveService" contract="HeuristicLab.Services.Hive.ServiceContracts.IHiveService"/>
107      </service>
108    </services>
109    <serviceHostingEnvironment multipleSiteBindingsEnabled="true"/>
110  </system.serviceModel>
111  <system.webServer>
112    <directoryBrowse enabled="true"/>
113    <handlers>
114      <remove name="ChartImageHandler"/>
115      <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"/>
116    </handlers>
117  </system.webServer>
118</configuration>
Note: See TracBrowser for help on using the repository browser.