Spring.NET ASP.NET MVC Infrastructure for ASP.NET MVC 3.0
-
+ Introduction to Spring.NET ASP.NET MVC InfrastructureThe Spring.NET for ASP.NET MVC Infrastructure increases your
@@ -55,7 +55,7 @@
- Web object scopes.
+ Web object scopes.
Just as with the Spring.NET Web Infrastructure for ASP.NET Webforms,
Spring.Web.Mvc objects can be defined at the application, session, or
request scope. This capability makes it easy to inject, for example, a
@@ -69,10 +69,10 @@
integrate Spring.Web.Mvc into your own ASP.NET MVC applications.
-
+ Automatic context loading and hierarchical contexts
-
+ Configuration of a ASP.NET MVC ApplicationSpring.Web.Mvc builds on top of the Spring.NET IoC container.
@@ -199,35 +199,35 @@
method, the underlying behavior of the ASP.NET MVC integration with
Spring.NET is unlikley to function as intended.
-
+ Application_BeginRequest(object sender, EventArgs e)This method is provided by the Microsoft base
HttpApplication class and is overridden in the
SpringMvcApplication base class to be responsible
for invoking the BuildDependencyResolver
+ linkend="mvc3-build-dependency-resolver-method">BuildDependencyResolver
and RegisterDependencyResolver
+ linkend="mvc3-register-dependency-resolver-method">RegisterDependencyResolver
methods. If you choose to override the
Application_BeginRequest implementation of the
SpringMvcApplication class in your own
implementation, ensure that you either call
base.Application_BeginRequest or explicitly invoke
both the BuildDependencyResolver
+ linkend="mvc3-build-dependency-resolver-method">BuildDependencyResolver
and RegisterDependencyResolver
+ linkend="mvc3-register-dependency-resolver-method">RegisterDependencyResolver
methods within your override of this method.
-
+ ConfigureApplicationContext()This method is invoked by the
SpringMvcApplication class after it has been
configured with all of its object definitions and other settings (as
- detailed in Configuration of a
+ detailed in Configuration of a
ASP.NET MVC Application) but immediately prior to its being
handed off to the ASP.NET MVC infrastructure for its use. Overridding
this method provides you with your last possible moment to make any
@@ -240,7 +240,7 @@
application startup/context configuration lifecycle.
-
+ BuildDependencyResolver()This method is responsible for assembling and returning the
@@ -256,7 +256,7 @@
SpringMvcApplication.
-
+ RegisterDependencyResolver(IDependencyResolver
resolver)
@@ -280,7 +280,7 @@
-
+ Web object scopesSpring.NET web applications support an additional attribute within