Free cookie consent management tool by TermsFeed Policy Generator

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

Last change on this file since 7317 was 5295, 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          <dataContractSerializer maxItemsInObjectGraph="6553600" />
65        </behavior>
66      </serviceBehaviors>
67    </behaviors>
68
69    <services>
70      <service name="HeuristicLab.Services.OKB.OKBService" behaviorConfiguration="DefaultServiceBehavior">
71        <endpoint address="mex" binding="mexHttpBinding" bindingConfiguration="DefaultMexHttpBinding" contract="IMetadataExchange" />
72        <endpoint binding="wsHttpBinding" bindingConfiguration="DefaultWsHttpBinding" contract="HeuristicLab.Services.OKB.IOKBService" />
73        <host>
74          <baseAddresses>
75            <add baseAddress="http://localhost:8732/Design_Time_Addresses/OKB-3.3/OKBService" />
76          </baseAddresses>
77        </host>
78      </service>
79
80      <service name="HeuristicLab.Services.OKB.AuthenticationService" behaviorConfiguration="DefaultServiceBehavior">
81        <endpoint address="mex" binding="mexHttpBinding" bindingConfiguration="DefaultMexHttpBinding" contract="IMetadataExchange" />
82        <endpoint binding="wsHttpBinding" bindingConfiguration="DefaultWsHttpBinding" contract="HeuristicLab.Services.OKB.IAuthenticationService" />
83        <host>
84          <baseAddresses>
85            <add baseAddress="http://localhost:8732/Design_Time_Addresses/OKB-3.3/AuthenticationService" />
86          </baseAddresses>
87        </host>
88      </service>
89
90      <service name="HeuristicLab.Services.OKB.TableService" behaviorConfiguration="DefaultServiceBehavior">
91        <endpoint address="mex" binding="mexHttpBinding" bindingConfiguration="DefaultMexHttpBinding" contract="IMetadataExchange" />
92        <endpoint binding="netTcpBinding" bindingConfiguration="DefaultNetTcpBinding" contract="HeuristicLab.Services.OKB.ITableService" />
93        <host>
94          <baseAddresses>
95            <add baseAddress="http://localhost:8732/Design_Time_Addresses/OKB-3.3/TableService" />
96            <add baseAddress="net.tcp://localhost:8733/OKB-3.3/TableService" />
97          </baseAddresses>
98        </host>
99      </service>
100
101      <service name="HeuristicLab.Services.OKB.DataService" behaviorConfiguration="DefaultServiceBehavior">
102        <endpoint address="mex" binding="mexHttpBinding" bindingConfiguration="DefaultMexHttpBinding" contract="IMetadataExchange" />
103        <endpoint binding="netTcpBinding" bindingConfiguration="DefaultNetTcpBinding" contract="HeuristicLab.Services.OKB.IDataService" />
104        <host>
105          <baseAddresses>
106            <add baseAddress="http://localhost:8732/Design_Time_Addresses/OKB-3.3/DataService" />
107            <add baseAddress="net.tcp://localhost:8733/OKB-3.3/DataService" />
108          </baseAddresses>
109        </host>
110      </service>
111
112      <service name="HeuristicLab.Services.OKB.RunnerService" behaviorConfiguration="DefaultServiceBehavior">
113        <endpoint address="mex" binding="mexHttpBinding" bindingConfiguration="DefaultMexHttpBinding" contract="IMetadataExchange" />
114        <endpoint binding="netTcpBinding" bindingConfiguration="DefaultNetTcpBinding" contract="HeuristicLab.Services.OKB.IRunnerService" />
115        <host>
116          <baseAddresses>
117            <add baseAddress="http://localhost:8732/Design_Time_Addresses/OKB-3.3/RunnerService" />
118            <add baseAddress="net.tcp://localhost:8733/OKB-3.3/RunnerService" />
119          </baseAddresses>
120        </host>
121      </service>
122
123      <service name="HeuristicLab.Services.OKB.QueryService" behaviorConfiguration="DefaultServiceBehavior">
124        <endpoint address="mex" binding="mexHttpBinding" bindingConfiguration="DefaultMexHttpBinding" contract="IMetadataExchange" />
125        <endpoint binding="netTcpBinding" bindingConfiguration="DefaultNetTcpBinding" contract="HeuristicLab.Services.OKB.IQueryService" />
126        <host>
127          <baseAddresses>
128            <add baseAddress="http://localhost:8732/Design_Time_Addresses/OKB-3.3/QueryService" />
129            <add baseAddress="net.tcp://localhost:8733/OKB-3.3/QueryService" />
130          </baseAddresses>
131        </host>
132      </service>
133    </services>
134  </system.serviceModel>
135
136  <startup>
137    <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0" />
138  </startup>
139</configuration>
Note: See TracBrowser for help on using the repository browser.