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