Free cookie consent management tool by TermsFeed Policy Generator

source: stable/HeuristicLab.Services.Deployment/3.3/App.config @ 13337

Last change on this file since 13337 was 11920, checked in by ascheibe, 10 years ago

#2280 merged r11623, r11631, r11634 into stable

File size: 6.9 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>
[11920]43    <add name="HeuristicLab.Authentication" connectionString="data source=.\SQLEXPRESS;Integrated Security=SSPI;Initial Catalog=HeuristicLab.Authentication"/>
44    <add name="HeuristicLab.Services.Deployment.DataAccess.Properties.Settings.HeuristicLab_DeploymentConnectionString" connectionString="Data Source=.\SQLEXPRESS;Integrated Security=SSPI;Initial Catalog=HeuristicLab.Deployment"/>
[2742]45  </connectionStrings>
[4494]46
[3179]47  <system.webServer>
48    <security>
49      <requestFiltering>
50        <requestLimits maxAllowedContentLength="100000000"/>
51      </requestFiltering>
52    </security>
53  </system.webServer>
[4494]54
[2742]55  <system.web>
[11920]56    <compilation debug="true"/>
57    <httpRuntime maxRequestLength="2097151"/>
[4273]58    <membership defaultProvider="AspNetSqlMembershipProvider">
[3006]59      <providers>
[11920]60        <clear/>
61        <add name="AspNetSqlMemberShipProvider" type="System.Web.Security.SqlMembershipProvider, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" connectionStringName="HeuristicLab.Authentication" applicationName="HeuristicLab.Authentication" enablePasswordReset="false" enablePasswordRetrieval="false" passwordFormat="Hashed" requiresQuestionAndAnswer="false" requiresUniqueEmail="false" minRequiredNonalphanumericCharacters="0" minRequiredPasswordLength="8"/>
[3006]62      </providers>
63    </membership>
[11920]64    <authentication mode="Windows"/>
[4273]65    <roleManager enabled="true" defaultProvider="AspNetSqlRoleProvider">
[3006]66      <providers>
[11920]67        <clear/>
68        <add name="AspNetSqlRoleProvider" type="System.Web.Security.SqlRoleProvider, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" connectionStringName="HeuristicLab.Authentication" applicationName="HeuristicLab.Authentication"/>
[3006]69      </providers>
70    </roleManager>
[2742]71  </system.web>
[4494]72
[2742]73  <!-- When deploying the service library project, the content of the config file must be added to the host's
74  app.config file. System.Configuration does not support config files for libraries. -->
75  <system.serviceModel>
[2771]76    <bindings>
77      <wsHttpBinding>
[3179]78        <binding name="DefaultWsHttpBinding" maxBufferPoolSize="10000000" maxReceivedMessageSize="200000000">
[11920]79          <readerQuotas maxDepth="1000" maxStringContentLength="200000000" maxArrayLength="200000000" maxBytesPerRead="200000000" maxNameTableCharCount="16000"/>
[3006]80          <security mode="Message">
[11920]81            <message clientCredentialType="UserName"/>
[3006]82          </security>
[2771]83        </binding>
84      </wsHttpBinding>
85      <mexHttpBinding>
[11920]86        <binding name="DefaultMexHttpBinding"/>
[2771]87      </mexHttpBinding>
88    </bindings>
[4494]89
[2771]90    <diagnostics performanceCounters="Default">
[3179]91      <!--<messageLogging logMalformedMessages="false" logMessagesAtTransportLevel="false" />-->
[2771]92    </diagnostics>
[4494]93
[2742]94    <behaviors>
[3179]95      <endpointBehaviors>
[4494]96        <behavior name="DefaultEndpointBehavior">
[11920]97          <dataContractSerializer maxItemsInObjectGraph="1000000"/>
[3179]98        </behavior>
99      </endpointBehaviors>
[4494]100
[2742]101      <serviceBehaviors>
[4494]102        <behavior name="DefaultServiceBehavior">
[11920]103          <serviceMetadata httpGetEnabled="true"/>
104          <serviceDebug includeExceptionDetailInFaults="true"/>
[3006]105          <serviceCredentials>
[11920]106            <serviceCertificate findValue="localhost" storeLocation="LocalMachine" storeName="My" x509FindType="FindBySubjectName"/>
107            <userNameAuthentication userNamePasswordValidationMode="MembershipProvider" membershipProviderName="AspNetSqlMembershipProvider"/>
[3006]108          </serviceCredentials>
[11920]109          <serviceAuthorization principalPermissionMode="UseAspNetRoles" roleProviderName="AspNetSqlRoleProvider"/>
[2742]110        </behavior>
111      </serviceBehaviors>
112    </behaviors>
[4494]113
114    <services>
115      <service name="HeuristicLab.Services.Deployment.UpdateService" behaviorConfiguration="DefaultServiceBehavior">
[11920]116        <endpoint address="mex" binding="mexHttpBinding" bindingConfiguration="DefaultMexHttpBinding" contract="IMetadataExchange"/>
117        <endpoint behaviorConfiguration="DefaultEndpointBehavior" binding="wsHttpBinding" bindingConfiguration="DefaultWsHttpBinding" contract="HeuristicLab.Services.Deployment.IUpdateService"/>
[4494]118        <host>
119          <baseAddresses>
[11920]120            <add baseAddress="http://localhost:8732/Design_Time_Addresses/Deployment-3.3/UpdateService"/>
[4494]121          </baseAddresses>
122        </host>
123      </service>
124
125      <service name="HeuristicLab.Services.Deployment.AdminService" behaviorConfiguration="DefaultServiceBehavior">
[11920]126        <endpoint address="mex" binding="mexHttpBinding" bindingConfiguration="DefaultMexHttpBinding" contract="IMetadataExchange"/>
127        <endpoint behaviorConfiguration="DefaultEndpointBehavior" binding="wsHttpBinding" bindingConfiguration="DefaultWsHttpBinding" contract="HeuristicLab.Services.Deployment.IAdminService"/>
[4494]128        <host>
129          <baseAddresses>
[11920]130            <add baseAddress="http://localhost:8732/Design_Time_Addresses/Deployment-3.3/AdminService"/>
[4494]131          </baseAddresses>
132        </host>
133      </service>
134    </services>
[2742]135  </system.serviceModel>
[11920]136<startup><supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5"/></startup></configuration>
Note: See TracBrowser for help on using the repository browser.