Free cookie consent management tool by TermsFeed Policy Generator

source: branches/2898_GeneralizedAdditiveModels/HeuristicLab.Services.OKB/3.3/Web.config @ 17456

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

#2743: cleaned up

  • updated app configs
  • updated settings
File size: 5.3 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    <add name="HeuristicLab.Services.OKB.DataAccess.Properties.Settings.OKBConnectionString" connectionString="Data Source=.\SQLEXPRESS;Integrated Security=SSPI;Initial Catalog=HeuristicLab.OKB"/>
6  </connectionStrings>
7
8  <system.web>
9    <authentication mode="Forms" />
10    <compilation debug="true" targetFramework="4.5" />
11    <customErrors mode="Off" />
12    <membership defaultProvider="AspNetSqlMembershipProvider">
13      <providers>
14        <clear />
15        <add name="AspNetSqlMembershipProvider" type="System.Web.Security.SqlMembershipProvider" connectionStringName="HeuristicLab.Authentication"
16             requiresQuestionAndAnswer="false" requiresUniqueEmail="false" applicationName="HeuristicLab.Authentication" minRequiredPasswordLength="8"
17             minRequiredNonalphanumericCharacters="0" maxInvalidPasswordAttempts="5" />
18      </providers>
19    </membership>
20    <roleManager enabled="true" defaultProvider="AspNetSqlRoleProvider">
21      <providers>
22        <clear />
23        <add name="AspNetSqlRoleProvider" type="System.Web.Security.SqlRoleProvider" connectionStringName="HeuristicLab.Authentication" applicationName="HeuristicLab.Authentication" />
24      </providers>
25    </roleManager>
26  </system.web>
27
28  <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>
62    <bindings>
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>
74      <wsHttpBinding>
75        <binding name="DefaultWsHttpBinding" maxBufferPoolSize="2147483647"
76          maxReceivedMessageSize="2147483647">
77          <readerQuotas maxDepth="2147483647" maxStringContentLength="2147483647"
78            maxArrayLength="2147483647" maxBytesPerRead="2147483647" maxNameTableCharCount="2147483647" />
79          <security>
80            <message clientCredentialType="UserName" />
81          </security>
82        </binding>
83      </wsHttpBinding>
84    </bindings>
85    <behaviors>
86      <serviceBehaviors>
87        <behavior name="DefaultServiceBehavior">
88          <serviceMetadata httpGetEnabled="true" />
89          <serviceDebug includeExceptionDetailInFaults="true" />
90          <serviceAuthorization principalPermissionMode="UseAspNetRoles"
91            roleProviderName="AspNetSqlRoleProvider" />
92          <serviceCredentials>
93            <serviceCertificate findValue="localhost" x509FindType="FindBySubjectName" />
94            <userNameAuthentication userNamePasswordValidationMode="MembershipProvider"
95              membershipProviderName="AspNetSqlMembershipProvider" />
96          </serviceCredentials>
97        </behavior>
98      </serviceBehaviors>
99    </behaviors>
100  </system.serviceModel>
101
102  <startup>
103    <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5"/>
104  </startup>
105</configuration>
Note: See TracBrowser for help on using the repository browser.