Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
04/17/13 15:04:12 (11 years ago)
Author:
spimming
Message:

#1888:
*Marked necessary configuration steps with ADJUST_ME

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/OaaS/HeuristicLab.Services.Hive.WebRole/Web.config

    r9363 r9371  
    1 <?xml version="1.0"?>
     1<?xml version="1.0" encoding="UTF-8"?>
    22<configuration>
    33  <configSections>
     
    2121  <connectionStrings>
    2222    <!-- <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;" />
     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;" />
    2424    <!-- <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" />
     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" />
    2626  </connectionStrings>
    2727  <!--  To collect diagnostic traces, uncomment the section below or merge with existing system.diagnostics section.
    2828        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>     
     29        To avoid performance degradation, remember to disable tracing on production deployments. 
     30  <system.diagnostics>
    3131    <sharedListeners>
    3232      <add name="AzureLocalStorage" type="HeuristicLab.Services.Hive.WebRole.AzureLocalStorageTraceListener, HeuristicLab.Services.Hive.WebRole"/>
     
    4343        </listeners>
    4444      </source>
    45     </sources> 
    46    </system.diagnostics> -->
     45    </sources>
     46  </system.diagnostics>-->
    4747  <system.diagnostics>
    4848    <trace>
    4949      <listeners>
    50         <add type="Microsoft.WindowsAzure.Diagnostics.DiagnosticMonitorTraceListener, Microsoft.WindowsAzure.Diagnostics, Version=1.7.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"
    51           name="AzureDiagnostics">
     50        <add type="Microsoft.WindowsAzure.Diagnostics.DiagnosticMonitorTraceListener, Microsoft.WindowsAzure.Diagnostics, Version=1.7.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" name="AzureDiagnostics">
    5251          <filter type="" />
    5352        </add>
     
    5655  </system.diagnostics>
    5756  <system.web>
    58     <customErrors mode="Off"/>
     57    <customErrors mode="Off" />
    5958    <authentication mode="Forms" />
    6059    <compilation debug="true" targetFramework="4.0">
    6160      <assemblies>
    62         <add assembly="System.Web.DataVisualization, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
     61        <add assembly="System.Web.DataVisualization, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
    6362      </assemblies>
    6463    </compilation>
    6564    <membership>
    6665      <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"/>
     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" />
    6968      </providers>
    7069    </membership>
    7170    <roleManager enabled="true">
    7271      <providers>
    73         <clear/>
    74         <add name="AspNetSqlRoleProvider" type="System.Web.Security.SqlRoleProvider" connectionStringName="HeuristicLab.Authentication" applicationName="HeuristicLab.Authentication"/>
     72        <clear />
     73        <add name="AspNetSqlRoleProvider" type="System.Web.Security.SqlRoleProvider" connectionStringName="HeuristicLab.Authentication" applicationName="HeuristicLab.Authentication" />
    7574      </providers>
    7675    </roleManager>
    7776    <pages controlRenderingCompatibilityVersion="3.5" clientIDMode="AutoID">
    7877      <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" />
     78        <add tagPrefix="asp" namespace="System.Web.UI.DataVisualization.Charting" assembly="System.Web.DataVisualization, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />
    8179      </controls>
    8280    </pages>
    83     <httpRuntime maxRequestLength="1048576"/>
     81    <httpRuntime maxRequestLength="1048576" />
     82        <machineKey decryption="AES" decryptionKey="F7FA540B4DFD82E5BB196B95D15FF81FC30FFD1954D82285600A0DA6EBCDC9B9" validation="SHA1" validationKey="C30FFD1954D82285600A0DA6EBCDC9B9BE3C4C079DE62168764FF0DCE537184F0535D5D9AD66DEDCC30FFD1954D82285600A0DA6EBCDC9B9BE3C4C0797DC1ABF" />
    8483  </system.web>
    8584  <system.serviceModel>
    8685    <diagnostics>
    87       <messageLogging logEntireMessage="true" logMalformedMessages="true" logMessagesAtServiceLevel="true" logMessagesAtTransportLevel="true" maxMessagesToLog="3000"/>
     86      <messageLogging logEntireMessage="true" logMalformedMessages="true" logMessagesAtServiceLevel="true" logMessagesAtTransportLevel="true" maxMessagesToLog="3000" />
    8887    </diagnostics>
    8988    <bindings>
     
    9291          <readerQuotas maxDepth="2147483647" maxStringContentLength="2147483647" maxArrayLength="2147483647" maxBytesPerRead="2147483647" maxNameTableCharCount="2147483647" />
    9392          <security mode="Message">
    94             <transport clientCredentialType="Certificate"/>
    95             <message clientCredentialType="UserName"/>
     93            <transport clientCredentialType="Certificate" />
     94            <message clientCredentialType="UserName" />
    9695          </security>
    9796        </binding>
     
    102101        <behavior name="ServiceBehaviour_IHiveService">
    103102          <!-- 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"/>
     103          <serviceMetadata httpGetEnabled="true" httpsGetEnabled="false" />
    105104          <!-- 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"/>
     105          <serviceDebug httpHelpPageEnabled="true" includeExceptionDetailInFaults="true" />
     106          <serviceAuthorization principalPermissionMode="UseAspNetRoles" roleProviderName="AspNetSqlRoleProvider" />
    108107          <serviceCredentials>
    109             <serviceCertificate findValue="localhost" x509FindType="FindBySubjectName"/>
    110             <userNameAuthentication userNamePasswordValidationMode="MembershipProvider" membershipProviderName="AspNetSqlMembershipProvider"/>
     108            <serviceCertificate findValue="localhost" x509FindType="FindBySubjectName" />
     109            <userNameAuthentication userNamePasswordValidationMode="MembershipProvider" membershipProviderName="AspNetSqlMembershipProvider" />
    111110          </serviceCredentials>
    112           <serviceSecurityAudit auditLogLocation="Application" suppressAuditFailure="false" messageAuthenticationAuditLevel="SuccessOrFailure"/>
    113           <serviceThrottling maxConcurrentCalls="100"/>
    114           <dataContractSerializer maxItemsInObjectGraph="2147483647"/>
     111          <serviceSecurityAudit auditLogLocation="Application" suppressAuditFailure="false" messageAuthenticationAuditLevel="SuccessOrFailure" />
     112          <serviceThrottling maxConcurrentCalls="100" />
     113          <dataContractSerializer maxItemsInObjectGraph="2147483647" />
    115114        </behavior>
    116115      </serviceBehaviors>
     
    118117    <services>
    119118      <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"/>
     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" />
    122121      </service>
    123122    </services>
     
    125124  </system.serviceModel>
    126125  <system.webServer>
    127     <modules runAllManagedModulesForAllRequests="true"/>
     126    <modules runAllManagedModulesForAllRequests="true" />
    128127    <defaultDocument>
    129128      <files>
    130         <clear/>
    131         <add value="Status.aspx"/>
     129        <clear />
     130        <add value="Status.aspx" />
    132131      </files>
    133132    </defaultDocument>
     
    136135        Set to false before deployment to avoid disclosing web app folder information.
    137136    -->
    138     <directoryBrowse enabled="true"/>
     137    <directoryBrowse enabled="true" />
    139138    <handlers>
    140139      <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" />
     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" />
    143141    </handlers>
    144142  </system.webServer>
Note: See TracChangeset for help on using the changeset viewer.