Free cookie consent management tool by TermsFeed Policy Generator

source: trunk/sources/HeuristicLab.Services.OKB/3.3/app.config @ 4467

Last change on this file since 4467 was 4467, checked in by swagner, 13 years ago

Worked on OKB (#1174)

File size: 7.0 KB
Line 
1<?xml version="1.0"?>
2<configuration>
3  <connectionStrings>
4    <add name="HeuristicLab.Authentication"
5         connectionString="data source=.\SQLEXPRESS;Integrated Security=SSPI;Initial Catalog=HeuristicLab.Authentication" />
6    <add name="HeuristicLab.Services.OKB.DataAccess.Properties.Settings.OKBConnectionString"
7         connectionString="Data Source=.\SQLEXPRESS;Integrated Security=SSPI;Initial Catalog=HeuristicLab.OKB" />
8  </connectionStrings>
9
10  <system.web>
11    <membership>
12      <providers>
13        <clear />
14        <add name="AspNetSqlMembershipProvider" type="System.Web.Security.SqlMembershipProvider" connectionStringName="HeuristicLab.Authentication"
15             enablePasswordRetrieval="false" enablePasswordReset="true" requiresQuestionAndAnswer="false" requiresUniqueEmail="false"
16             maxInvalidPasswordAttempts="5" minRequiredPasswordLength="6" minRequiredNonalphanumericCharacters="0" passwordAttemptWindow="10"
17             applicationName="HeuristicLab.Authentication" />
18      </providers>
19    </membership>
20    <roleManager enabled="true">
21      <providers>
22        <clear />
23        <add name="AspNetSqlRoleProvider" type="System.Web.Security.SqlRoleProvider" connectionStringName="HeuristicLab.Authentication"
24             applicationName="HeuristicLab.Authentication" />
25      </providers>
26    </roleManager>
27  </system.web>
28
29  <system.serviceModel>
30    <bindings>
31      <mexHttpBinding>
32        <binding name="DefaultMexHttpBinding" />
33      </mexHttpBinding>
34      <wsHttpBinding>
35        <binding name="DefaultWsHttpBinding" maxReceivedMessageSize="200000000">
36          <readerQuotas maxArrayLength="200000000" maxBytesPerRead="200000000" />
37          <security mode="Message">
38            <message clientCredentialType="UserName" />
39          </security>
40        </binding>
41      </wsHttpBinding>
42      <netTcpBinding>
43        <binding name="DefaultNetTcpBinding" openTimeout="00:00:30" receiveTimeout="00:00:30" sendTimeout="00:00:30" maxBufferSize="2147483647" maxReceivedMessageSize="2147483647">
44          <security mode="Message">
45            <message clientCredentialType="UserName" />
46          </security>
47          <readerQuotas maxArrayLength="2147483647" />
48          <reliableSession inactivityTimeout="00:00:30" enabled="false" />
49        </binding>
50      </netTcpBinding>
51    </bindings>
52
53    <behaviors>
54      <serviceBehaviors>
55        <behavior name="DefaultServiceBehavior">
56          <serviceMetadata httpGetEnabled="true" />
57          <serviceDebug includeExceptionDetailInFaults="true" />
58          <serviceAuthorization principalPermissionMode="UseAspNetRoles" roleProviderName="AspNetSqlRoleProvider" />
59          <serviceCredentials>
60            <serviceCertificate findValue="localhost" x509FindType="FindBySubjectName" />
61            <userNameAuthentication userNamePasswordValidationMode="MembershipProvider" membershipProviderName="AspNetSqlMembershipProvider" />
62          </serviceCredentials>
63        </behavior>
64      </serviceBehaviors>
65    </behaviors>
66
67    <services>
68      <service name="HeuristicLab.Services.OKB.AdminService" behaviorConfiguration="DefaultServiceBehavior">
69        <endpoint address="mex" binding="mexHttpBinding" bindingConfiguration="DefaultMexHttpBinding" contract="IMetadataExchange" />
70        <endpoint binding="wsHttpBinding" bindingConfiguration="DefaultWsHttpBinding" contract="HeuristicLab.Services.OKB.IAdminService" />
71        <host>
72          <baseAddresses>
73            <add baseAddress="http://localhost:8732/Design_Time_Addresses/OKB-3.3/AdminService" />
74          </baseAddresses>
75        </host>
76      </service>
77
78      <service name="HeuristicLab.Services.OKB.AuthenticationService" behaviorConfiguration="DefaultServiceBehavior">
79        <endpoint address="mex" binding="mexHttpBinding" bindingConfiguration="DefaultMexHttpBinding" contract="IMetadataExchange" />
80        <endpoint binding="wsHttpBinding" bindingConfiguration="DefaultWsHttpBinding" contract="HeuristicLab.Services.OKB.IAuthenticationService" />
81        <host>
82          <baseAddresses>
83            <add baseAddress="http://localhost:8732/Design_Time_Addresses/OKB-3.3/AuthenticationService" />
84          </baseAddresses>
85        </host>
86      </service>
87
88      <service name="HeuristicLab.Services.OKB.TableService" behaviorConfiguration="DefaultServiceBehavior">
89        <endpoint address="mex" binding="mexHttpBinding" bindingConfiguration="DefaultMexHttpBinding" contract="IMetadataExchange" />
90        <endpoint binding="netTcpBinding" bindingConfiguration="DefaultNetTcpBinding" contract="HeuristicLab.Services.OKB.ITableService" />
91        <host>
92          <baseAddresses>
93            <add baseAddress="http://localhost:8732/Design_Time_Addresses/OKB-3.3/TableService" />
94            <add baseAddress="net.tcp://localhost:8733/OKB-3.3/TableService" />
95          </baseAddresses>
96        </host>
97      </service>
98
99      <service name="HeuristicLab.Services.OKB.DataService" behaviorConfiguration="DefaultServiceBehavior">
100        <endpoint address="mex" binding="mexHttpBinding" bindingConfiguration="DefaultMexHttpBinding" contract="IMetadataExchange" />
101        <endpoint binding="netTcpBinding" bindingConfiguration="DefaultNetTcpBinding" contract="HeuristicLab.Services.OKB.IDataService" />
102        <host>
103          <baseAddresses>
104            <add baseAddress="http://localhost:8732/Design_Time_Addresses/OKB-3.3/DataService" />
105            <add baseAddress="net.tcp://localhost:8733/OKB-3.3/DataService" />
106          </baseAddresses>
107        </host>
108      </service>
109
110      <service name="HeuristicLab.Services.OKB.RunnerService" behaviorConfiguration="DefaultServiceBehavior">
111        <endpoint address="mex" binding="mexHttpBinding" bindingConfiguration="DefaultMexHttpBinding" contract="IMetadataExchange" />
112        <endpoint binding="netTcpBinding" bindingConfiguration="DefaultNetTcpBinding" contract="HeuristicLab.Services.OKB.IRunnerService" />
113        <host>
114          <baseAddresses>
115            <add baseAddress="http://localhost:8732/Design_Time_Addresses/OKB-3.3/RunnerService" />
116            <add baseAddress="net.tcp://localhost:8733/OKB-3.3/RunnerService" />
117          </baseAddresses>
118        </host>
119      </service>
120
121      <service name="HeuristicLab.Services.OKB.QueryService" behaviorConfiguration="DefaultServiceBehavior">
122        <endpoint address="mex" binding="mexHttpBinding" bindingConfiguration="DefaultMexHttpBinding" contract="IMetadataExchange" />
123        <endpoint binding="netTcpBinding" bindingConfiguration="DefaultNetTcpBinding" contract="HeuristicLab.Services.OKB.IQueryService" />
124        <host>
125          <baseAddresses>
126            <add baseAddress="http://localhost:8732/Design_Time_Addresses/OKB-3.3/QueryService" />
127            <add baseAddress="net.tcp://localhost:8733/OKB-3.3/QueryService" />
128          </baseAddresses>
129        </host>
130      </service>
131    </services>
132  </system.serviceModel>
133
134  <startup>
135    <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0" />
136  </startup>
137</configuration>
Note: See TracBrowser for help on using the repository browser.