Free cookie consent management tool by TermsFeed Policy Generator

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

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

#1888:

  • Merged revisions from trunk
File size: 8.5 KB
Line 
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  <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=tcp:r88iv2bpzo.database.windows.net,1433;Database=HeuristicLab.Authentication;User ID=cloudia@r88iv2bpzo;Password=d1fFntitafvX;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=tcp:r88iv2bpzo.database.windows.net,1433;Database=HeuristicLab.Hive-3.3;User ID=cloudia@r88iv2bpzo;Password=d1fFntitafvX;Trusted_Connection=False;Encrypt=True;Connection Timeout=30;" 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"
51          name="AzureDiagnostics">
52          <filter type="" />
53        </add>
54      </listeners>
55    </trace>
56  </system.diagnostics>
57  <system.web>
58    <customErrors mode="Off"/>
59    <authentication mode="Forms" />
60    <compilation debug="true" targetFramework="4.0">
61      <assemblies>
62        <add assembly="System.Web.DataVisualization, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
63      </assemblies>
64    </compilation>
65    <membership>
66      <providers>
67        <clear/>
68        <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"/>
69      </providers>
70    </membership>
71    <roleManager enabled="true">
72      <providers>
73        <clear/>
74        <add name="AspNetSqlRoleProvider" type="System.Web.Security.SqlRoleProvider" connectionStringName="HeuristicLab.Authentication" applicationName="HeuristicLab.Authentication"/>
75      </providers>
76    </roleManager>
77    <pages controlRenderingCompatibilityVersion="3.5" clientIDMode="AutoID">
78      <controls>
79        <add tagPrefix="asp" namespace="System.Web.UI.DataVisualization.Charting"
80         assembly="System.Web.DataVisualization, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />
81      </controls>
82    </pages>
83    <httpRuntime maxRequestLength="1048576"/>
84  </system.web>
85  <system.serviceModel>
86    <diagnostics>
87      <messageLogging logEntireMessage="true" logMalformedMessages="true" logMessagesAtServiceLevel="true" logMessagesAtTransportLevel="true" maxMessagesToLog="3000"/>
88    </diagnostics>
89    <bindings>
90      <wsHttpBinding>
91        <binding name="WSHttpBinding_IHiveService" receiveTimeout="00:10:00" sendTimeout="00:10:00" maxBufferPoolSize="2147483647" maxReceivedMessageSize="2147483647">
92          <readerQuotas maxDepth="2147483647" maxStringContentLength="2147483647" maxArrayLength="2147483647" maxBytesPerRead="2147483647" maxNameTableCharCount="2147483647" />
93          <security mode="Message">
94            <transport clientCredentialType="Certificate"/>
95            <message clientCredentialType="UserName"/>
96          </security>
97        </binding>
98      </wsHttpBinding>
99    </bindings>
100    <behaviors>
101      <serviceBehaviors>
102        <behavior name="ServiceBehaviour_IHiveService">
103          <!-- To avoid disclosing metadata information, set the value below to false and remove the metadata endpoint above before deployment -->
104          <serviceMetadata httpGetEnabled="true" httpsGetEnabled="false"/>
105          <!-- 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 -->
106          <serviceDebug httpHelpPageEnabled="true" includeExceptionDetailInFaults="true"/>
107          <serviceAuthorization principalPermissionMode="UseAspNetRoles" roleProviderName="AspNetSqlRoleProvider"/>
108          <serviceCredentials>
109            <serviceCertificate findValue="localhost" x509FindType="FindBySubjectName"/>
110            <userNameAuthentication userNamePasswordValidationMode="MembershipProvider" membershipProviderName="AspNetSqlMembershipProvider"/>
111          </serviceCredentials>
112          <serviceSecurityAudit auditLogLocation="Application" suppressAuditFailure="false" messageAuthenticationAuditLevel="SuccessOrFailure"/>
113          <serviceThrottling maxConcurrentCalls="100"/>
114          <dataContractSerializer maxItemsInObjectGraph="2147483647"/>
115        </behavior>
116      </serviceBehaviors>
117    </behaviors>
118    <services>
119      <service behaviorConfiguration="ServiceBehaviour_IHiveService" name="HeuristicLab.Services.Hive.HiveService">
120        <endpoint address="mex" binding="mexHttpBinding" bindingConfiguration="" name="MexEndpoint" contract="IMetadataExchange"/>
121        <endpoint binding="wsHttpBinding" bindingConfiguration="WSHttpBinding_IHiveService" name="WSHttpBinding_IHiveService" contract="HeuristicLab.Services.Hive.ServiceContracts.IHiveService"/>
122      </service>
123    </services>
124    <serviceHostingEnvironment multipleSiteBindingsEnabled="true" />
125  </system.serviceModel>
126  <system.webServer>
127    <modules runAllManagedModulesForAllRequests="true"/>
128    <defaultDocument>
129      <files>
130        <clear/>
131        <add value="Status.aspx"/>
132      </files>
133    </defaultDocument>
134    <!--
135        To browse web app root directory during debugging, set the value below to true.
136        Set to false before deployment to avoid disclosing web app folder information.
137    -->
138    <directoryBrowse enabled="true"/>
139    <handlers>
140      <remove name="ChartImageHandler" />
141      <add name="ChartImageHandler" preCondition="integratedMode" verb="GET,HEAD,POST"
142       path="ChartImg.axd" type="System.Web.UI.DataVisualization.Charting.ChartHttpHandler, System.Web.DataVisualization, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />
143    </handlers>
144  </system.webServer>
145</configuration>
Note: See TracBrowser for help on using the repository browser.