Free cookie consent management tool by TermsFeed Policy Generator

source: branches/Async/HeuristicLab.Services.Hive.Web/Hive-3.3/Web.config @ 15281

Last change on this file since 15281 was 15281, checked in by abeham, 7 years ago

#2258: merged r14001:15280 from trunk into branch

File size: 6.6 KB
RevLine 
[15281]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">
[11623]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>
[15281]8 
[6983]9  <appSettings>
[11623]10    <add key="ChartImageHandler" value="storage=file;timeout=20;dir=c:\TempImageFiles\;"/>
[6983]11  </appSettings>
[15281]12 
[6983]13  <applicationSettings>
[11623]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>
[15281]23 
[6983]24  <connectionStrings>
[15281]25    <add name="HeuristicLab.Authentication" connectionString="Data Source=.\SQLEXPRESS;Integrated Security=SSPI;Initial Catalog=HeuristicLab.Authentication" />
26    <add name="HeuristicLab.Services.Hive.DataAccess.Settings.HeuristicLab_Hive_LinqConnectionString" connectionString="Data Source=.\SQLEXPRESS;Integrated Security=SSPI;Initial Catalog=HeuristicLab.Hive-3.3" />
[6983]27  </connectionStrings>
[11623]28
[6983]29  <system.web>
[15281]30    <authentication mode="Forms" />
[11623]31    <compilation debug="true" targetFramework="4.5">
[6983]32      <assemblies>
[15281]33        <add assembly="System.Web.DataVisualization, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
[6983]34      </assemblies>
35    </compilation>
[15281]36    <httpRuntime maxRequestLength="2097151"/>
37    <membership defaultProvider="AspNetSqlMembershipProvider">
[6983]38      <providers>
[15281]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>
[15281]45    <roleManager enabled="true" defaultProvider="AspNetSqlRoleProvider">
[6983]46      <providers>
[15281]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>
[11623]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>
[15281]57 
[6983]58  <system.serviceModel>
[15281]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" />
64        <endpoint address="net.tcp://localhost:8001/Hive-3.3/HiveService.svc"
65          binding="netTcpBinding" bindingConfiguration="NetBinding_IHiveService"
66          name="NetBinding_IHiveService" contract="HeuristicLab.Services.Hive.ServiceContracts.IHiveService" />
67        <host>
68          <baseAddresses>
69            <add baseAddress="http://localhost:8000/Hive-3.3/HiveService.svc" />
70          </baseAddresses>
71        </host>
72      </service>
73    </services>
[6983]74    <bindings>
[9665]75      <netTcpBinding>
[15281]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" />
[9665]81          <security mode="TransportWithMessageCredential">
[15281]82            <message clientCredentialType="UserName" />
[9665]83          </security>
84        </binding>
85      </netTcpBinding>
[15281]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>
[15281]99        <behavior name="DefaultServiceBehavior">
100          <serviceMetadata httpGetEnabled="true" />
101          <serviceDebug includeExceptionDetailInFaults="true" />
[6983]102          <serviceCredentials>
[15281]103            <serviceCertificate findValue="localhost" x509FindType="FindBySubjectName" />
104            <userNameAuthentication userNamePasswordValidationMode="MembershipProvider"
105              membershipProviderName="AspNetSqlMembershipProvider" />
[6983]106          </serviceCredentials>
[15281]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>
[15281]115    <diagnostics performanceCounters="All">
116      <messageLogging logEntireMessage="true" logMalformedMessages="true" logMessagesAtServiceLevel="true" logMessagesAtTransportLevel="true" maxMessagesToLog="3000"/>
117    </diagnostics>
[6983]118  </system.serviceModel>
[15281]119
[6983]120  <system.webServer>
[11623]121    <directoryBrowse enabled="true"/>
[6983]122    <handlers>
[11623]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>
[11623]126  </system.webServer>
[15281]127</configuration>
Note: See TracBrowser for help on using the repository browser.