Skip to content
This repository was archived by the owner on Apr 5, 2019. It is now read-only.

Adds a ControllerFactory to the StructureMap.MVC4 DependencySolution which lets you control the invoked controller for your StructureMap MVC4 Internet Application.

Notifications You must be signed in to change notification settings

colonaut/StructureMapControllerFactory

Repository files navigation

StructureMap.MVC4.ControllerFactory
-----------------------------------
      
This adds a ControllerFactory to the StructureMap.MVC4 DependencySolution which lets you control the envoked controller for your StructureMap MVC4 Internet Application.

The approach is an overworked iplementation of the controller factory from structure map of Arnold Zokas, which is designed for an Integration of RavenDB w/o having to derive the Mvc Controller.
Arnold's approach of triggering RavenDB UoW is implemented in NuGet Packages relying to this one, besides, it is not required, but makes it a lot easier create unit tests or specs.


For an explanation of his approach look into his blog: http://novuscraft.com/blog/ravendb-unitofwork-and-mvc-revisited, http://web.archive.org/web/20120410052106/http://novuscraft.com/blog/ravendb-unitofwork-and-mvc-revisited

This implementation is built on StructureMap.MVC4 (Web Advanced)

It's strongly recommended to pack the nuspec file and add the package to your solution, rather than reference it, as the package will add only the neccessary files to your solution, which you can then edit.

About

Adds a ControllerFactory to the StructureMap.MVC4 DependencySolution which lets you control the invoked controller for your StructureMap MVC4 Internet Application.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published