Free cookie consent management tool by TermsFeed Policy Generator

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

Last change on this file since 8464 was 8384, checked in by fschoepp, 12 years ago

#1888:

  • Created a project which contains the back-end controller for the Optimization WebSite
  • Added a WCF-back-end-controller which generates all available optimization problems (currently in-memory solution: PlaceholderControllerService.cs)
  • Created a WebRole using ASP.NET MVC 3 for the Optimization Web Site
  • WebSite authenticates users with the HeuristicLab.Authentication membership provider and database
  • WebSite crawls and displays all available optimization scenarios by using the WCF-back-end controller (test with: http://localhost:.../optimization)
File size: 8.8 KB
RevLine 
[8384]1<?xml version="1.0" encoding="utf-8"?>
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>
15  </system.diagnostics>
16  <connectionStrings>
17    <add name="ApplicationServices" connectionString="data source=.\SQLEXPRESS;Integrated Security=SSPI;AttachDBFilename=|DataDirectory|aspnetdb.mdf;User Instance=true"
18      providerName="System.Data.SqlClient" />
19    <add name="DefaultConnection" connectionString="Data Source=.\SQLEXPRESS;Initial Catalog=aspnet_eb6c1a930dad4e2e9eaf3dcd73e6f924;Integrated Security=True;MultipleActiveResultSets=True"
20      providerName="System.Data.SqlClient" />
21    <add name="HeuristicLab.Authentication" connectionString="ADJUST_ME"/>
22  </connectionStrings>
23  <appSettings>
24    <add key="webpages:Version" value="1.0.0.0" />
25    <add key="ClientValidationEnabled" value="true" />
26    <add key="UnobtrusiveJavaScriptEnabled" value="true" />
27  </appSettings>
28  <system.web>
29    <compilation debug="true" targetFramework="4.0">
30      <assemblies>
31        <add assembly="System.Web.Abstractions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
32        <add assembly="System.Web.Helpers, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
33        <add assembly="System.Web.Routing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
34        <add assembly="System.Web.Mvc, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
35        <add assembly="System.Web.WebPages, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
36      </assemblies>
37    </compilation>
38    <authentication mode="Forms">
39      <forms loginUrl="~/Account/LogOn" timeout="2880" />
40    </authentication>
41    <membership>
42      <providers>
43        <clear/>
44        <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"/>
45      </providers>
46    </membership>
47    <profile defaultProvider="DefaultProfileProvider">
48      <providers>
49        <clear />
50        <add name="AspNetSqlProfileProvider" type="System.Web.Profile.SqlProfileProvider" connectionStringName="ApplicationServices" applicationName="/" />
51        <add name="DefaultProfileProvider" type="System.Web.Providers.DefaultProfileProvider, System.Web.Providers, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" connectionStringName="DefaultConnection" applicationName="/" />
52      </providers>
53    </profile>
54    <roleManager enabled="true">
55      <providers>
56        <clear />
57        <add connectionStringName="HeuristicLab.Authentication" applicationName="HeuristicLab.Authentication"
58          name="AspNetSqlRoleProvider" type="System.Web.Security.SqlRoleProvider" />
59      </providers>
60    </roleManager>
61    <pages>
62      <namespaces>
63        <add namespace="System.Web.Helpers" />
64        <add namespace="System.Web.Mvc" />
65        <add namespace="System.Web.Mvc.Ajax" />
66        <add namespace="System.Web.Mvc.Html" />
67        <add namespace="System.Web.Routing" />
68        <add namespace="System.Web.WebPages" />
69      </namespaces>
70    </pages>
71    <sessionState mode="InProc" customProvider="DefaultSessionProvider">
72      <providers>
73        <add name="DefaultSessionProvider" type="System.Web.Providers.DefaultSessionStateProvider, System.Web.Providers, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" connectionStringName="DefaultConnection" applicationName="/" />
74      </providers>
75    </sessionState>
76  </system.web>
77  <system.webServer>
78    <validation validateIntegratedModeConfiguration="false" />
79    <modules runAllManagedModulesForAllRequests="true" />
80  </system.webServer>
81  <runtime>
82    <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
83      <dependentAssembly>
84        <assemblyIdentity name="System.Web.Mvc" publicKeyToken="31bf3856ad364e35" />
85        <bindingRedirect oldVersion="1.0.0.0-2.0.0.0" newVersion="3.0.0.0" />
86      </dependentAssembly>
87    </assemblyBinding>
88  </runtime>
89  <!--system.serviceModel>
90    <behaviors>
91      <serviceBehaviors>
92        <behavior name="">
93          <serviceMetadata httpGetEnabled="true" />
94          <serviceDebug includeExceptionDetailInFaults="false" />
95        </behavior>
96      </serviceBehaviors>
97    </behaviors>
98    <serviceHostingEnvironment multipleSiteBindingsEnabled="true" />
99  </system.serviceModel-->
100
101  <system.serviceModel>
102    <diagnostics>
103      <messageLogging logEntireMessage="true" logMalformedMessages="true" logMessagesAtServiceLevel="true" logMessagesAtTransportLevel="true" maxMessagesToLog="3000"/>
104    </diagnostics>
105    <bindings>
106      <wsHttpBinding>
107        <binding name="WSHttpBinding_IControllerService" receiveTimeout="00:10:00" sendTimeout="00:10:00" maxBufferPoolSize="2147483647" maxReceivedMessageSize="2147483647">
108          <readerQuotas maxDepth="2147483647" maxStringContentLength="2147483647" maxArrayLength="2147483647" maxBytesPerRead="2147483647" maxNameTableCharCount="2147483647"/>
109          <security mode="Message">
110            <transport clientCredentialType="Certificate"/>
111            <message clientCredentialType="UserName"/>
112          </security>
113        </binding>
114      </wsHttpBinding>
115    </bindings>
116    <behaviors>
117      <serviceBehaviors>
118        <behavior name="ServiceBehaviour_IControllerService">
119          <!-- To avoid disclosing metadata information, set the value below to false and remove the metadata endpoint above before deployment -->
120          <serviceMetadata httpGetEnabled="true" httpsGetEnabled="false"/>
121          <!-- 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 -->
122          <serviceDebug httpHelpPageEnabled="true" includeExceptionDetailInFaults="true"/>
123          <serviceAuthorization principalPermissionMode="UseAspNetRoles" roleProviderName="AspNetSqlRoleProvider"/>
124          <serviceCredentials>
125            <serviceCertificate findValue="localhost" x509FindType="FindBySubjectName"/>
126            <userNameAuthentication userNamePasswordValidationMode="MembershipProvider" membershipProviderName="AspNetSqlMembershipProvider"/>
127          </serviceCredentials>
128          <serviceSecurityAudit auditLogLocation="Application" suppressAuditFailure="false" messageAuthenticationAuditLevel="SuccessOrFailure"/>
129          <serviceThrottling maxConcurrentCalls="100"/>
130          <dataContractSerializer maxItemsInObjectGraph="2147483647"/>
131        </behavior>
132      </serviceBehaviors>
133      <endpointBehaviors>
134        <behavior name="LocalCertValidation">
135          <clientCredentials>
136            <serviceCertificate>
137              <authentication certificateValidationMode="None" />
138            </serviceCertificate>
139          </clientCredentials>
140          <dataContractSerializer maxItemsInObjectGraph="2147483647"/>
141        </behavior>
142      </endpointBehaviors>
143    </behaviors>
144    <services>
145      <service behaviorConfiguration="ServiceBehaviour_IControllerService" name="HeuristicLab.Services.Optimization.ControllerService.PlaceholderControllerService">
146        <endpoint address="mex" binding="mexHttpBinding" bindingConfiguration="" name="MexEndpoint" contract="IMetadataExchange"/>
147        <endpoint binding="wsHttpBinding" bindingConfiguration="WSHttpBinding_IControllerService" name="WSHttpBinding_IControllerService" contract="HeuristicLab.Services.Optimization.ControllerService.IControllerService"/>
148      </service>
149    </services>
150    <serviceHostingEnvironment multipleSiteBindingsEnabled="true" />
151    <client>
152      <endpoint address="http://localhost:2092/ControllerService.svc" behaviorConfiguration="LocalCertValidation"
153          binding="wsHttpBinding" bindingConfiguration="WSHttpBinding_IControllerService"
154          contract="HeuristicLab.Services.Optimization.ControllerService.IControllerService" name="WSHttpBinding_IControllerService">
155        <identity>
156          <certificate encodedValue="ADJUST_ME" />
157        </identity>
158      </endpoint>
159    </client>
160  </system.serviceModel>
161</configuration>
Note: See TracBrowser for help on using the repository browser.