Free cookie consent management tool by TermsFeed Policy Generator

source: branches/OaaS/HeuristicLab.Services.Hive.WebRole/Web.config @ 15461

Last change on this file since 15461 was 9371, checked in by spimming, 12 years ago

#1888:
*Marked necessary configuration steps with ADJUST_ME

File size: 8.7 KB
Line 
1<?xml version="1.0" encoding="UTF-8"?>
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;Url=~/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=.\SQLEXPRESS;Integrated Security=SSPI;Initial Catalog=HeuristicLab.Authentication"/> -->
23    <add name="HeuristicLab.Authentication" connectionString="Server=ADJUST_ME,1433;Database=HeuristicLab.Authentication;User ID=ADJUST_ME;Password=ADJUST_ME;Trusted_Connection=False;Encrypt=True;Connection Timeout=30;" />
24    <!-- <add name="HeuristicLab.Services.Hive.DataAccess.Settings.HeuristicLab_Hive_LinqConnectionString" connectionString="Data Source=.\SQLEXPRESS;Initial Catalog=HeuristicLab.Hive-3.3;Integrated Security=True;" providerName="System.Data.SqlClient" /> -->
25    <add name="HeuristicLab.Services.Hive.DataAccess.Settings.HeuristicLab_Hive_LinqConnectionString" connectionString="Server=ADJUST_ME,1433;Database=HeuristicLab.Hive-3.3;User ID=ADJUST_ME;Password=ADJUST_ME;Trusted_Connection=False;Encrypt=True;Connection Timeout=30;Enlist=false;" providerName="System.Data.SqlClient" />
26  </connectionStrings>
27  <!--  To collect diagnostic traces, uncomment the section below or merge with existing system.diagnostics section.
28        To persist the traces to storage, update the DiagnosticsConnectionString setting with your storage credentials.
29        To avoid performance degradation, remember to disable tracing on production deployments.
30  <system.diagnostics>
31    <sharedListeners>
32      <add name="AzureLocalStorage" type="HeuristicLab.Services.Hive.WebRole.AzureLocalStorageTraceListener, HeuristicLab.Services.Hive.WebRole"/>
33    </sharedListeners>
34    <sources>
35      <source name="System.ServiceModel" switchValue="Verbose, ActivityTracing">
36        <listeners>
37          <add name="AzureLocalStorage"/>
38        </listeners>
39      </source>
40      <source name="System.ServiceModel.MessageLogging" switchValue="Verbose">
41        <listeners>
42          <add name="AzureLocalStorage"/>
43        </listeners>
44      </source>
45    </sources>
46  </system.diagnostics>-->
47  <system.diagnostics>
48    <trace>
49      <listeners>
50        <add type="Microsoft.WindowsAzure.Diagnostics.DiagnosticMonitorTraceListener, Microsoft.WindowsAzure.Diagnostics, Version=1.7.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" name="AzureDiagnostics">
51          <filter type="" />
52        </add>
53      </listeners>
54    </trace>
55  </system.diagnostics>
56  <system.web>
57    <customErrors mode="Off" />
58    <authentication mode="Forms" />
59    <compilation debug="true" targetFramework="4.0">
60      <assemblies>
61        <add assembly="System.Web.DataVisualization, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
62      </assemblies>
63    </compilation>
64    <membership>
65      <providers>
66        <clear />
67        <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" />
68      </providers>
69    </membership>
70    <roleManager enabled="true">
71      <providers>
72        <clear />
73        <add name="AspNetSqlRoleProvider" type="System.Web.Security.SqlRoleProvider" connectionStringName="HeuristicLab.Authentication" applicationName="HeuristicLab.Authentication" />
74      </providers>
75    </roleManager>
76    <pages controlRenderingCompatibilityVersion="3.5" clientIDMode="AutoID">
77      <controls>
78        <add tagPrefix="asp" namespace="System.Web.UI.DataVisualization.Charting" assembly="System.Web.DataVisualization, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />
79      </controls>
80    </pages>
81    <httpRuntime maxRequestLength="1048576" />
82        <machineKey decryption="AES" decryptionKey="F7FA540B4DFD82E5BB196B95D15FF81FC30FFD1954D82285600A0DA6EBCDC9B9" validation="SHA1" validationKey="C30FFD1954D82285600A0DA6EBCDC9B9BE3C4C079DE62168764FF0DCE537184F0535D5D9AD66DEDCC30FFD1954D82285600A0DA6EBCDC9B9BE3C4C0797DC1ABF" />
83  </system.web>
84  <system.serviceModel>
85    <diagnostics>
86      <messageLogging logEntireMessage="true" logMalformedMessages="true" logMessagesAtServiceLevel="true" logMessagesAtTransportLevel="true" maxMessagesToLog="3000" />
87    </diagnostics>
88    <bindings>
89      <wsHttpBinding>
90        <binding name="WSHttpBinding_IHiveService" receiveTimeout="00:10:00" sendTimeout="00:10:00" maxBufferPoolSize="2147483647" maxReceivedMessageSize="2147483647">
91          <readerQuotas maxDepth="2147483647" maxStringContentLength="2147483647" maxArrayLength="2147483647" maxBytesPerRead="2147483647" maxNameTableCharCount="2147483647" />
92          <security mode="Message">
93            <transport clientCredentialType="Certificate" />
94            <message clientCredentialType="UserName" />
95          </security>
96        </binding>
97      </wsHttpBinding>
98    </bindings>
99    <behaviors>
100      <serviceBehaviors>
101        <behavior name="ServiceBehaviour_IHiveService">
102          <!-- To avoid disclosing metadata information, set the value below to false and remove the metadata endpoint above before deployment -->
103          <serviceMetadata httpGetEnabled="true" httpsGetEnabled="false" />
104          <!-- 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 -->
105          <serviceDebug httpHelpPageEnabled="true" includeExceptionDetailInFaults="true" />
106          <serviceAuthorization principalPermissionMode="UseAspNetRoles" roleProviderName="AspNetSqlRoleProvider" />
107          <serviceCredentials>
108            <serviceCertificate findValue="localhost" x509FindType="FindBySubjectName" />
109            <userNameAuthentication userNamePasswordValidationMode="MembershipProvider" membershipProviderName="AspNetSqlMembershipProvider" />
110          </serviceCredentials>
111          <serviceSecurityAudit auditLogLocation="Application" suppressAuditFailure="false" messageAuthenticationAuditLevel="SuccessOrFailure" />
112          <serviceThrottling maxConcurrentCalls="100" />
113          <dataContractSerializer maxItemsInObjectGraph="2147483647" />
114        </behavior>
115      </serviceBehaviors>
116    </behaviors>
117    <services>
118      <service behaviorConfiguration="ServiceBehaviour_IHiveService" name="HeuristicLab.Services.Hive.HiveService">
119        <endpoint address="mex" binding="mexHttpBinding" bindingConfiguration="" name="MexEndpoint" contract="IMetadataExchange" />
120        <endpoint binding="wsHttpBinding" bindingConfiguration="WSHttpBinding_IHiveService" name="WSHttpBinding_IHiveService" contract="HeuristicLab.Services.Hive.ServiceContracts.IHiveService" />
121      </service>
122    </services>
123    <serviceHostingEnvironment multipleSiteBindingsEnabled="true" />
124  </system.serviceModel>
125  <system.webServer>
126    <modules runAllManagedModulesForAllRequests="true" />
127    <defaultDocument>
128      <files>
129        <clear />
130        <add value="Status.aspx" />
131      </files>
132    </defaultDocument>
133    <!--
134        To browse web app root directory during debugging, set the value below to true.
135        Set to false before deployment to avoid disclosing web app folder information.
136    -->
137    <directoryBrowse enabled="true" />
138    <handlers>
139      <remove name="ChartImageHandler" />
140      <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" />
141    </handlers>
142  </system.webServer>
143</configuration>
Note: See TracBrowser for help on using the repository browser.