Free cookie consent management tool by TermsFeed Policy Generator

source: branches/2870_AutoDiff-nuget/HeuristicLab.Services.Access/3.3/app.config @ 18086

Last change on this file since 18086 was 14748, checked in by jkarder, 8 years ago

#2743: cleaned up

  • updated app configs
  • updated settings
File size: 3.1 KB
Line 
1<?xml version="1.0" encoding="utf-8"?>
2<configuration>
3  <connectionStrings>
4    <add name="HeuristicLab.Authentication" connectionString="Data Source=.\SQLEXPRESS;Integrated Security=SSPI;Initial Catalog=HeuristicLab.Authentication" />
5  </connectionStrings>
6
7  <system.web>
8    <membership defaultProvider="AspNetSqlMembershipProvider">
9      <providers>
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" />
14      </providers>
15    </membership>
16    <roleManager enabled="true" defaultProvider="AspNetSqlRoleProvider">
17      <providers>
18        <clear />
19        <add name="AspNetSqlRoleProvider" type="System.Web.Security.SqlRoleProvider" connectionStringName="HeuristicLab.Authentication" applicationName="HeuristicLab.Authentication" />
20      </providers>
21    </roleManager>
22  </system.web>
23
24  <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>
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>
64  </system.serviceModel>
65
66  <startup>
67    <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5" />
68  </startup>
69</configuration>
Note: See TracBrowser for help on using the repository browser.