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\services.heuristiclab.com\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\services.heuristiclab.com\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=SERVICES;Database=HeuristicLab.Deployment;Integrated Security=SSPI" name="HeuristicLab.Services.Deployment.DataAccess.Properties.Settings.HeuristicLab_PluginStoreConnectionString" />
|
---|
46 | <add name="HeuristicLab.Authentication" connectionString="Initial Catalog=HeuristicLab.Authentication;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="AspNetSqlMembershipProvider">
|
---|
59 | <providers>
|
---|
60 | <clear />
|
---|
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" />
|
---|
62 | </providers>
|
---|
63 | </membership>
|
---|
64 | <authentication mode="Windows" />
|
---|
65 | <roleManager enabled="true" defaultProvider="AspNetSqlRoleProvider">
|
---|
66 | <providers>
|
---|
67 | <clear />
|
---|
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" />
|
---|
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 | <host>
|
---|
100 | <baseAddresses>
|
---|
101 | <add baseAddress="http://localhost:8732/Design_Time_Addresses/Deployment-3.3/Update" />
|
---|
102 | </baseAddresses>
|
---|
103 | </host>
|
---|
104 | </service>
|
---|
105 | <service behaviorConfiguration="HeuristicLab.Services.Deployment.AdminBehavior"
|
---|
106 | name="HeuristicLab.Services.Deployment.Admin">
|
---|
107 | <endpoint address="" behaviorConfiguration="SerializationBehavior"
|
---|
108 | binding="wsHttpBinding" bindingConfiguration="DefaultWsHttpBinding"
|
---|
109 | contract="HeuristicLab.Services.Deployment.IAdmin" />
|
---|
110 | <endpoint address="mex" behaviorConfiguration="SerializationBehavior"
|
---|
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>
|
---|
118 | </service>
|
---|
119 | </services>
|
---|
120 | <behaviors>
|
---|
121 | <endpointBehaviors>
|
---|
122 | <behavior name="SerializationBehavior">
|
---|
123 | <dataContractSerializer maxItemsInObjectGraph="1000000" />
|
---|
124 | </behavior>
|
---|
125 | </endpointBehaviors>
|
---|
126 | <serviceBehaviors>
|
---|
127 | <behavior name="HeuristicLab.Services.Deployment.UpdateBehavior">
|
---|
128 | <serviceMetadata httpGetEnabled="true" />
|
---|
129 | <serviceDebug includeExceptionDetailInFaults="false" />
|
---|
130 | <serviceCredentials>
|
---|
131 | <serviceCertificate findValue="localhost" storeLocation="LocalMachine"
|
---|
132 | storeName="My" x509FindType="FindBySubjectName" />
|
---|
133 | <userNameAuthentication userNamePasswordValidationMode="MembershipProvider"
|
---|
134 | membershipProviderName="AspNetSqlMembershipProvider" />
|
---|
135 | </serviceCredentials>
|
---|
136 | <serviceAuthorization principalPermissionMode="UseAspNetRoles"
|
---|
137 | roleProviderName="AspNetSqlRoleProvider" />
|
---|
138 | </behavior>
|
---|
139 | <behavior name="HeuristicLab.Services.Deployment.AdminBehavior">
|
---|
140 | <serviceMetadata httpGetEnabled="true" />
|
---|
141 | <serviceDebug includeExceptionDetailInFaults="false" />
|
---|
142 | <serviceCredentials>
|
---|
143 | <serviceCertificate findValue="localhost" storeLocation="LocalMachine"
|
---|
144 | storeName="My" x509FindType="FindBySubjectName" />
|
---|
145 | <userNameAuthentication userNamePasswordValidationMode="MembershipProvider"
|
---|
146 | membershipProviderName="AspNetSqlMembershipProvider" />
|
---|
147 | </serviceCredentials>
|
---|
148 | <serviceAuthorization principalPermissionMode="UseAspNetRoles"
|
---|
149 | roleProviderName="AspNetSqlRoleProvider" />
|
---|
150 | </behavior>
|
---|
151 | </serviceBehaviors>
|
---|
152 | </behaviors>
|
---|
153 | </system.serviceModel>
|
---|
154 | </configuration>
|
---|