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.OKB/3.3/Web.config

    r14747 r14748  
    1 <?xml version="1.0"?>
     1<?xml version="1.0" encoding="utf-8"?>
    22<configuration>
    33  <connectionStrings>
    4     <clear />
    5     <add name="HeuristicLab.Authentication"
    6            connectionString="data source=.;Integrated Security=SSPI;Initial Catalog=HeuristicLab.Authentication" />
    7     <add name="HeuristicLab.Services.OKB.DataAccess.Properties.Settings.OKBConnectionString"
    8          connectionString="Data Source=.;Integrated Security=SSPI;Initial Catalog=HeuristicLab.OKB" />
     4    <add name="HeuristicLab.Authentication" connectionString="Data Source=.\SQLEXPRESS;Integrated Security=SSPI;Initial Catalog=HeuristicLab.Authentication"/>
     5    <add name="HeuristicLab.Services.OKB.DataAccess.Properties.Settings.OKBConnectionString" connectionString="Data Source=.\SQLEXPRESS;Integrated Security=SSPI;Initial Catalog=HeuristicLab.OKB"/>
    96  </connectionStrings>
    107
    118  <system.web>
    129    <authentication mode="Forms" />
    13     <compilation debug="true" targetFramework="4.0" />
    14     <customErrors mode="Off"/>
    15     <membership>
     10    <compilation debug="true" targetFramework="4.5" />
     11    <customErrors mode="Off" />
     12    <membership defaultProvider="AspNetSqlMembershipProvider">
    1613      <providers>
    1714        <clear />
    1815        <add name="AspNetSqlMembershipProvider" type="System.Web.Security.SqlMembershipProvider" connectionStringName="HeuristicLab.Authentication"
    19              enablePasswordRetrieval="false" enablePasswordReset="true" requiresQuestionAndAnswer="false" requiresUniqueEmail="false"
    20              maxInvalidPasswordAttempts="5" minRequiredPasswordLength="6" minRequiredNonalphanumericCharacters="0" passwordAttemptWindow="10"
    21              applicationName="HeuristicLab.Authentication" />
     16             requiresQuestionAndAnswer="false" requiresUniqueEmail="false" applicationName="HeuristicLab.Authentication" minRequiredPasswordLength="8"
     17             minRequiredNonalphanumericCharacters="0" maxInvalidPasswordAttempts="5" />
    2218      </providers>
    2319    </membership>
    24     <roleManager enabled="true">
     20    <roleManager enabled="true" defaultProvider="AspNetSqlRoleProvider">
    2521      <providers>
    2622        <clear />
    27         <add name="AspNetSqlRoleProvider" type="System.Web.Security.SqlRoleProvider" connectionStringName="HeuristicLab.Authentication"
    28              applicationName="HeuristicLab.Authentication" />
     23        <add name="AspNetSqlRoleProvider" type="System.Web.Security.SqlRoleProvider" connectionStringName="HeuristicLab.Authentication" applicationName="HeuristicLab.Authentication" />
    2924      </providers>
    3025    </roleManager>
     
    3227
    3328  <system.serviceModel>
     29    <serviceHostingEnvironment multipleSiteBindingsEnabled="true"/>
     30    <services>
     31      <service behaviorConfiguration="DefaultServiceBehavior" name="HeuristicLab.Services.OKB.Administration.AdministrationService">
     32        <endpoint binding="wsHttpBinding" bindingConfiguration="DefaultWsHttpBinding"
     33          contract="HeuristicLab.Services.OKB.Administration.IAdministrationService" />
     34        <host>
     35          <baseAddresses>
     36            <add baseAddress="http://localhost:8000/OKB-3.3/AdministrationService.svc" />
     37          </baseAddresses>
     38        </host>
     39      </service>
     40      <service behaviorConfiguration="DefaultServiceBehavior" name="HeuristicLab.Services.OKB.Query.QueryService">
     41        <endpoint binding="wsHttpBinding" bindingConfiguration="DefaultWsHttpBinding"
     42          name="WSHttpBinding_IQueryService" contract="HeuristicLab.Services.OKB.Query.IQueryService" />
     43        <endpoint address="net.tcp://localhost:8001/OKB-3.3/QueryService.svc"
     44          binding="netTcpBinding" bindingConfiguration="DefaultNetBinding"
     45          name="NetBinding_IQueryService" contract="HeuristicLab.Services.OKB.Query.IQueryService" />
     46        <host>
     47          <baseAddresses>
     48            <add baseAddress="http://localhost:8000/OKB-3.3/QueryService.svc" />
     49          </baseAddresses>
     50        </host>
     51      </service>
     52      <service behaviorConfiguration="DefaultServiceBehavior" name="HeuristicLab.Services.OKB.RunCreation.RunCreationService">
     53        <endpoint binding="wsHttpBinding" bindingConfiguration="DefaultWsHttpBinding"
     54          contract="HeuristicLab.Services.OKB.RunCreation.IRunCreationService" />
     55        <host>
     56          <baseAddresses>
     57            <add baseAddress="http://localhost:8000/OKB-3.3/RunCreationService.svc" />
     58          </baseAddresses>
     59        </host>
     60      </service>
     61    </services>
    3462    <bindings>
    35       <mexHttpBinding>
    36         <binding name="DefaultMexHttpBinding" />
    37       </mexHttpBinding>
     63      <netTcpBinding>
     64        <binding name="DefaultNetBinding" receiveTimeout="00:20:00"
     65          sendTimeout="00:20:00" maxBufferPoolSize="2147483647" maxBufferSize="2147483647"
     66          maxReceivedMessageSize="2147483647" portSharingEnabled="true">
     67          <readerQuotas maxDepth="2147483647" maxStringContentLength="2147483647"
     68            maxArrayLength="2147483647" maxBytesPerRead="2147483647" maxNameTableCharCount="2147483647" />
     69          <security mode="TransportWithMessageCredential">
     70            <message clientCredentialType="UserName" />
     71          </security>
     72        </binding>
     73      </netTcpBinding>
    3874      <wsHttpBinding>
    39         <binding name="DefaultWsHttpBinding" maxReceivedMessageSize="200000000">
    40           <readerQuotas maxArrayLength="200000000" maxBytesPerRead="200000000" />
    41           <security mode="Message">
     75        <binding name="DefaultWsHttpBinding" maxBufferPoolSize="2147483647"
     76          maxReceivedMessageSize="2147483647">
     77          <readerQuotas maxDepth="2147483647" maxStringContentLength="2147483647"
     78            maxArrayLength="2147483647" maxBytesPerRead="2147483647" maxNameTableCharCount="2147483647" />
     79          <security>
    4280            <message clientCredentialType="UserName" />
    4381          </security>
     
    4583      </wsHttpBinding>
    4684    </bindings>
    47 
    4885    <behaviors>
    4986      <serviceBehaviors>
     
    5188          <serviceMetadata httpGetEnabled="true" />
    5289          <serviceDebug includeExceptionDetailInFaults="true" />
    53           <serviceAuthorization principalPermissionMode="UseAspNetRoles" roleProviderName="AspNetSqlRoleProvider" />
     90          <serviceAuthorization principalPermissionMode="UseAspNetRoles"
     91            roleProviderName="AspNetSqlRoleProvider" />
    5492          <serviceCredentials>
    55             <serviceCertificate findValue="services.heuristiclab.com" x509FindType="FindBySubjectName" />
    56             <userNameAuthentication userNamePasswordValidationMode="MembershipProvider" membershipProviderName="AspNetSqlMembershipProvider" />
     93            <serviceCertificate findValue="localhost" x509FindType="FindBySubjectName" />
     94            <userNameAuthentication userNamePasswordValidationMode="MembershipProvider"
     95              membershipProviderName="AspNetSqlMembershipProvider" />
    5796          </serviceCredentials>
    5897        </behavior>
    5998      </serviceBehaviors>
    6099    </behaviors>
    61 
    62     <services>
    63 
    64       <service name="HeuristicLab.Services.OKB.Administration.AdministrationService" behaviorConfiguration="DefaultServiceBehavior">
    65         <endpoint address="mex" binding="mexHttpBinding" bindingConfiguration="DefaultMexHttpBinding" contract="IMetadataExchange" listenUriMode="Explicit" />
    66         <endpoint binding="wsHttpBinding" bindingConfiguration="DefaultWsHttpBinding" contract="HeuristicLab.Services.OKB.Administration.IAdministrationService" listenUriMode="Explicit" />
    67       </service>
    68 
    69       <service name="HeuristicLab.Services.OKB.RunCreation.RunCreationService" behaviorConfiguration="DefaultServiceBehavior">
    70         <endpoint address="mex" binding="mexHttpBinding" bindingConfiguration="DefaultMexHttpBinding" contract="IMetadataExchange" listenUriMode="Explicit" />
    71         <endpoint binding="wsHttpBinding" bindingConfiguration="DefaultWsHttpBinding" contract="HeuristicLab.Services.OKB.RunCreation.IRunCreationService" listenUriMode="Explicit" />
    72       </service>
    73 
    74       <service name="HeuristicLab.Services.OKB.Query.QueryService" behaviorConfiguration="DefaultServiceBehavior">
    75         <endpoint address="mex" binding="mexHttpBinding" bindingConfiguration="DefaultMexHttpBinding" contract="IMetadataExchange" listenUriMode="Explicit" />
    76         <endpoint binding="wsHttpBinding" bindingConfiguration="DefaultWsHttpBinding" contract="HeuristicLab.Services.OKB.Query.IQueryService" listenUriMode="Explicit" />
    77       </service>
    78 
    79     </services>
    80 
    81     <serviceHostingEnvironment multipleSiteBindingsEnabled="true" />
    82100  </system.serviceModel>
    83101
    84   <system.webServer>
    85     <modules runAllManagedModulesForAllRequests="true" />
    86   </system.webServer>
    87 
    88102  <startup>
    89     <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0" />
     103    <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5"/>
    90104  </startup>
    91105</configuration>
Note: See TracChangeset for help on using the changeset viewer.