Free cookie consent management tool by TermsFeed Policy Generator

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

Last change on this file since 3181 was 3179, checked in by gkronber, 15 years ago

Improved controls for deployment service interaction.
Increased max values for message sizes and related limits in the deployment service configuration.
Recreated proxy classes for the deployment service.

#891 (Refactor GUI for plugin management)

File size: 7.3 KB
Line 
1<?xml version="1.0" encoding="utf-8"?>
2<configuration>
3  <configSections>
4  </configSections>
5  <system.diagnostics>
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>
31      <add initializeData="C:\inetpub\wwwroot\Deployment-3.3\web_messages.svclog"
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>
36      <add initializeData="C:\inetpub\wwwroot\Deployment-3.3\web_tracelog.svclog"
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-->
42  </system.diagnostics>
43  <connectionStrings>
44    <remove name="LocalSqlServer" />
45    <add connectionString="Server=SERVDEV;Database=HeuristicLab.Deployment;Integrated Security=SSPI" name="HeuristicLab.Services.Deployment.DataAccess.Properties.Settings.HeuristicLab_PluginStoreConnectionString" />
46    <add name="MyLocalSQLServer" connectionString="Initial Catalog=aspnetdb;data source=localhost;Integrated Security=SSPI;" />
47  </connectionStrings>
48  <system.webServer>
49    <security>
50      <requestFiltering>
51        <requestLimits maxAllowedContentLength="100000000"/>
52      </requestFiltering>
53    </security>
54  </system.webServer>
55  <system.web>
56    <compilation debug="false" />
57    <httpRuntime maxRequestLength="2097151" />
58    <membership defaultProvider="MySqlMembershipProvider">
59      <providers>
60        <clear />
61        <add name="MySqlMemberShipProvider" type="System.Web.Security.SqlMembershipProvider, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" connectionStringName="MyLocalSqlServer" 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="MySqlRoleProvider">
66      <providers>
67        <clear />
68        <add name="MySqlRoleProvider" connectionStringName="MyLocalSQLServer" applicationName="HeuristicLab.Deployment" type="System.Web.Security.SqlRoleProvider, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
69      </providers>
70    </roleManager>
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>
75    <bindings>
76      <wsHttpBinding>
77        <binding name="DefaultWsHttpBinding" maxBufferPoolSize="10000000" maxReceivedMessageSize="200000000">
78          <readerQuotas maxDepth="1000" maxStringContentLength="16000" maxArrayLength="200000000" maxBytesPerRead="200000000" maxNameTableCharCount="16000" />
79          <security mode="Message">
80            <message clientCredentialType="UserName" />
81          </security>
82        </binding>
83      </wsHttpBinding>
84      <mexHttpBinding>
85        <binding name="DefaultMexHttpBinding" />
86      </mexHttpBinding>
87    </bindings>
88    <diagnostics performanceCounters="Default">
89      <!--<messageLogging logMalformedMessages="false" logMessagesAtTransportLevel="false" />-->
90    </diagnostics>
91    <services>
92      <service behaviorConfiguration="HeuristicLab.Services.Deployment.UpdateBehavior"
93       name="HeuristicLab.Services.Deployment.Update">
94        <endpoint address="" behaviorConfiguration="SerializationBehavior"
95         binding="wsHttpBinding" bindingConfiguration="DefaultWsHttpBinding"
96         contract="HeuristicLab.Services.Deployment.IUpdate" />
97        <endpoint address="mex" binding="mexHttpBinding" bindingConfiguration="DefaultMexHttpBinding"
98         contract="IMetadataExchange" />
99      </service>
100      <service behaviorConfiguration="HeuristicLab.Services.Deployment.AdminBehavior"
101       name="HeuristicLab.Services.Deployment.Admin">
102        <endpoint address="" behaviorConfiguration="SerializationBehavior"
103         binding="wsHttpBinding" bindingConfiguration="DefaultWsHttpBinding"
104         contract="HeuristicLab.Services.Deployment.IAdmin" />
105        <endpoint address="mex" behaviorConfiguration="SerializationBehavior"
106         binding="mexHttpBinding" bindingConfiguration="DefaultMexHttpBinding"
107         contract="IMetadataExchange" />
108      </service>
109    </services>
110    <behaviors>
111      <endpointBehaviors>
112        <behavior name="SerializationBehavior">
113          <dataContractSerializer maxItemsInObjectGraph="1000000" />
114        </behavior>
115      </endpointBehaviors>
116      <serviceBehaviors>
117        <behavior name="HeuristicLab.Services.Deployment.UpdateBehavior">
118          <serviceMetadata httpGetEnabled="true" />
119          <serviceDebug includeExceptionDetailInFaults="false" />
120          <serviceCredentials>
121            <serviceCertificate findValue="servdev.heuristiclab.com" storeLocation="LocalMachine"
122             storeName="My" x509FindType="FindBySubjectName" />
123            <userNameAuthentication userNamePasswordValidationMode="MembershipProvider"
124             membershipProviderName="MySqlMembershipProvider" />
125          </serviceCredentials>
126          <serviceAuthorization principalPermissionMode="UseAspNetRoles"
127           roleProviderName="MySqlRoleProvider" />
128        </behavior>
129        <behavior name="HeuristicLab.Services.Deployment.AdminBehavior">
130          <serviceMetadata httpGetEnabled="true" />
131          <serviceDebug includeExceptionDetailInFaults="false" />
132          <serviceCredentials>
133            <serviceCertificate findValue="servdev.heuristiclab.com" storeLocation="LocalMachine"
134             storeName="My" x509FindType="FindBySubjectName" />
135            <userNameAuthentication userNamePasswordValidationMode="MembershipProvider"
136             membershipProviderName="MySqlMembershipProvider" />
137          </serviceCredentials>
138          <serviceAuthorization principalPermissionMode="UseAspNetRoles"
139           roleProviderName="MySqlRoleProvider" />
140        </behavior>
141      </serviceBehaviors>
142    </behaviors>
143  </system.serviceModel>
144</configuration>
Note: See TracBrowser for help on using the repository browser.