Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
03/22/10 16:53:27 (15 years ago)
Author:
gkronber
Message:

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:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Services.Deployment/3.3/App.config

    r3084 r3179  
    1 <?xml version="1.0" encoding="utf-8" ?>
     1<?xml version="1.0" encoding="utf-8"?>
    22<configuration>
    33  <configSections>
    44  </configSections>
    55  <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-->
    642  </system.diagnostics>
    743  <connectionStrings>
    844    <remove name="LocalSqlServer" />
    9     <add name="HeuristicLab.Services.Deployment.DataAccess.Properties.Settings.HeuristicLab_PluginStoreConnectionString"
    10       connectionString="Server=SERVDEV;Database=HeuristicLab.Deployment;Integrated Security=SSPI" />
     45    <add connectionString="Server=SERVDEV;Database=HeuristicLab.Deployment;Integrated Security=SSPI" name="HeuristicLab.Services.Deployment.DataAccess.Properties.Settings.HeuristicLab_PluginStoreConnectionString" />
    1146    <add name="MyLocalSQLServer" connectionString="Initial Catalog=aspnetdb;data source=localhost;Integrated Security=SSPI;" />
    1247  </connectionStrings>
     48  <system.webServer>
     49    <security>
     50      <requestFiltering>
     51        <requestLimits maxAllowedContentLength="100000000"/>
     52      </requestFiltering>
     53    </security>
     54  </system.webServer>
    1355  <system.web>
    1456    <compilation debug="false" />
     57    <httpRuntime maxRequestLength="2097151" />
    1558    <membership defaultProvider="MySqlMembershipProvider">
    1659      <providers>
     
    3275    <bindings>
    3376      <wsHttpBinding>
    34         <binding name="DefaultWsHttpBinding" maxBufferPoolSize="10000000" maxReceivedMessageSize="1000000">
    35           <readerQuotas maxDepth="1000" maxStringContentLength="16000" maxArrayLength="10000000" maxBytesPerRead="10000000" maxNameTableCharCount="16000" />
     77        <binding name="DefaultWsHttpBinding" maxBufferPoolSize="10000000" maxReceivedMessageSize="200000000">
     78          <readerQuotas maxDepth="1000" maxStringContentLength="16000" maxArrayLength="200000000" maxBytesPerRead="200000000" maxNameTableCharCount="16000" />
    3679          <security mode="Message">
    3780            <message clientCredentialType="UserName" />
     
    4487    </bindings>
    4588    <diagnostics performanceCounters="Default">
    46       <messageLogging logMalformedMessages="false" logMessagesAtTransportLevel="false" />
     89      <!--<messageLogging logMalformedMessages="false" logMessagesAtTransportLevel="false" />-->
    4790    </diagnostics>
    4891    <services>
    49       <service behaviorConfiguration="HeuristicLab.Services.Deployment.UpdateBehavior" name="HeuristicLab.Services.Deployment.Update">
    50         <endpoint address="" binding="wsHttpBinding" bindingConfiguration="DefaultWsHttpBinding" contract="HeuristicLab.Services.Deployment.IUpdate">
    51         </endpoint>
    52         <endpoint address="mex" binding="mexHttpBinding" bindingConfiguration="DefaultMexHttpBinding" contract="IMetadataExchange" />
     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" />
    5399      </service>
    54       <service behaviorConfiguration="HeuristicLab.Services.Deployment.AdminBehavior" name="HeuristicLab.Services.Deployment.Admin">
    55         <endpoint address="" binding="wsHttpBinding" bindingConfiguration="DefaultWsHttpBinding" contract="HeuristicLab.Services.Deployment.IAdmin">
    56         </endpoint>
    57         <endpoint address="mex" binding="mexHttpBinding" bindingConfiguration="DefaultMexHttpBinding" contract="IMetadataExchange" />
     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" />
    58108      </service>
    59109    </services>
    60110    <behaviors>
     111      <endpointBehaviors>
     112        <behavior name="SerializationBehavior">
     113          <dataContractSerializer maxItemsInObjectGraph="1000000" />
     114        </behavior>
     115      </endpointBehaviors>
    61116      <serviceBehaviors>
    62117        <behavior name="HeuristicLab.Services.Deployment.UpdateBehavior">
     
    64119          <serviceDebug includeExceptionDetailInFaults="false" />
    65120          <serviceCredentials>
    66             <serviceCertificate findValue="servdev.heuristiclab.com" storeLocation="LocalMachine" storeName="My" x509FindType="FindBySubjectName" />
    67             <userNameAuthentication userNamePasswordValidationMode="MembershipProvider" membershipProviderName="MySqlMembershipProvider" />
     121            <serviceCertificate findValue="servdev.heuristiclab.com" storeLocation="LocalMachine"
     122             storeName="My" x509FindType="FindBySubjectName" />
     123            <userNameAuthentication userNamePasswordValidationMode="MembershipProvider"
     124             membershipProviderName="MySqlMembershipProvider" />
    68125          </serviceCredentials>
    69           <serviceAuthorization principalPermissionMode="UseAspNetRoles" roleProviderName="MySqlRoleProvider" />
     126          <serviceAuthorization principalPermissionMode="UseAspNetRoles"
     127           roleProviderName="MySqlRoleProvider" />
    70128        </behavior>
    71129        <behavior name="HeuristicLab.Services.Deployment.AdminBehavior">
     
    73131          <serviceDebug includeExceptionDetailInFaults="false" />
    74132          <serviceCredentials>
    75             <serviceCertificate findValue="servdev.heuristiclab.com" storeLocation="LocalMachine" storeName="My" x509FindType="FindBySubjectName" />
    76             <userNameAuthentication userNamePasswordValidationMode="MembershipProvider" membershipProviderName="MySqlMembershipProvider" />
     133            <serviceCertificate findValue="servdev.heuristiclab.com" storeLocation="LocalMachine"
     134             storeName="My" x509FindType="FindBySubjectName" />
     135            <userNameAuthentication userNamePasswordValidationMode="MembershipProvider"
     136             membershipProviderName="MySqlMembershipProvider" />
    77137          </serviceCredentials>
    78           <serviceAuthorization principalPermissionMode="UseAspNetRoles" roleProviderName="MySqlRoleProvider" />
     138          <serviceAuthorization principalPermissionMode="UseAspNetRoles"
     139           roleProviderName="MySqlRoleProvider" />
    79140        </behavior>
    80141      </serviceBehaviors>
Note: See TracChangeset for help on using the changeset viewer.