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
Location:
trunk/sources/HeuristicLab.Services.Access/3.3
Files:
2 edited
1 moved

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Services.Access/3.3/HeuristicLab.Services.Access-3.3.csproj

    r12479 r14748  
    135135  </ItemGroup>
    136136  <ItemGroup>
    137     <None Include="App.config" />
     137    <None Include="app.config" />
    138138    <None Include="HeuristicLab.snk" />
    139139    <None Include="Properties\AssemblyInfo.cs.frame" />
  • trunk/sources/HeuristicLab.Services.Access/3.3/Web.config

    r8040 r14748  
    1 <?xml version="1.0"?>
     1<?xml version="1.0" encoding="utf-8"?>
    22<configuration>
    33  <connectionStrings>
    4   <add name="HeuristicLab.Authentication" connectionString="data source=localhost;Integrated Security=SSPI;Initial Catalog=HeuristicLab.Authentication"/>
     4    <add name="HeuristicLab.Authentication" connectionString="Data Source=.\SQLEXPRESS;Integrated Security=SSPI;Initial Catalog=HeuristicLab.Authentication" />
    55  </connectionStrings>
     6
    67  <system.web>
    7     <membership defaultProvider="AspNetSqlMembershipProvider" userIsOnlineTimeWindow="20">
     8    <membership defaultProvider="AspNetSqlMembershipProvider">
    89      <providers>
    910        <clear />
    10         <add name="AspNetSqlMemberShipProvider"
    11               type="System.Web.Security.SqlMembershipProvider"
    12               connectionStringName="HeuristicLab.Authentication"
    13               enablePasswordRetrieval="false"
    14               enablePasswordReset="true"
    15               requiresQuestionAndAnswer="false"
    16               passwordFormat="Hashed"
    17               applicationName="HeuristicLab.Authentication"
    18               requiresUniqueEmail="false"
    19               minRequiredPasswordLength="1"
    20               minRequiredNonalphanumericCharacters="0"
    21               maxInvalidPasswordAttempts="50" />
     11        <add name="AspNetSqlMembershipProvider" type="System.Web.Security.SqlMembershipProvider" connectionStringName="HeuristicLab.Authentication"
     12             requiresQuestionAndAnswer="false" passwordFormat="Hashed" applicationName="HeuristicLab.Authentication" minRequiredPasswordLength="8"
     13             minRequiredNonalphanumericCharacters="0" maxInvalidPasswordAttempts="5" />
    2214      </providers>
    2315    </membership>
    24     <authentication mode="Windows" />
    2516    <roleManager enabled="true" defaultProvider="AspNetSqlRoleProvider">
    2617      <providers>
    2718        <clear />
    28         <add name="AspNetSqlRoleProvider" type="System.Web.Security.SqlRoleProvider, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"
    29              connectionStringName="HeuristicLab.Authentication" applicationName="HeuristicLab.Authentication" />
     19        <add name="AspNetSqlRoleProvider" type="System.Web.Security.SqlRoleProvider" connectionStringName="HeuristicLab.Authentication" applicationName="HeuristicLab.Authentication" />
    3020      </providers>
    3121    </roleManager>
    3222  </system.web>
    3323
    34   <!-- When deploying the service library project, the content of the config file must be added to the host's
    35   app.config file. System.Configuration does not support config files for libraries. -->
    3624  <system.serviceModel>
     25    <serviceHostingEnvironment multipleSiteBindingsEnabled="true"/>
     26    <services>
     27      <service behaviorConfiguration="DefaultServiceBehavior" name="HeuristicLab.Services.Access.AccessService">
     28        <endpoint binding="wsHttpBinding" bindingConfiguration="DefaultWsHttpBinding"
     29          contract="HeuristicLab.Services.Access.IAccessService" />
     30        <host>
     31          <baseAddresses>
     32            <add baseAddress="http://localhost:8000/AccessService-3.3/AccessService.svc" />
     33          </baseAddresses>
     34        </host>
     35      </service>
     36    </services>
     37    <behaviors>
     38      <serviceBehaviors>
     39        <behavior name="DefaultServiceBehavior">
     40          <serviceMetadata httpGetEnabled="true" />
     41          <serviceDebug includeExceptionDetailInFaults="true" />
     42          <serviceCredentials>
     43            <serviceCertificate findValue="localhost" x509FindType="FindBySubjectName" />
     44            <userNameAuthentication userNamePasswordValidationMode="MembershipProvider"
     45              membershipProviderName="AspNetSqlMembershipProvider" />
     46          </serviceCredentials>
     47          <serviceAuthorization principalPermissionMode="UseAspNetRoles"
     48            roleProviderName="AspNetSqlRoleProvider" />
     49        </behavior>
     50      </serviceBehaviors>
     51    </behaviors>
    3752    <bindings>
    3853      <wsHttpBinding>
    39         <binding name="DefaultWsHttpBinding" maxBufferPoolSize="10000000" maxReceivedMessageSize="200000000">
    40           <readerQuotas maxDepth="1000" maxStringContentLength="16000" maxArrayLength="200000000" maxBytesPerRead="200000000" maxNameTableCharCount="16000" />
    41           <security mode="Message">
     54        <binding name="DefaultWsHttpBinding" maxBufferPoolSize="2147483647"
     55          maxReceivedMessageSize="2147483647">
     56          <readerQuotas maxDepth="2147483647" maxStringContentLength="2147483647"
     57            maxArrayLength="2147483647" maxBytesPerRead="2147483647" maxNameTableCharCount="2147483647" />
     58          <security>
    4259            <message clientCredentialType="UserName" />
    4360          </security>
    4461        </binding>
    4562      </wsHttpBinding>
    46       <mexHttpBinding>
    47         <binding name="DefaultMexHttpBinding" />
    48       </mexHttpBinding>
    4963    </bindings>
     64  </system.serviceModel>
    5065
    51     <diagnostics performanceCounters="Default">
    52       <!--<messageLogging logMalformedMessages="false" logMessagesAtTransportLevel="false" />-->
    53     </diagnostics>
    54 
    55     <behaviors>
    56       <endpointBehaviors>
    57         <behavior name="DefaultEndpointBehavior">
    58           <dataContractSerializer maxItemsInObjectGraph="1000000" />
    59         </behavior>
    60       </endpointBehaviors>
    61 
    62       <serviceBehaviors>
    63         <behavior name="DefaultServiceBehavior">
    64           <serviceMetadata httpGetEnabled="true" />
    65           <serviceDebug includeExceptionDetailInFaults="true" />
    66           <serviceCredentials>           
    67             <serviceCertificate findValue="services.heuristiclab.com" x509FindType="FindBySubjectName" />
    68             <userNameAuthentication userNamePasswordValidationMode="MembershipProvider" membershipProviderName="AspNetSqlMembershipProvider" />         
    69           </serviceCredentials>
    70           <serviceAuthorization principalPermissionMode="UseAspNetRoles"
    71                                 roleProviderName="AspNetSqlRoleProvider" />
    72         </behavior>
    73       </serviceBehaviors>
    74     </behaviors>
    75 
    76     <services>
    77       <service name="HeuristicLab.Services.Access.AccessService" behaviorConfiguration="DefaultServiceBehavior">
    78         <endpoint address="mex" binding="mexHttpBinding" bindingConfiguration="DefaultMexHttpBinding" contract="IMetadataExchange" />
    79         <endpoint behaviorConfiguration="DefaultEndpointBehavior" binding="wsHttpBinding" bindingConfiguration="DefaultWsHttpBinding"
    80                   contract="HeuristicLab.Services.Access.IAccessService" />       
    81       </service>
    82     </services>
    83   </system.serviceModel>
     66  <startup>
     67    <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5" />
     68  </startup>
    8469</configuration>
  • trunk/sources/HeuristicLab.Services.Access/3.3/app.config

    r14747 r14748  
    1 <?xml version="1.0"?>
     1<?xml version="1.0" encoding="utf-8"?>
    22<configuration>
    33  <connectionStrings>
    4     <add name="HeuristicLab.Authentication" connectionString="Data Source=.;Initial Catalog=HeuristicLab.Authentication;Integrated Security=True" providerName="System.Data.SqlClient"/>
     4    <add name="HeuristicLab.Authentication" connectionString="Data Source=.\SQLEXPRESS;Integrated Security=SSPI;Initial Catalog=HeuristicLab.Authentication" />
    55  </connectionStrings>
     6
    67  <system.web>
    7     <membership defaultProvider="AspNetSqlMembershipProvider" userIsOnlineTimeWindow="20">
     8    <membership defaultProvider="AspNetSqlMembershipProvider">
    89      <providers>
    9         <clear/>
    10         <add name="AspNetSqlMemberShipProvider" type="System.Web.Security.SqlMembershipProvider" connectionStringName="HeuristicLab.Authentication" enablePasswordRetrieval="false" enablePasswordReset="true" requiresQuestionAndAnswer="false" passwordFormat="Hashed" applicationName="HeuristicLab.Authentication" requiresUniqueEmail="false" minRequiredPasswordLength="1" minRequiredNonalphanumericCharacters="0" maxInvalidPasswordAttempts="50"/>
     10        <clear />
     11        <add name="AspNetSqlMembershipProvider" type="System.Web.Security.SqlMembershipProvider" connectionStringName="HeuristicLab.Authentication"
     12             requiresQuestionAndAnswer="false" passwordFormat="Hashed" applicationName="HeuristicLab.Authentication" minRequiredPasswordLength="8"
     13             minRequiredNonalphanumericCharacters="0" maxInvalidPasswordAttempts="5" />
    1114      </providers>
    1215    </membership>
    13     <authentication mode="Windows"/>
    1416    <roleManager enabled="true" defaultProvider="AspNetSqlRoleProvider">
    1517      <providers>
    16         <clear/>
    17         <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"/>
     18        <clear />
     19        <add name="AspNetSqlRoleProvider" type="System.Web.Security.SqlRoleProvider" connectionStringName="HeuristicLab.Authentication" applicationName="HeuristicLab.Authentication" />
    1820      </providers>
    1921    </roleManager>
    2022  </system.web>
    2123
    22   <!-- When deploying the service library project, the content of the config file must be added to the host's
    23   app.config file. System.Configuration does not support config files for libraries. -->
    2424  <system.serviceModel>
    25     <bindings>
    26       <wsHttpBinding>
    27         <binding name="DefaultWsHttpBinding" maxBufferPoolSize="10000000" maxReceivedMessageSize="200000000">
    28           <readerQuotas maxDepth="1000" maxStringContentLength="16000" maxArrayLength="200000000" maxBytesPerRead="200000000" maxNameTableCharCount="16000"/>
    29           <security mode="Message">
    30             <message clientCredentialType="UserName"/>
    31           </security>
    32         </binding>
    33       </wsHttpBinding>
    34       <mexHttpBinding>
    35         <binding name="DefaultMexHttpBinding"/>
    36       </mexHttpBinding>
    37     </bindings>
    38 
    39     <diagnostics performanceCounters="Default">
    40       <!--<messageLogging logMalformedMessages="false" logMessagesAtTransportLevel="false" />-->
    41     </diagnostics>
    42 
    43     <behaviors>
    44       <endpointBehaviors>
    45         <behavior name="DefaultEndpointBehavior">
    46           <dataContractSerializer maxItemsInObjectGraph="1000000"/>
    47         </behavior>
    48       </endpointBehaviors>
    49 
    50       <serviceBehaviors>
    51         <behavior name="DefaultServiceBehavior">
    52           <serviceMetadata httpGetEnabled="true"/>
    53           <serviceDebug includeExceptionDetailInFaults="true"/>
    54           <serviceCredentials>
    55             <serviceCertificate findValue="localhost" storeLocation="LocalMachine" storeName="My" x509FindType="FindBySubjectName"/>
    56             <userNameAuthentication userNamePasswordValidationMode="MembershipProvider" membershipProviderName="AspNetSqlMembershipProvider"/>
    57           </serviceCredentials>
    58           <serviceAuthorization principalPermissionMode="UseAspNetRoles" roleProviderName="AspNetSqlRoleProvider"/>
    59         </behavior>
    60       </serviceBehaviors>
    61     </behaviors>
    62 
     25    <serviceHostingEnvironment multipleSiteBindingsEnabled="true"/>
    6326    <services>
    64       <service name="HeuristicLab.Services.Access.AccessService" behaviorConfiguration="DefaultServiceBehavior">
    65         <endpoint address="mex" binding="mexHttpBinding" bindingConfiguration="DefaultMexHttpBinding" contract="IMetadataExchange"/>
    66         <endpoint behaviorConfiguration="DefaultEndpointBehavior" binding="wsHttpBinding" bindingConfiguration="DefaultWsHttpBinding" contract="HeuristicLab.Services.Access.IAccessService"/>
     27      <service behaviorConfiguration="DefaultServiceBehavior" name="HeuristicLab.Services.Access.AccessService">
     28        <endpoint binding="wsHttpBinding" bindingConfiguration="DefaultWsHttpBinding"
     29          contract="HeuristicLab.Services.Access.IAccessService" />
    6730        <host>
    6831          <baseAddresses>
    69             <add baseAddress="http://localhost:81/AccessService"/>
     32            <add baseAddress="http://localhost:8000/AccessService-3.3/AccessService.svc" />
    7033          </baseAddresses>
    7134        </host>
    7235      </service>
    7336    </services>
     37    <behaviors>
     38      <serviceBehaviors>
     39        <behavior name="DefaultServiceBehavior">
     40          <serviceMetadata httpGetEnabled="true" />
     41          <serviceDebug includeExceptionDetailInFaults="true" />
     42          <serviceCredentials>
     43            <serviceCertificate findValue="localhost" x509FindType="FindBySubjectName" />
     44            <userNameAuthentication userNamePasswordValidationMode="MembershipProvider"
     45              membershipProviderName="AspNetSqlMembershipProvider" />
     46          </serviceCredentials>
     47          <serviceAuthorization principalPermissionMode="UseAspNetRoles"
     48            roleProviderName="AspNetSqlRoleProvider" />
     49        </behavior>
     50      </serviceBehaviors>
     51    </behaviors>
     52    <bindings>
     53      <wsHttpBinding>
     54        <binding name="DefaultWsHttpBinding" maxBufferPoolSize="2147483647"
     55          maxReceivedMessageSize="2147483647">
     56          <readerQuotas maxDepth="2147483647" maxStringContentLength="2147483647"
     57            maxArrayLength="2147483647" maxBytesPerRead="2147483647" maxNameTableCharCount="2147483647" />
     58          <security>
     59            <message clientCredentialType="UserName" />
     60          </security>
     61        </binding>
     62      </wsHttpBinding>
     63    </bindings>
    7464  </system.serviceModel>
    75 <startup><supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5"/></startup></configuration>
     65
     66  <startup>
     67    <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5" />
     68  </startup>
     69</configuration>
Note: See TracChangeset for help on using the changeset viewer.