source: branches/2931_OR-Tools_LP_MIP/HeuristicLab.Services.Hive.Web/web_services.config @ 16139

Last change on this file since 16139 was 16139, checked in by ddorfmei, 14 months ago

#2931: Merged [16046-16138/trunk] into branch

File size: 7.5 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.4;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" batch="false">
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  </system.web>
59 
60  <system.serviceModel>
61    <diagnostics>
62      <messageLogging logEntireMessage="true" logMalformedMessages="true" logMessagesAtServiceLevel="true" logMessagesAtTransportLevel="true" maxMessagesToLog="3000"/>
63    </diagnostics>
64   
65    <bindings>
66      <wsHttpBinding>
67        <binding name="WSHttpBinding_IHiveService" 
68      receiveTimeout="00:35:00"
69          sendTimeout="00:35:00" 
70      maxBufferPoolSize="2147483647" 
71      maxReceivedMessageSize="2147483647">
72         <readerQuotas maxDepth="2147483647" maxStringContentLength="2147483647" maxArrayLength="2147483647" maxBytesPerRead="2147483647" maxNameTableCharCount="2147483647" />
73          <security mode="Message">
74            <transport clientCredentialType="Certificate"/>
75            <message clientCredentialType="UserName" />
76          </security>
77        </binding>
78      </wsHttpBinding>
79    <netTcpBinding>
80        <binding name="NetTcpBinding_IHiveService" portSharingEnabled="true" receiveTimeout="00:35:00" sendTimeout="00:35:00" maxBufferPoolSize="2147483647" maxReceivedMessageSize="2147483647">
81          <readerQuotas maxDepth="2147483647" maxStringContentLength="2147483647" maxArrayLength="2147483647" maxBytesPerRead="2147483647" maxNameTableCharCount="2147483647" />
82          <security mode="TransportWithMessageCredential">
83            <transport clientCredentialType="Certificate"/>
84            <message clientCredentialType="UserName"/>
85          </security>
86        </binding>
87      </netTcpBinding>
88    </bindings>
89   
90    <behaviors>
91      <serviceBehaviors>
92        <behavior name="ServiceBehaviour_IHiveService">
93          <!-- To avoid disclosing metadata information, set the value below to false and remove the metadata endpoint above before deployment -->
94          <serviceMetadata httpGetEnabled="true" httpsGetEnabled="false" />
95          <!-- 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 -->
96          <serviceDebug httpHelpPageEnabled="true" includeExceptionDetailInFaults="true" />
97          <serviceAuthorization principalPermissionMode="UseAspNetRoles" roleProviderName="AspNetSqlRoleProvider" />
98          <serviceCredentials>
99            <serviceCertificate findValue="services.heuristiclab.com" x509FindType="FindBySubjectName" />
100            <userNameAuthentication userNamePasswordValidationMode="MembershipProvider" membershipProviderName="AspNetSqlMembershipProvider" />
101          </serviceCredentials>
102          <serviceSecurityAudit auditLogLocation="Application" suppressAuditFailure="false" messageAuthenticationAuditLevel="Failure" />
103          <serviceThrottling maxConcurrentCalls="100" />
104      <dataContractSerializer maxItemsInObjectGraph="2147483647" />
105        </behavior>
106      </serviceBehaviors>
107   
108    <endpointBehaviors>
109        <behavior>
110          <dataContractSerializer maxItemsInObjectGraph="2147483647"/>
111        </behavior>
112      </endpointBehaviors>
113    </behaviors>
114
115     <services>
116      <service behaviorConfiguration="ServiceBehaviour_IHiveService" name="HeuristicLab.Services.Hive.HiveService">
117        <endpoint address="mexhttp" binding="mexHttpBinding" bindingConfiguration="" name="MexHttpEndpoint" contract="IMetadataExchange"/>
118        <endpoint address="mex" binding="mexTcpBinding" bindingConfiguration="" name="MexTcpEndpoint" contract="IMetadataExchange"/>
119        <endpoint address="" binding="wsHttpBinding" bindingConfiguration="WSHttpBinding_IHiveService" name="WSHttpBinding_IHiveService" contract="HeuristicLab.Services.Hive.ServiceContracts.IHiveService"/>
120        <endpoint address="net.tcp://10.20.71.54/Hive-3.4/HiveService.svc" binding="netTcpBinding"  bindingConfiguration="NetTcpBinding_IHiveService" name="NetBinding_IHiveService" contract="HeuristicLab.Services.Hive.ServiceContracts.IHiveService"/>
121      </service>
122    </services>
123   
124    <serviceHostingEnvironment multipleSiteBindingsEnabled="true" />
125  </system.serviceModel>
126
127  <system.webServer>
128  <handlers>
129    <remove name="ChartImageHandler" />
130    <add name="ChartImageHandler" preCondition="integratedMode" verb="GET,HEAD,POST"
131      path="ChartImg.axd" type="System.Web.UI.DataVisualization.Charting.ChartHttpHandler,
132      System.Web.DataVisualization, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />
133  </handlers>
134    <directoryBrowse enabled="true"/>
135  </system.webServer>
136 
137</configuration>
Note: See TracBrowser for help on using the repository browser.