SPRNET-1450

-adjust base class for MvcApplicationContext to WebApplicationContext to acquire proper session scope support
This commit is contained in:
sbohlen
2011-07-05 20:56:07 +00:00
parent 3cbfdb2ae5
commit c46d1be0e2
7 changed files with 45 additions and 25 deletions

View File

@@ -31,7 +31,7 @@ namespace Spring.Context.Support
/// <summary>
/// Application Context for ASP.NET MVC Applications
/// </summary>
public class MvcApplicationContext : AbstractXmlApplicationContext
public class MvcApplicationContext : WebApplicationContext
{
private readonly string[] _configurationLocations;

View File

@@ -10,7 +10,7 @@
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>Spring.Web.Mvc</RootNamespace>
<AssemblyName>Spring.Web.Mvc</AssemblyName>
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
<TargetFrameworkVersion>v3.5</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<TargetFrameworkProfile />
</PropertyGroup>
@@ -66,6 +66,10 @@
<Name>Spring.Core.2010</Name>
<Private>True</Private>
</ProjectReference>
<ProjectReference Include="..\Spring.Web\Spring.Web.2010.csproj">
<Project>{BA4789EB-281A-48EA-8763-28B9F0596A18}</Project>
<Name>Spring.Web.2010</Name>
</ProjectReference>
</ItemGroup>
<ItemGroup>
<Folder Include="Properties\" />

View File

@@ -14,6 +14,7 @@
<dependencies>
<dependency id="Common.Logging" version="1.2.0" />
<dependency id="Spring.Core" version="1.3.1" />
<dependency id="Spring.Web" version="1.3.1" />
</dependencies>
</metadata>
<files>

View File

@@ -14,6 +14,7 @@
<dependencies>
<dependency id="Common.Logging" version="1.2.0" />
<dependency id="Spring.Core" version="1.3.1" />
<dependency id="Spring.Web" version="1.3.1" />
</dependencies>
</metadata>
<files>