Uploaded image for project: 'Spring.NET'
  1. Spring.NET
  2. SPRNET-1343

Provide initial ASPNET MVC Integration for core DI capabilites

    Details

    • Type: New Feature
    • Status: Resolved
    • Priority: Major
    • Resolution: Complete
    • Affects Version/s: 1.3.1
    • Fix Version/s: 1.3.1
    • Component/s: Spring-NET-WEBMVC
    • Labels:
      None

      Description

      ASP.NET MVC provides an IControllerFactory abstraction and the (easy) ability to provide your own and wire it into the MvcApplication controller-resolution pipeline to support DI in re: controller dependencies. Spring.NET should provide its own SpringMvcApplication class derived from MvcApplication and register its own SpringControllerFactory implementation that provides for using the container to resolve controllers and their dependencies.

      This is the initial very low-level (but quick to implement) introduction of at least minimal support for ASP.NET MVC by Spring.NET.

      Note that depending on the release calendar for 1.3.1 in re: its relation to that of ASP.NET MVC3, the level of container integration may be greater than just for controllers since MVC3 is set to support container registration/resolution of types in connection with ActionFilters, ModelBinders, and more so there may be more container-related integration points to explore/integrate with when the time comes.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                sbohlen Steve Bohlen
                Reporter:
                sbohlen Steve Bohlen
              • Votes:
                1 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - 1d
                  1d
                  Remaining:
                  Remaining Estimate - 1d
                  1d
                  Logged:
                  Time Spent - Not Specified
                  Not Specified