Is there any IOC container that already implements a controller factory compatible with asp.net mvc 2.0 ....if so i'll move my projects to 2.0 to test... Anyone know a good reference about it?
-
Personally, I don't like Unity but I'll take a good look in contrib....I'll post the results when I Can...any reference article on how to use It?Diego– Diego2009-12-18 05:32:14 +00:00Commented Dec 18, 2009 at 5:32
-
I'd recommend StructureMap. Breeze to work with.Chris Holmes– Chris Holmes2009-12-18 17:17:35 +00:00Commented Dec 18, 2009 at 17:17
Add a comment
|
3 Answers
MVCContrib has four different flavors for you ( StructureMap, Windsor, Spring.Net, Unity ) http://github.com/mvccontrib/MvcContrib/tree/mvc2/src/
Here is a direct link to the Unity one: http://github.com/mvccontrib/MvcContrib/blob/mvc2/src/MvcContrib.Unity/UnityControllerFactory.cs