Free cookie consent management tool by TermsFeed Policy Generator

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

Last change on this file since 4307 was 4307, checked in by swagner, 14 years ago

Worked on configuration of deployment service (#1165)

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