Free cookie consent management tool by TermsFeed Policy Generator

source: branches/OKB/HeuristicLab.Services.OKB/3.3/app.config @ 5175

Last change on this file since 5175 was 4548, checked in by swagner, 14 years ago

Worked on OKB (#1174)

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