Free cookie consent management tool by TermsFeed Policy Generator

source: branches/WebApplication/MVC2/HeuristicLabWeb.PluginHost/HLWebPluginHost/Web.config @ 4609

Last change on this file since 4609 was 4604, checked in by dkahn, 14 years ago

#1198 Imported new Plugin Host solution for the new MVC2 based web application

File size: 3.0 KB
Line 
1<?xml version="1.0"?>
2
3<!--
4  For more information on how to configure your ASP.NET application, please visit
5  http://go.microsoft.com/fwlink/?LinkId=152368
6  -->
7
8<configuration>
9  <connectionStrings>
10    <add name="ApplicationServices"
11         connectionString="data source=.\SQLEXPRESS;Integrated Security=SSPI;AttachDBFilename=|DataDirectory|aspnetdb.mdf;User Instance=true"
12         providerName="System.Data.SqlClient" />
13  </connectionStrings>
14
15  <system.web>
16    <compilation debug="true" targetFramework="4.0">
17      <assemblies>
18        <add assembly="System.Web.Abstractions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
19        <add assembly="System.Web.Routing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
20        <add assembly="System.Web.Mvc, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
21      </assemblies>
22    </compilation>
23
24    <authentication mode="Forms">
25      <forms loginUrl="~/Account/LogOn" timeout="2880" />
26    </authentication>
27
28    <membership>
29      <providers>
30        <clear/>
31        <add name="AspNetSqlMembershipProvider" type="System.Web.Security.SqlMembershipProvider" connectionStringName="ApplicationServices"
32             enablePasswordRetrieval="false" enablePasswordReset="true" requiresQuestionAndAnswer="false" requiresUniqueEmail="false"
33             maxInvalidPasswordAttempts="5" minRequiredPasswordLength="6" minRequiredNonalphanumericCharacters="0" passwordAttemptWindow="10"
34             applicationName="/" />
35      </providers>
36    </membership>
37
38    <profile>
39      <providers>
40        <clear/>
41        <add name="AspNetSqlProfileProvider" type="System.Web.Profile.SqlProfileProvider" connectionStringName="ApplicationServices" applicationName="/" />
42      </providers>
43    </profile>
44
45    <roleManager enabled="false">
46      <providers>
47        <clear/>
48        <add name="AspNetSqlRoleProvider" type="System.Web.Security.SqlRoleProvider" connectionStringName="ApplicationServices" applicationName="/" />
49        <add name="AspNetWindowsTokenRoleProvider" type="System.Web.Security.WindowsTokenRoleProvider" applicationName="/" />
50      </providers>
51    </roleManager>
52
53    <pages>
54      <namespaces>
55        <add namespace="System.Web.Mvc" />
56        <add namespace="System.Web.Mvc.Ajax" />
57        <add namespace="System.Web.Mvc.Html" />
58        <add namespace="System.Web.Routing" />
59      </namespaces>
60    </pages>
61  </system.web>
62
63  <system.webServer>
64    <validation validateIntegratedModeConfiguration="false"/>
65    <modules runAllManagedModulesForAllRequests="true"/>
66  </system.webServer>
67
68  <runtime>
69    <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
70      <dependentAssembly>
71        <assemblyIdentity name="System.Web.Mvc" publicKeyToken="31bf3856ad364e35" />
72        <bindingRedirect oldVersion="1.0.0.0" newVersion="2.0.0.0" />
73      </dependentAssembly>
74    </assemblyBinding>
75  </runtime>
76</configuration>
77
Note: See TracBrowser for help on using the repository browser.