Free cookie consent management tool by TermsFeed Policy Generator

source: branches/DataPreprocessing/HeuristicLab.Services.Deployment/3.3/App.config @ 10143

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

Increased maxStringContentLength in deployment services (#1742)

File size: 7.1 KB
Line 
1<?xml version="1.0" encoding="utf-8"?>
2<configuration>
3  <system.diagnostics>
4    <!-- for logging. Make sure the IIS application user has write access rights for the output directory -->
5    <!--sources>
6      <source name="System.ServiceModel.MessageLogging" switchValue="Warning, ActivityTracing">
7        <listeners>
8          <add type="System.Diagnostics.DefaultTraceListener" name="Default">
9            <filter type="" />
10          </add>
11          <add name="ServiceModelMessageLoggingListener">
12            <filter type="" />
13          </add>
14        </listeners>
15      </source>
16      <source name="System.ServiceModel" switchValue="Warning, ActivityTracing"
17        propagateActivity="true">
18        <listeners>
19          <add type="System.Diagnostics.DefaultTraceListener" name="Default">
20            <filter type="" />
21          </add>
22          <add name="ServiceModelTraceListener">
23            <filter type="" />
24          </add>
25        </listeners>
26      </source>
27    </sources>
28    <sharedListeners>
29      <add initializeData="C:\inetpub\wwwroot\services.heuristiclab.com\Deployment-3.3\web_messages.svclog"
30        type="System.Diagnostics.XmlWriterTraceListener, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"
31        name="ServiceModelMessageLoggingListener" traceOutputOptions="Timestamp">
32        <filter type="" />
33      </add>
34      <add initializeData="C:\inetpub\wwwroot\services.heuristiclab.com\Deployment-3.3\web_tracelog.svclog"
35        type="System.Diagnostics.XmlWriterTraceListener, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"
36        name="ServiceModelTraceListener" traceOutputOptions="Timestamp">
37        <filter type="" />
38      </add>
39    </sharedListeners-->
40  </system.diagnostics>
41
42  <connectionStrings>
43    <add name="HeuristicLab.Authentication"
44         connectionString="data source=.\SQLEXPRESS;Integrated Security=SSPI;Initial Catalog=HeuristicLab.Authentication" />
45    <add name="HeuristicLab.Services.Deployment.DataAccess.Properties.Settings.HeuristicLab_DeploymentConnectionString"
46         connectionString="Data Source=.\SQLEXPRESS;Integrated Security=SSPI;Initial Catalog=HeuristicLab.Deployment" />
47  </connectionStrings>
48
49  <system.webServer>
50    <security>
51      <requestFiltering>
52        <requestLimits maxAllowedContentLength="100000000"/>
53      </requestFiltering>
54    </security>
55  </system.webServer>
56
57  <system.web>
58    <compilation debug="true" />
59    <httpRuntime maxRequestLength="2097151" />
60    <membership defaultProvider="AspNetSqlMembershipProvider">
61      <providers>
62        <clear />
63        <add name="AspNetSqlMemberShipProvider" type="System.Web.Security.SqlMembershipProvider, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"
64             connectionStringName="HeuristicLab.Authentication" applicationName="HeuristicLab.Authentication" enablePasswordReset="false"
65             enablePasswordRetrieval="false" passwordFormat="Hashed" requiresQuestionAndAnswer="false" requiresUniqueEmail="false"
66             minRequiredNonalphanumericCharacters="0" minRequiredPasswordLength="8" />
67      </providers>
68    </membership>
69    <authentication mode="Windows" />
70    <roleManager enabled="true" defaultProvider="AspNetSqlRoleProvider">
71      <providers>
72        <clear />
73        <add name="AspNetSqlRoleProvider" type="System.Web.Security.SqlRoleProvider, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"
74             connectionStringName="HeuristicLab.Authentication" applicationName="HeuristicLab.Authentication" />
75      </providers>
76    </roleManager>
77  </system.web>
78
79  <!-- When deploying the service library project, the content of the config file must be added to the host's
80  app.config file. System.Configuration does not support config files for libraries. -->
81  <system.serviceModel>
82    <bindings>
83      <wsHttpBinding>
84        <binding name="DefaultWsHttpBinding" maxBufferPoolSize="10000000" maxReceivedMessageSize="200000000">
85          <readerQuotas maxDepth="1000" maxStringContentLength="200000000" maxArrayLength="200000000" maxBytesPerRead="200000000" maxNameTableCharCount="16000" />
86          <security mode="Message">
87            <message clientCredentialType="UserName" />
88          </security>
89        </binding>
90      </wsHttpBinding>
91      <mexHttpBinding>
92        <binding name="DefaultMexHttpBinding" />
93      </mexHttpBinding>
94    </bindings>
95
96    <diagnostics performanceCounters="Default">
97      <!--<messageLogging logMalformedMessages="false" logMessagesAtTransportLevel="false" />-->
98    </diagnostics>
99
100    <behaviors>
101      <endpointBehaviors>
102        <behavior name="DefaultEndpointBehavior">
103          <dataContractSerializer maxItemsInObjectGraph="1000000" />
104        </behavior>
105      </endpointBehaviors>
106
107      <serviceBehaviors>
108        <behavior name="DefaultServiceBehavior">
109          <serviceMetadata httpGetEnabled="true" />
110          <serviceDebug includeExceptionDetailInFaults="true" />
111          <serviceCredentials>
112            <serviceCertificate findValue="localhost" storeLocation="LocalMachine"
113                                storeName="My" x509FindType="FindBySubjectName" />
114            <userNameAuthentication userNamePasswordValidationMode="MembershipProvider"
115                                    membershipProviderName="AspNetSqlMembershipProvider" />
116          </serviceCredentials>
117          <serviceAuthorization principalPermissionMode="UseAspNetRoles"
118                                roleProviderName="AspNetSqlRoleProvider" />
119        </behavior>
120      </serviceBehaviors>
121    </behaviors>
122
123    <services>
124      <service name="HeuristicLab.Services.Deployment.UpdateService" behaviorConfiguration="DefaultServiceBehavior">
125        <endpoint address="mex" binding="mexHttpBinding" bindingConfiguration="DefaultMexHttpBinding" contract="IMetadataExchange" />
126        <endpoint behaviorConfiguration="DefaultEndpointBehavior" binding="wsHttpBinding" bindingConfiguration="DefaultWsHttpBinding"
127                  contract="HeuristicLab.Services.Deployment.IUpdateService" />
128        <host>
129          <baseAddresses>
130            <add baseAddress="http://localhost:8732/Design_Time_Addresses/Deployment-3.3/UpdateService" />
131          </baseAddresses>
132        </host>
133      </service>
134
135      <service name="HeuristicLab.Services.Deployment.AdminService" behaviorConfiguration="DefaultServiceBehavior">
136        <endpoint address="mex" binding="mexHttpBinding" bindingConfiguration="DefaultMexHttpBinding" contract="IMetadataExchange" />
137        <endpoint behaviorConfiguration="DefaultEndpointBehavior" binding="wsHttpBinding" bindingConfiguration="DefaultWsHttpBinding"
138                  contract="HeuristicLab.Services.Deployment.IAdminService" />
139        <host>
140          <baseAddresses>
141            <add baseAddress="http://localhost:8732/Design_Time_Addresses/Deployment-3.3/AdminService" />
142          </baseAddresses>
143        </host>
144      </service>
145    </services>
146  </system.serviceModel>
147</configuration>
Note: See TracBrowser for help on using the repository browser.