HTML5 Canvas
Written by: Simon Sarris
Featured Refcardz: Top Refcardz:
  1. Apache Hadoop
  2. Web Driver
  3. MVVM
  4. REST
  5. ADO.NET
  1. HTML5
  2. Ajax
  3. jQuery Selectors
  4. CSS Part 1
  5. Git

Link Details

Link 125397 thumbnail
User 111696 avatar

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.
  • 6
  • 1
  • 1608
  • 0

Comments

Add your comment
User 338269 avatar

Miloskov replied ago:

0 votes Vote down Vote up Reply

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"?

Add your comment


Html tags not supported. Reply is editable for 5 minutes. Use [code lang="java|ruby|sql|css|xml"][/code] to post code snippets.

Voters For This Link (6)



Voters Against This Link (1)