By bloid
via weblogs.asp.net
Published: Oct 14 2008 / 01:33
In this tip, I demonstrate how you can use the dependency injection with StructureMap within an MVC application. StructureMap is an open source Dependency Injection framework for the .NET platform and has been in use since 2004 .StructureMap supports both setter and constructor injection and also offers testing and diagnostic features such as logging, tracing and wiring of mock objects. For download and more details visit http://structuremap.sourceforge.net/default.htm. Jeremy D Miller’s (Creator of StructureMap) blog is a great learning resource for StructureMap and good object oriented programming thoughts.



Comments
Miloskov replied ago:
It is funny the C# folks now go with MVC frameworks and DI and the Java Folks go with Component based with Webbeans(Objects) the opposite.
"Component based with Webbeans(Objects)" VS "MVC action based with DI"?
Voters For This Link (6)
Voters Against This Link (1)