Free cookie consent management tool by TermsFeed Policy Generator

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

Last change on this file since 3158 was 3084, checked in by gkronber, 15 years ago

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