Free cookie consent management tool by TermsFeed Policy Generator

source: trunk/sources/HeuristicLab.Services.Deployment/3.3/App.config @ 9678

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

Increased maxStringContentLength in deployment services (#1742)

File size: 7.1 KB
RevLine 
[3179]1<?xml version="1.0" encoding="utf-8"?>
[2742]2<configuration>
[2771]3  <system.diagnostics>
[3179]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>
[4273]29      <add initializeData="C:\inetpub\wwwroot\services.heuristiclab.com\Deployment-3.3\web_messages.svclog"
[3179]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>
[4273]34      <add initializeData="C:\inetpub\wwwroot\services.heuristiclab.com\Deployment-3.3\web_tracelog.svclog"
[3179]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-->
[2771]40  </system.diagnostics>
[4494]41
[2742]42  <connectionStrings>
[4494]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" />
[2742]47  </connectionStrings>
[4494]48
[3179]49  <system.webServer>
50    <security>
51      <requestFiltering>
52        <requestLimits maxAllowedContentLength="100000000"/>
53      </requestFiltering>
54    </security>
55  </system.webServer>
[4494]56
[2742]57  <system.web>
[4494]58    <compilation debug="true" />
[3179]59    <httpRuntime maxRequestLength="2097151" />
[4273]60    <membership defaultProvider="AspNetSqlMembershipProvider">
[3006]61      <providers>
62        <clear />
[4494]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" />
[3006]67      </providers>
68    </membership>
69    <authentication mode="Windows" />
[4273]70    <roleManager enabled="true" defaultProvider="AspNetSqlRoleProvider">
[3006]71      <providers>
72        <clear />
[4494]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" />
[3006]75      </providers>
76    </roleManager>
[2742]77  </system.web>
[4494]78
[2742]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>
[2771]82    <bindings>
83      <wsHttpBinding>
[3179]84        <binding name="DefaultWsHttpBinding" maxBufferPoolSize="10000000" maxReceivedMessageSize="200000000">
[7283]85          <readerQuotas maxDepth="1000" maxStringContentLength="200000000" maxArrayLength="200000000" maxBytesPerRead="200000000" maxNameTableCharCount="16000" />
[3006]86          <security mode="Message">
87            <message clientCredentialType="UserName" />
88          </security>
[2771]89        </binding>
90      </wsHttpBinding>
91      <mexHttpBinding>
92        <binding name="DefaultMexHttpBinding" />
93      </mexHttpBinding>
94    </bindings>
[4494]95
[2771]96    <diagnostics performanceCounters="Default">
[3179]97      <!--<messageLogging logMalformedMessages="false" logMessagesAtTransportLevel="false" />-->
[2771]98    </diagnostics>
[4494]99
[2742]100    <behaviors>
[3179]101      <endpointBehaviors>
[4494]102        <behavior name="DefaultEndpointBehavior">
[3179]103          <dataContractSerializer maxItemsInObjectGraph="1000000" />
104        </behavior>
105      </endpointBehaviors>
[4494]106
[2742]107      <serviceBehaviors>
[4494]108        <behavior name="DefaultServiceBehavior">
[2742]109          <serviceMetadata httpGetEnabled="true" />
[4494]110          <serviceDebug includeExceptionDetailInFaults="true" />
[3006]111          <serviceCredentials>
[4307]112            <serviceCertificate findValue="localhost" storeLocation="LocalMachine"
[4494]113                                storeName="My" x509FindType="FindBySubjectName" />
[3179]114            <userNameAuthentication userNamePasswordValidationMode="MembershipProvider"
[4494]115                                    membershipProviderName="AspNetSqlMembershipProvider" />
[3006]116          </serviceCredentials>
[3179]117          <serviceAuthorization principalPermissionMode="UseAspNetRoles"
[4494]118                                roleProviderName="AspNetSqlRoleProvider" />
[2742]119        </behavior>
120      </serviceBehaviors>
121    </behaviors>
[4494]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>
[2742]146  </system.serviceModel>
147</configuration>
Note: See TracBrowser for help on using the repository browser.