Free cookie consent management tool by TermsFeed Policy Generator

source: branches/HiveHiveEngine/HeuristicLab.Services.Hive.Web/web_services.config @ 13367

Last change on this file since 13367 was 6983, checked in by ascheibe, 13 years ago

#1672

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