Free cookie consent management tool by TermsFeed Policy Generator

source: branches/OaaS/HeuristicLab.Services.Optimization.Web/Web.config @ 10207

Last change on this file since 10207 was 9371, checked in by spimming, 12 years ago

#1888:
*Marked necessary configuration steps with ADJUST_ME

File size: 14.3 KB
RevLine 
[9371]1<?xml version="1.0" encoding="utf-8"?>
[8384]2<!--
3  For more information on how to configure your ASP.NET application, please visit
4  http://go.microsoft.com/fwlink/?LinkId=152368
5  -->
6<configuration>
7  <system.diagnostics>
8    <trace>
9      <listeners>
10        <add type="Microsoft.WindowsAzure.Diagnostics.DiagnosticMonitorTraceListener, Microsoft.WindowsAzure.Diagnostics, Version=1.7.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" name="AzureDiagnostics">
11          <filter type="" />
12        </add>
13      </listeners>
14    </trace>
[8506]15    <sources>
[9166]16      <source name="System.ServiceModel" switchValue="Information, ActivityTracing" propagateActivity="true">
[8506]17        <listeners>
[9166]18          <add name="xml" />
[8506]19        </listeners>
20      </source>
21      <source name="System.ServiceModel.MessageLogging">
22        <listeners>
[9166]23          <add name="xml" />
[8506]24        </listeners>
25      </source>
[9166]26      <source name="myUserTraceSource" switchValue="Information, ActivityTracing">
[8506]27        <listeners>
[9166]28          <add name="xml" />
[8506]29        </listeners>
30      </source>
31    </sources>
32    <sharedListeners>
[9166]33      <add name="xml" type="System.Diagnostics.XmlWriterTraceListener" initializeData="C:\logs\Traces.svclog" />
[8506]34    </sharedListeners>
[8384]35  </system.diagnostics>
[8506]36 
37 
[8384]38  <connectionStrings>
[9371]39    <add name="HeuristicLab.Authentication" connectionString="Server=ADJUST_ME,1433;Database=HeuristicLab.Authentication;User ID=ADJUST_ME;Password=ADJUST_ME;Trusted_Connection=False;Encrypt=True;Connection Timeout=30;" />
[8384]40  </connectionStrings>
41  <appSettings>
42    <add key="webpages:Version" value="1.0.0.0" />
43    <add key="ClientValidationEnabled" value="true" />
44    <add key="UnobtrusiveJavaScriptEnabled" value="true" />
[9371]45    <add key="scenarioPath" value="C:\dev\Heuristiclab\branches\OaaS\HeuristicLab.Services.Optimization.ControllerService.Tests\mappings" />
46    <add key="scenarioSchemaPath" value="C:\dev\Heuristiclab\branches\OaaS\HeuristicLab.Services.Optimization.ControllerService.Tests\mappings\scenario.xsd" />
47    <add key="HiveEndpointName" value="WSHttpBinding_WebLocal_IHiveService" />
48    <add key="ControllerEndpointName" value="WSHttpBinding_WebLocal_IControllerService" />
[8384]49  </appSettings>
50  <system.web>
51    <compilation debug="true" targetFramework="4.0">
52      <assemblies>
53        <add assembly="System.Web.Abstractions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
54        <add assembly="System.Web.Helpers, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
55        <add assembly="System.Web.Routing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
56        <add assembly="System.Web.Mvc, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
57        <add assembly="System.Web.WebPages, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
58      </assemblies>
59    </compilation>
60    <authentication mode="Forms">
61      <forms loginUrl="~/Account/LogOn" timeout="2880" />
62    </authentication>
[9166]63    <membership defaultProvider="AspNetSqlMembershipProvider">
[8384]64      <providers>
[9166]65        <clear />
66        <add name="AspNetSqlMembershipProvider" type="System.Web.Security.SqlMembershipProvider" connectionStringName="HeuristicLab.Authentication" enablePasswordRetrieval="false" enablePasswordReset="true" requiresQuestionAndAnswer="false" requiresUniqueEmail="false" maxInvalidPasswordAttempts="5" minRequiredPasswordLength="6" minRequiredNonalphanumericCharacters="0" passwordAttemptWindow="10" applicationName="HeuristicLab.Authentication" />
67        <!-- add applicationName="MockupProvider" name="MockupMembershipProvider" type="HeuristicLab.Services.Optimization.ControllerService.Mockup.MockupMembershipProvider"/ -->
[8384]68      </providers>
69    </membership>
70    <profile defaultProvider="DefaultProfileProvider">
71      <providers>
72        <clear />
73        <add name="AspNetSqlProfileProvider" type="System.Web.Profile.SqlProfileProvider" connectionStringName="ApplicationServices" applicationName="/" />
74        <add name="DefaultProfileProvider" type="System.Web.Providers.DefaultProfileProvider, System.Web.Providers, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" connectionStringName="DefaultConnection" applicationName="/" />
75      </providers>
76    </profile>
[9166]77    <roleManager enabled="true" defaultProvider="AspNetSqlRoleProvider">
[8384]78      <providers>
79        <clear />
[9166]80        <add connectionStringName="HeuristicLab.Authentication" applicationName="HeuristicLab.Authentication" name="AspNetSqlRoleProvider" type="System.Web.Security.SqlRoleProvider" />
81        <!-- add applicationName="MockupProvider" name="MockupRoleProvider" type="HeuristicLab.Services.Optimization.ControllerService.Mockup.MockupRoleProvider" /-->
[8384]82      </providers>
83    </roleManager>
84    <pages>
85      <namespaces>
86        <add namespace="System.Web.Helpers" />
87        <add namespace="System.Web.Mvc" />
88        <add namespace="System.Web.Mvc.Ajax" />
89        <add namespace="System.Web.Mvc.Html" />
90        <add namespace="System.Web.Routing" />
91        <add namespace="System.Web.WebPages" />
92      </namespaces>
93    </pages>
94    <sessionState mode="InProc" customProvider="DefaultSessionProvider">
95      <providers>
96        <add name="DefaultSessionProvider" type="System.Web.Providers.DefaultSessionStateProvider, System.Web.Providers, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" connectionStringName="DefaultConnection" applicationName="/" />
97      </providers>
98    </sessionState>
[9371]99        <machineKey decryption="AES" decryptionKey="F7FA540B4DFD82E5BB196B95D15FF81F0F5E8733888A08BDBA49B60D9A734A86" validation="SHA1" validationKey="0F5E8733888A08BDBA49B60D9A734A86413B23059DE62168764FF0DCE537184F0535D5D9AD66DEDC0F5E8733888A08BDBA49B60D9A734A86413B230597DC1ABF" />
[8384]100  </system.web>
101  <system.webServer>
102    <validation validateIntegratedModeConfiguration="false" />
103    <modules runAllManagedModulesForAllRequests="true" />
104  </system.webServer>
105  <runtime>
106    <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
107      <dependentAssembly>
108        <assemblyIdentity name="System.Web.Mvc" publicKeyToken="31bf3856ad364e35" />
109        <bindingRedirect oldVersion="1.0.0.0-2.0.0.0" newVersion="3.0.0.0" />
110      </dependentAssembly>
111    </assemblyBinding>
112  </runtime>
113  <!--system.serviceModel>
114    <behaviors>
115      <serviceBehaviors>
116        <behavior name="">
117          <serviceMetadata httpGetEnabled="true" />
118          <serviceDebug includeExceptionDetailInFaults="false" />
119        </behavior>
120      </serviceBehaviors>
121    </behaviors>
122    <serviceHostingEnvironment multipleSiteBindingsEnabled="true" />
123  </system.serviceModel-->
124
125  <system.serviceModel>
126    <diagnostics>
[9166]127      <messageLogging logEntireMessage="true" logMalformedMessages="true" logMessagesAtServiceLevel="true" logMessagesAtTransportLevel="true" maxMessagesToLog="3000" />
[8384]128    </diagnostics>
129    <bindings>
130      <wsHttpBinding>
131        <binding name="WSHttpBinding_IControllerService" receiveTimeout="00:10:00" sendTimeout="00:10:00" maxBufferPoolSize="2147483647" maxReceivedMessageSize="2147483647">
[9166]132          <readerQuotas maxDepth="2147483647" maxStringContentLength="2147483647" maxArrayLength="2147483647" maxBytesPerRead="2147483647" maxNameTableCharCount="2147483647" />
[8384]133          <security mode="Message">
[9166]134            <transport clientCredentialType="Certificate" />
135            <message clientCredentialType="UserName" />
[8384]136          </security>
137        </binding>
[8506]138        <binding name="WSHttpBinding_IHiveService" receiveTimeout="00:10:00" sendTimeout="00:10:00" maxBufferPoolSize="2147483647" maxReceivedMessageSize="2147483647">
139          <readerQuotas maxDepth="2147483647" maxStringContentLength="2147483647" maxArrayLength="2147483647" maxBytesPerRead="2147483647" maxNameTableCharCount="2147483647" />
140          <security mode="Message">
[9166]141            <transport clientCredentialType="Certificate" />
142            <message clientCredentialType="UserName" />
[8506]143          </security>
144        </binding>
[8384]145      </wsHttpBinding>
146    </bindings>
147    <behaviors>
148      <serviceBehaviors>
149        <behavior name="ServiceBehaviour_IControllerService">
150          <!-- To avoid disclosing metadata information, set the value below to false and remove the metadata endpoint above before deployment -->
[9166]151          <serviceMetadata httpGetEnabled="true" httpsGetEnabled="false" />
[8384]152          <!-- To receive exception details in faults for debugging purposes, set the value below to true.  Set to false before deployment to avoid disclosing exception information -->
[9166]153          <serviceDebug httpHelpPageEnabled="true" includeExceptionDetailInFaults="true" />
154          <serviceAuthorization principalPermissionMode="UseAspNetRoles" roleProviderName="AspNetSqlRoleProvider" />
155          <!--serviceAuthorization principalPermissionMode="UseAspNetRoles" roleProviderName="MockupRoleProvider" /-->
[8384]156          <serviceCredentials>
[9166]157            <serviceCertificate findValue="localhost" x509FindType="FindBySubjectName" />
158            <userNameAuthentication userNamePasswordValidationMode="MembershipProvider" membershipProviderName="AspNetSqlMembershipProvider" />
159            <!--userNameAuthentication userNamePasswordValidationMode="MembershipProvider" membershipProviderName="MockupMembershipProvider" /-->
[8384]160          </serviceCredentials>
[9166]161          <serviceSecurityAudit auditLogLocation="Application" suppressAuditFailure="false" messageAuthenticationAuditLevel="SuccessOrFailure" />
162          <serviceThrottling maxConcurrentCalls="100" />
163          <dataContractSerializer maxItemsInObjectGraph="2147483647" />
[8384]164        </behavior>
165      </serviceBehaviors>
166      <endpointBehaviors>
167        <behavior name="LocalCertValidation">
168          <clientCredentials>
169            <serviceCertificate>
170              <authentication certificateValidationMode="None" />
171            </serviceCertificate>
172          </clientCredentials>
[9166]173          <dataContractSerializer maxItemsInObjectGraph="2147483647" />
[8384]174        </behavior>
175      </endpointBehaviors>
176    </behaviors>
177    <services>
178      <service behaviorConfiguration="ServiceBehaviour_IControllerService" name="HeuristicLab.Services.Optimization.ControllerService.PlaceholderControllerService">
[9166]179        <endpoint address="mex" binding="mexHttpBinding" bindingConfiguration="" name="MexEndpoint" contract="IMetadataExchange" />
180        <endpoint binding="wsHttpBinding" bindingConfiguration="WSHttpBinding_IControllerService" name="WSHttpBinding_IControllerService" contract="HeuristicLab.Services.Optimization.ControllerService.IControllerService" />
[8384]181      </service>
182    </services>
183    <serviceHostingEnvironment multipleSiteBindingsEnabled="true" />
184    <client>
[9363]185      <endpoint address="http://127.0.0.1:8082/ControllerService.svc" behaviorConfiguration="LocalCertValidation" binding="wsHttpBinding" bindingConfiguration="WSHttpBinding_IControllerService" contract="HeuristicLab.Services.Optimization.ControllerService.IControllerService" name="WSHttpBinding_Local_IControllerService">
[8384]186        <identity>
[9371]187          <certificate encodedValue="ADJUST_ME" />
[8384]188        </identity>
189      </endpoint>
[9166]190     
191      <endpoint address="http://127.0.0.1:81/HiveService.svc" behaviorConfiguration="LocalCertValidation" binding="wsHttpBinding" bindingConfiguration="WSHttpBinding_IHiveService" contract="HeuristicLab.Clients.Hive.IHiveService" name="WSHttpBinding_Local_IHiveService">
[8506]192        <identity>
[9371]193          <certificate encodedValue="ADJUST_ME" />
[8506]194        </identity>
195      </endpoint>
[9371]196
197      <endpoint address="http://127.0.0.1:2092/ControllerService.svc" behaviorConfiguration="LocalCertValidation" binding="wsHttpBinding" bindingConfiguration="WSHttpBinding_IControllerService" contract="HeuristicLab.Services.Optimization.ControllerService.IControllerService" name="WSHttpBinding_WebLocal_IControllerService">
198        <identity>
199          <certificate encodedValue="ADJUST_ME" />
200        </identity>
201      </endpoint>
202
203      <endpoint address="http://127.0.0.1:2092/HiveService.svc" behaviorConfiguration="LocalCertValidation" binding="wsHttpBinding" bindingConfiguration="WSHttpBinding_IHiveService" contract="HeuristicLab.Clients.Hive.IHiveService" name="WSHttpBinding_WebLocal_IHiveService">
204        <identity>
205          <certificate encodedValue="ADJUST_ME" />
206        </identity>
207      </endpoint>
[9166]208     
209     
210      <endpoint address="http://optimization1.cloudapp.net:8080/ControllerService.svc" behaviorConfiguration="LocalCertValidation" binding="wsHttpBinding" bindingConfiguration="WSHttpBinding_IControllerService" contract="HeuristicLab.Services.Optimization.ControllerService.IControllerService" name="WSHttpBinding_Remote_IControllerService">
[8506]211        <identity>
[9371]212          <certificate encodedValue="ADJUST_ME" />
[8506]213        </identity>
214      </endpoint>
[9166]215     
216      <endpoint address="http://optimization1.cloudapp.net/HiveService.svc" behaviorConfiguration="LocalCertValidation" binding="wsHttpBinding" bindingConfiguration="WSHttpBinding_IHiveService" contract="HeuristicLab.Clients.Hive.IHiveService" name="WSHttpBinding_Remote_IHiveService">
217        <identity>
[9371]218          <certificate encodedValue="ADJUST_ME" />
219        </identity>
220      </endpoint>
221     
222      <!--
223      <endpoint address="http://optimization.cloudapp.net/HiveService.svc" behaviorConfiguration="LocalCertValidation"
224         binding="wsHttpBinding" bindingConfiguration="WSHttpBinding_IHiveService" contract="HeuristicLab.Clients.Hive.IHiveService" name="WSHttpBinding_IHiveService">
225        <identity>
[9363]226          <certificate encodedValue="AwAAAAEAAAAUAAAADzsDXayAbGN7jnpbyVfY0wz9YFcgAAAAAQAAAPIBAAAwggHuMIIBW6ADAgECAhCzetYpS2a8okHn43VcHxP0MAkGBSsOAwIdBQAwFDESMBAGA1UEAxMJbG9jYWxob3N0MB4XDTExMTEwNDE1NTQxN1oXDTM5MTIzMTIzNTk1OVowFDESMBAGA1UEAxMJbG9jYWxob3N0MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCSYyb95Mu+uX+bV/qP9GQAo3QVuolC3JSBYCPb0hwDzt1Noef8m3W9C6oBwHp1vFrhYCjgcSKkq/6Ahz1FTInvfgM0ryC+wuNU3Qf8wnPBKQWy1XzfNgooJXfZVj2aJBhtfPCduf0i20bKLq6Vln3x7LJ2fQJl726PEydisDsVPQIDAQABo0kwRzBFBgNVHQEEPjA8gBBOTq0016GUpf8I0+rSZ7SBoRYwFDESMBAGA1UEAxMJbG9jYWxob3N0ghCzetYpS2a8okHn43VcHxP0MAkGBSsOAwIdBQADgYEAYUKhADqju3dh+9Gp47yDnOiJ/VIBa2uc4TOntXb5pgesS6vwd8assO8fmcT0D2IOJ+V4Q0H3Q8z3AqE9FoPrdj6/1CX+aQOSPwTWhs5AHRk6SvDLDaQtJPTNwldlyxmVTSZFq1wqLaRFCZ1U3furTOmHVOnIotIp+zm63bqs5U0=" />
[9166]227        </identity>
228      </endpoint>
[9371]229      -->
[8384]230    </client>
231  </system.serviceModel>
232</configuration>
Note: See TracBrowser for help on using the repository browser.