Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
03/14/17 11:29:11 (7 years ago)
Author:
jkarder
Message:

#2743: cleaned up

  • updated app configs
  • updated settings
File:
1 moved

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Services.Deployment/3.3/app.config

    r14747 r14748  
    11<?xml version="1.0" encoding="utf-8"?>
    22<configuration>
    3   <system.diagnostics>
    4     <!-- for logging. Make sure the IIS application user has write access rights for the output directory -->
    5     <!--sources>
    6       <source name="System.ServiceModel.MessageLogging" switchValue="Warning, ActivityTracing">
    7         <listeners>
    8           <add type="System.Diagnostics.DefaultTraceListener" name="Default">
    9             <filter type="" />
    10           </add>
    11           <add name="ServiceModelMessageLoggingListener">
    12             <filter type="" />
    13           </add>
    14         </listeners>
    15       </source>
    16       <source name="System.ServiceModel" switchValue="Warning, ActivityTracing"
    17         propagateActivity="true">
    18         <listeners>
    19           <add type="System.Diagnostics.DefaultTraceListener" name="Default">
    20             <filter type="" />
    21           </add>
    22           <add name="ServiceModelTraceListener">
    23             <filter type="" />
    24           </add>
    25         </listeners>
    26       </source>
    27     </sources>
    28     <sharedListeners>
    29       <add initializeData="C:\inetpub\wwwroot\services.heuristiclab.com\Deployment-3.3\web_messages.svclog"
    30         type="System.Diagnostics.XmlWriterTraceListener, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"
    31         name="ServiceModelMessageLoggingListener" traceOutputOptions="Timestamp">
    32         <filter type="" />
    33       </add>
    34       <add initializeData="C:\inetpub\wwwroot\services.heuristiclab.com\Deployment-3.3\web_tracelog.svclog"
    35         type="System.Diagnostics.XmlWriterTraceListener, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"
    36         name="ServiceModelTraceListener" traceOutputOptions="Timestamp">
    37         <filter type="" />
    38       </add>
    39     </sharedListeners-->
    40   </system.diagnostics>
    41 
    423  <connectionStrings>
    43     <add name="HeuristicLab.Authentication" connectionString="data source=.\SQLEXPRESS;Integrated Security=SSPI;Initial Catalog=HeuristicLab.Authentication"/>
     4    <add name="HeuristicLab.Authentication" connectionString="Data Source=.\SQLEXPRESS;Integrated Security=SSPI;Initial Catalog=HeuristicLab.Authentication" />
    445    <add name="HeuristicLab.Services.Deployment.DataAccess.Properties.Settings.HeuristicLab_DeploymentConnectionString" connectionString="Data Source=.\SQLEXPRESS;Integrated Security=SSPI;Initial Catalog=HeuristicLab.Deployment"/>
    456  </connectionStrings>
     
    5415
    5516  <system.web>
    56     <compilation debug="true"/>
     17    <compilation debug="true" />
    5718    <httpRuntime maxRequestLength="2097151"/>
    5819    <membership defaultProvider="AspNetSqlMembershipProvider">
    5920      <providers>
    60         <clear/>
    61         <add name="AspNetSqlMemberShipProvider" type="System.Web.Security.SqlMembershipProvider, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" connectionStringName="HeuristicLab.Authentication" applicationName="HeuristicLab.Authentication" enablePasswordReset="false" enablePasswordRetrieval="false" passwordFormat="Hashed" requiresQuestionAndAnswer="false" requiresUniqueEmail="false" minRequiredNonalphanumericCharacters="0" minRequiredPasswordLength="8"/>
     21        <clear />
     22        <add name="AspNetSqlMembershipProvider" type="System.Web.Security.SqlMembershipProvider" connectionStringName="HeuristicLab.Authentication"
     23             requiresQuestionAndAnswer="false" passwordFormat="Hashed" applicationName="HeuristicLab.Authentication" minRequiredPasswordLength="8"
     24             minRequiredNonalphanumericCharacters="0" maxInvalidPasswordAttempts="5" />
    6225      </providers>
    6326    </membership>
    64     <authentication mode="Windows"/>
    6527    <roleManager enabled="true" defaultProvider="AspNetSqlRoleProvider">
    6628      <providers>
    67         <clear/>
    68         <add name="AspNetSqlRoleProvider" type="System.Web.Security.SqlRoleProvider, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" connectionStringName="HeuristicLab.Authentication" applicationName="HeuristicLab.Authentication"/>
     29        <clear />
     30        <add name="AspNetSqlRoleProvider" type="System.Web.Security.SqlRoleProvider" connectionStringName="HeuristicLab.Authentication" applicationName="HeuristicLab.Authentication" />
    6931      </providers>
    7032    </roleManager>
    7133  </system.web>
    7234
    73   <!-- When deploying the service library project, the content of the config file must be added to the host's
    74   app.config file. System.Configuration does not support config files for libraries. -->
    7535  <system.serviceModel>
    76     <bindings>
    77       <wsHttpBinding>
    78         <binding name="DefaultWsHttpBinding" maxBufferPoolSize="10000000" maxReceivedMessageSize="200000000">
    79           <readerQuotas maxDepth="1000" maxStringContentLength="200000000" maxArrayLength="200000000" maxBytesPerRead="200000000" maxNameTableCharCount="16000"/>
    80           <security mode="Message">
    81             <message clientCredentialType="UserName"/>
    82           </security>
    83         </binding>
    84       </wsHttpBinding>
    85       <mexHttpBinding>
    86         <binding name="DefaultMexHttpBinding"/>
    87       </mexHttpBinding>
    88     </bindings>
    89 
    90     <diagnostics performanceCounters="Default">
    91       <!--<messageLogging logMalformedMessages="false" logMessagesAtTransportLevel="false" />-->
    92     </diagnostics>
    93 
    94     <behaviors>
    95       <endpointBehaviors>
    96         <behavior name="DefaultEndpointBehavior">
    97           <dataContractSerializer maxItemsInObjectGraph="1000000"/>
    98         </behavior>
    99       </endpointBehaviors>
    100 
    101       <serviceBehaviors>
    102         <behavior name="DefaultServiceBehavior">
    103           <serviceMetadata httpGetEnabled="true"/>
    104           <serviceDebug includeExceptionDetailInFaults="true"/>
    105           <serviceCredentials>
    106             <serviceCertificate findValue="localhost" storeLocation="LocalMachine" storeName="My" x509FindType="FindBySubjectName"/>
    107             <userNameAuthentication userNamePasswordValidationMode="MembershipProvider" membershipProviderName="AspNetSqlMembershipProvider"/>
    108           </serviceCredentials>
    109           <serviceAuthorization principalPermissionMode="UseAspNetRoles" roleProviderName="AspNetSqlRoleProvider"/>
    110         </behavior>
    111       </serviceBehaviors>
    112     </behaviors>
    113 
    11436    <services>
    115       <service name="HeuristicLab.Services.Deployment.UpdateService" behaviorConfiguration="DefaultServiceBehavior">
    116         <endpoint address="mex" binding="mexHttpBinding" bindingConfiguration="DefaultMexHttpBinding" contract="IMetadataExchange"/>
    117         <endpoint behaviorConfiguration="DefaultEndpointBehavior" binding="wsHttpBinding" bindingConfiguration="DefaultWsHttpBinding" contract="HeuristicLab.Services.Deployment.IUpdateService"/>
     37      <service behaviorConfiguration="DefaultServiceBehavior" name="HeuristicLab.Services.Deployment.AdminService">
     38        <endpoint binding="wsHttpBinding" bindingConfiguration="DefaultWsHttpBinding"
     39          contract="HeuristicLab.Services.Deployment.IAdminService"/>
    11840        <host>
    11941          <baseAddresses>
    120             <add baseAddress="http://localhost:8732/Design_Time_Addresses/Deployment-3.3/UpdateService"/>
     42            <add baseAddress="http://localhost:8000/Deployment-3.3/AdminService.svc"/>
    12143          </baseAddresses>
    12244        </host>
    12345      </service>
    124 
    125       <service name="HeuristicLab.Services.Deployment.AdminService" behaviorConfiguration="DefaultServiceBehavior">
    126         <endpoint address="mex" binding="mexHttpBinding" bindingConfiguration="DefaultMexHttpBinding" contract="IMetadataExchange"/>
    127         <endpoint behaviorConfiguration="DefaultEndpointBehavior" binding="wsHttpBinding" bindingConfiguration="DefaultWsHttpBinding" contract="HeuristicLab.Services.Deployment.IAdminService"/>
     46      <service behaviorConfiguration="DefaultServiceBehavior" name="HeuristicLab.Services.Deployment.UpdateService">
     47        <endpoint binding="wsHttpBinding" bindingConfiguration="DefaultWsHttpBinding"
     48          contract="HeuristicLab.Services.Deployment.IUpdateService"/>
    12849        <host>
    12950          <baseAddresses>
    130             <add baseAddress="http://localhost:8732/Design_Time_Addresses/Deployment-3.3/AdminService"/>
     51            <add baseAddress="http://localhost:8000/Deployment-3.3/UpdateService.svc"/>
    13152          </baseAddresses>
    13253        </host>
    13354      </service>
    13455    </services>
     56    <behaviors>
     57      <serviceBehaviors>
     58        <behavior name="DefaultServiceBehavior">
     59          <serviceMetadata httpGetEnabled="true" />
     60          <serviceDebug includeExceptionDetailInFaults="true" />
     61          <serviceCredentials>
     62            <serviceCertificate findValue="localhost" x509FindType="FindBySubjectName" />
     63            <userNameAuthentication userNamePasswordValidationMode="MembershipProvider"
     64              membershipProviderName="AspNetSqlMembershipProvider" />
     65          </serviceCredentials>
     66          <serviceAuthorization principalPermissionMode="UseAspNetRoles"
     67            roleProviderName="AspNetSqlRoleProvider" />
     68        </behavior>
     69      </serviceBehaviors>
     70    </behaviors>
     71    <bindings>
     72      <wsHttpBinding>
     73        <binding name="DefaultWsHttpBinding" maxBufferPoolSize="2147483647"
     74          maxReceivedMessageSize="2147483647">
     75          <readerQuotas maxDepth="2147483647" maxStringContentLength="2147483647"
     76            maxArrayLength="2147483647" maxBytesPerRead="2147483647" maxNameTableCharCount="2147483647" />
     77          <security>
     78            <message clientCredentialType="UserName" />
     79          </security>
     80        </binding>
     81      </wsHttpBinding>
     82    </bindings>
    13583  </system.serviceModel>
    136 <startup><supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5"/></startup></configuration>
     84
     85  <startup>
     86    <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5" />
     87  </startup>
     88</configuration>
Note: See TracChangeset for help on using the changeset viewer.