Free cookie consent management tool by TermsFeed Policy Generator

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

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

#1888:
*Marked necessary configuration steps with ADJUST_ME

File size: 8.7 KB
RevLine 
[9371]1<?xml version="1.0" encoding="UTF-8"?>
[8235]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"/> -->
[9371]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;" />
[8235]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" /> -->
[9371]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" />
[8235]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.
[9371]29        To avoid performance degradation, remember to disable tracing on production deployments.
30  <system.diagnostics>
[8235]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>
[9371]45    </sources>
46  </system.diagnostics>-->
[8235]47  <system.diagnostics>
48    <trace>
49      <listeners>
[9371]50        <add type="Microsoft.WindowsAzure.Diagnostics.DiagnosticMonitorTraceListener, Microsoft.WindowsAzure.Diagnostics, Version=1.7.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" name="AzureDiagnostics">
[8235]51          <filter type="" />
52        </add>
53      </listeners>
54    </trace>
55  </system.diagnostics>
56  <system.web>
[9371]57    <customErrors mode="Off" />
[8235]58    <authentication mode="Forms" />
59    <compilation debug="true" targetFramework="4.0">
60      <assemblies>
[9371]61        <add assembly="System.Web.DataVisualization, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
[8235]62      </assemblies>
63    </compilation>
64    <membership>
65      <providers>
[9371]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" />
[8235]68      </providers>
69    </membership>
70    <roleManager enabled="true">
71      <providers>
[9371]72        <clear />
73        <add name="AspNetSqlRoleProvider" type="System.Web.Security.SqlRoleProvider" connectionStringName="HeuristicLab.Authentication" applicationName="HeuristicLab.Authentication" />
[8235]74      </providers>
75    </roleManager>
76    <pages controlRenderingCompatibilityVersion="3.5" clientIDMode="AutoID">
77      <controls>
[9371]78        <add tagPrefix="asp" namespace="System.Web.UI.DataVisualization.Charting" assembly="System.Web.DataVisualization, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />
[8235]79      </controls>
80    </pages>
[9371]81    <httpRuntime maxRequestLength="1048576" />
82        <machineKey decryption="AES" decryptionKey="F7FA540B4DFD82E5BB196B95D15FF81FC30FFD1954D82285600A0DA6EBCDC9B9" validation="SHA1" validationKey="C30FFD1954D82285600A0DA6EBCDC9B9BE3C4C079DE62168764FF0DCE537184F0535D5D9AD66DEDCC30FFD1954D82285600A0DA6EBCDC9B9BE3C4C0797DC1ABF" />
[8235]83  </system.web>
84  <system.serviceModel>
85    <diagnostics>
[9371]86      <messageLogging logEntireMessage="true" logMalformedMessages="true" logMessagesAtServiceLevel="true" logMessagesAtTransportLevel="true" maxMessagesToLog="3000" />
[8235]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">
[9371]93            <transport clientCredentialType="Certificate" />
94            <message clientCredentialType="UserName" />
[8235]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 -->
[9371]103          <serviceMetadata httpGetEnabled="true" httpsGetEnabled="false" />
[8235]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 -->
[9371]105          <serviceDebug httpHelpPageEnabled="true" includeExceptionDetailInFaults="true" />
106          <serviceAuthorization principalPermissionMode="UseAspNetRoles" roleProviderName="AspNetSqlRoleProvider" />
[8235]107          <serviceCredentials>
[9371]108            <serviceCertificate findValue="localhost" x509FindType="FindBySubjectName" />
109            <userNameAuthentication userNamePasswordValidationMode="MembershipProvider" membershipProviderName="AspNetSqlMembershipProvider" />
[8235]110          </serviceCredentials>
[9371]111          <serviceSecurityAudit auditLogLocation="Application" suppressAuditFailure="false" messageAuthenticationAuditLevel="SuccessOrFailure" />
112          <serviceThrottling maxConcurrentCalls="100" />
113          <dataContractSerializer maxItemsInObjectGraph="2147483647" />
[8235]114        </behavior>
115      </serviceBehaviors>
116    </behaviors>
117    <services>
118      <service behaviorConfiguration="ServiceBehaviour_IHiveService" name="HeuristicLab.Services.Hive.HiveService">
[9371]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" />
[8235]121      </service>
122    </services>
123    <serviceHostingEnvironment multipleSiteBindingsEnabled="true" />
124  </system.serviceModel>
125  <system.webServer>
[9371]126    <modules runAllManagedModulesForAllRequests="true" />
[8235]127    <defaultDocument>
128      <files>
[9371]129        <clear />
130        <add value="Status.aspx" />
[8235]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    -->
[9371]137    <directoryBrowse enabled="true" />
[8235]138    <handlers>
139      <remove name="ChartImageHandler" />
[9371]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" />
[8235]141    </handlers>
142  </system.webServer>
143</configuration>
Note: See TracBrowser for help on using the repository browser.