Jon Takes Five with Javier Lozano on MVC Turbine
- Posted: Apr 06, 2010 at 8:26 AM
- 41,523 Views
- 3 Comments
Loading User Information from Channel 9
Something went wrong getting user information from Channel 9
Loading User Information from MSDN
Something went wrong getting user information from MSDN
Loading Visual Studio Achievements
Something went wrong getting the Visual Studio Achievements
Right click “Save as…”
Comments have been closed since this content was published more than 30 days ago, but if you'd like to continue the conversation,
please create a new thread in our Forums,
or
Contact Us and let us know.
Follow the Discussion
Oops, something didn't work.
What does this mean?
Following an item on Channel 9 allows you to watch for new content and comments that you are interested in. You need to be signed in to Channel 9 to use this feature.What does this mean?
Following an item on Channel 9 allows you to watch for new content and comments that you are interested in and view them all on your notifications page.sign up for email notifications?
Abstracting your favorite IoC container is a really terrible idea. Why would you use Unity over StructureMap over NInject, etc if you're just going to abstract away the power? Doesn't make a lot of sense from an architectural perspective. Why take on an additional dependency that is just an abstraction on IoC and dependency containers, wire-ups, etc?
And another thing... infered actions. Why would you use MVC if you're just returning a view? Smells exactly like webforms at that point.
@zowens, yes abstracting your favorite IoC container is a terrible idea since, as you stated you lose all the power and features it provides to have a lowest common denominator solution. The purpose of MVC Turbine is not to replace your IoC but to add composition to MVC applications. I've covered this conversation before with my MVC Turbine Redux as well with podcasts, so I see no point on rehashing the information in this comment.
Support for IoC at all levels of an MVC application is something that's so important to ASP.NET developers that has been added to the feature roadmap for MVC3. Although MVC Turbine is not the ideal solution, it does help shed light on the issue and provides a tangible solution to this recurring theme.
Exactly, it's not about abstracting your favorite IoC container, it's just a by-result of not taking a dependency on a specific container which is a bigger gain than lose in case of MVCTurbine, you still can use 99% of the power of your favorite container (and its extensions).
@jglozano: I watched the video and the idea of injecting dependencies into http modules is seeeet
The 2.1 bits are great giving you ways to cover for the 1% of less common scenarios if you really need that and know the drawbacks.
Good luck with the project!
Remove this comment
Remove this thread
close