Free cookie consent management tool by TermsFeed Policy Generator

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

Last change on this file since 13229 was 11623, checked in by ascheibe, 10 years ago

#2280 switched all projects to .NET 4.5 (ExtLibs, HL, Tests, Services, Slave)

File size: 6.9 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" 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"/>
45  </connectionStrings>
46
47  <system.webServer>
48    <security>
49      <requestFiltering>
50        <requestLimits maxAllowedContentLength="100000000"/>
51      </requestFiltering>
52    </security>
53  </system.webServer>
54
55  <system.web>
56    <compilation debug="true"/>
57    <httpRuntime maxRequestLength="2097151"/>
58    <membership defaultProvider="AspNetSqlMembershipProvider">
59      <providers>
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"/>
62      </providers>
63    </membership>
64    <authentication mode="Windows"/>
65    <roleManager enabled="true" defaultProvider="AspNetSqlRoleProvider">
66      <providers>
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"/>
69      </providers>
70    </roleManager>
71  </system.web>
72
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>
76    <bindings>
77      <wsHttpBinding>
78        <binding name="DefaultWsHttpBinding" maxBufferPoolSize="10000000" maxReceivedMessageSize="200000000">
79          <readerQuotas maxDepth="1000" maxStringContentLength="200000000" maxArrayLength="200000000" maxBytesPerRead="200000000" maxNameTableCharCount="16000"/>
80          <security mode="Message">
81            <message clientCredentialType="UserName"/>
82          </security>
83        </binding>
84      </wsHttpBinding>
85      <mexHttpBinding>
86        <binding name="DefaultMexHttpBinding"/>
87      </mexHttpBinding>
88    </bindings>
89
90    <diagnostics performanceCounters="Default">
91      <!--<messageLogging logMalformedMessages="false" logMessagesAtTransportLevel="false" />-->
92    </diagnostics>
93
94    <behaviors>
95      <endpointBehaviors>
96        <behavior name="DefaultEndpointBehavior">
97          <dataContractSerializer maxItemsInObjectGraph="1000000"/>
98        </behavior>
99      </endpointBehaviors>
100
101      <serviceBehaviors>
102        <behavior name="DefaultServiceBehavior">
103          <serviceMetadata httpGetEnabled="true"/>
104          <serviceDebug includeExceptionDetailInFaults="true"/>
105          <serviceCredentials>
106            <serviceCertificate findValue="localhost" storeLocation="LocalMachine" storeName="My" x509FindType="FindBySubjectName"/>
107            <userNameAuthentication userNamePasswordValidationMode="MembershipProvider" membershipProviderName="AspNetSqlMembershipProvider"/>
108          </serviceCredentials>
109          <serviceAuthorization principalPermissionMode="UseAspNetRoles" roleProviderName="AspNetSqlRoleProvider"/>
110        </behavior>
111      </serviceBehaviors>
112    </behaviors>
113
114    <services>
115      <service name="HeuristicLab.Services.Deployment.UpdateService" behaviorConfiguration="DefaultServiceBehavior">
116        <endpoint address="mex" binding="mexHttpBinding" bindingConfiguration="DefaultMexHttpBinding" contract="IMetadataExchange"/>
117        <endpoint behaviorConfiguration="DefaultEndpointBehavior" binding="wsHttpBinding" bindingConfiguration="DefaultWsHttpBinding" contract="HeuristicLab.Services.Deployment.IUpdateService"/>
118        <host>
119          <baseAddresses>
120            <add baseAddress="http://localhost:8732/Design_Time_Addresses/Deployment-3.3/UpdateService"/>
121          </baseAddresses>
122        </host>
123      </service>
124
125      <service name="HeuristicLab.Services.Deployment.AdminService" behaviorConfiguration="DefaultServiceBehavior">
126        <endpoint address="mex" binding="mexHttpBinding" bindingConfiguration="DefaultMexHttpBinding" contract="IMetadataExchange"/>
127        <endpoint behaviorConfiguration="DefaultEndpointBehavior" binding="wsHttpBinding" bindingConfiguration="DefaultWsHttpBinding" contract="HeuristicLab.Services.Deployment.IAdminService"/>
128        <host>
129          <baseAddresses>
130            <add baseAddress="http://localhost:8732/Design_Time_Addresses/Deployment-3.3/AdminService"/>
131          </baseAddresses>
132        </host>
133      </service>
134    </services>
135  </system.serviceModel>
136<startup><supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5"/></startup></configuration>
Note: See TracBrowser for help on using the repository browser.