Free cookie consent management tool by TermsFeed Policy Generator

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

Last change on this file since 3072 was 3072, checked in by gkronber, 14 years ago

Copied projects related to the deployment service from the feature branch. #918 (Integrate deployment service into trunk and HL3.3 solution file)

File size: 5.0 KB
Line 
1<?xml version="1.0" encoding="utf-8" ?>
2<configuration>
3  <configSections>
4  </configSections>
5  <system.diagnostics>
6  </system.diagnostics>
7  <connectionStrings>
8    <remove name="LocalSqlServer" />
9    <add connectionString="Server=SERVDEV;Database=HeuristicLab.Deployment;Integrated Security=SSPI" name="HeuristicLab.Services.Deployment.DataAccess.Properties.Settings.HeuristicLab_PluginStoreConnectionString" />
10    <add name="MyLocalSQLServer" connectionString="Initial Catalog=aspnetdb;data source=localhost;Integrated Security=SSPI;" />
11  </connectionStrings>
12  <system.web>
13    <compilation debug="false" />
14    <membership defaultProvider="MySqlMembershipProvider">
15      <providers>
16        <clear />
17        <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" />
18      </providers>
19    </membership>
20    <authentication mode="Windows" />
21    <roleManager enabled="true" defaultProvider="MySqlRoleProvider">
22      <providers>
23        <clear />
24        <add name="MySqlRoleProvider" connectionStringName="MyLocalSQLServer" applicationName="HeuristicLab.Deployment" type="System.Web.Security.SqlRoleProvider, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
25      </providers>
26    </roleManager>
27  </system.web>
28  <!-- When deploying the service library project, the content of the config file must be added to the host's
29  app.config file. System.Configuration does not support config files for libraries. -->
30  <system.serviceModel>
31    <bindings>
32      <wsHttpBinding>
33        <binding name="DefaultWsHttpBinding" maxBufferPoolSize="10000000" maxReceivedMessageSize="1000000">
34          <readerQuotas maxDepth="1000" maxStringContentLength="16000" maxArrayLength="10000000" maxBytesPerRead="10000000" maxNameTableCharCount="16000" />
35          <security mode="Message">
36            <message clientCredentialType="UserName" />
37          </security>
38        </binding>
39      </wsHttpBinding>
40      <mexHttpBinding>
41        <binding name="DefaultMexHttpBinding" />
42      </mexHttpBinding>
43    </bindings>
44    <diagnostics performanceCounters="Default">
45      <messageLogging logMalformedMessages="false" logMessagesAtTransportLevel="false" />
46    </diagnostics>
47    <services>
48      <service behaviorConfiguration="HeuristicLab.Services.Deployment.UpdateBehavior" name="HeuristicLab.Services.Deployment.Update">
49        <endpoint address="" binding="wsHttpBinding" bindingConfiguration="DefaultWsHttpBinding" contract="HeuristicLab.Services.Deployment.IUpdate">
50        </endpoint>
51        <endpoint address="mex" binding="mexHttpBinding" bindingConfiguration="DefaultMexHttpBinding" contract="IMetadataExchange" />
52      </service>
53      <service behaviorConfiguration="HeuristicLab.Services.Deployment.AdminBehavior" name="HeuristicLab.Services.Deployment.Admin">
54        <endpoint address="" binding="wsHttpBinding" bindingConfiguration="DefaultWsHttpBinding" contract="HeuristicLab.Services.Deployment.IAdmin">
55        </endpoint>
56        <endpoint address="mex" binding="mexHttpBinding" bindingConfiguration="DefaultMexHttpBinding" contract="IMetadataExchange" />
57      </service>
58    </services>
59    <behaviors>
60      <serviceBehaviors>
61        <behavior name="HeuristicLab.Services.Deployment.UpdateBehavior">
62          <serviceMetadata httpGetEnabled="true" />
63          <serviceDebug includeExceptionDetailInFaults="false" />
64          <serviceCredentials>
65            <serviceCertificate findValue="servdev.heuristiclab.com" storeLocation="LocalMachine" storeName="My" x509FindType="FindBySubjectName" />
66            <userNameAuthentication userNamePasswordValidationMode="MembershipProvider" membershipProviderName="MySqlMembershipProvider" />
67          </serviceCredentials>
68          <serviceAuthorization principalPermissionMode="UseAspNetRoles" roleProviderName="MySqlRoleProvider" />
69        </behavior>
70        <behavior name="HeuristicLab.Services.Deployment.AdminBehavior">
71          <serviceMetadata httpGetEnabled="true" />
72          <serviceDebug includeExceptionDetailInFaults="false" />
73          <serviceCredentials>
74            <serviceCertificate findValue="servdev.heuristiclab.com" storeLocation="LocalMachine" storeName="My" x509FindType="FindBySubjectName" />
75            <userNameAuthentication userNamePasswordValidationMode="MembershipProvider" membershipProviderName="MySqlMembershipProvider" />
76          </serviceCredentials>
77          <serviceAuthorization principalPermissionMode="UseAspNetRoles" roleProviderName="MySqlRoleProvider" />
78        </behavior>
79      </serviceBehaviors>
80    </behaviors>
81  </system.serviceModel>
82</configuration>
Note: See TracBrowser for help on using the repository browser.