Back to list
Views:   0
Replies:  0
Archived
,
I'd also give LightCore a try... it's like the name suggests a light weight DI container that's still sort of feature rich. ;-) The website is in german, I believe, but I am sure, you will find the code interesting (http://lightcore.peterbucher.ch/)
Jul 01, 2010
If you're interested in a dependeny injector, I'd recommend you take a look at Ninject (http://ninject.org). It doesn't use any Xml for its configuration, and it is easy to get started with.
Jun 27, 2010
Reply 1
What I don't understand is, you obviously seem to know the buzzwords (StructureMap, Spring.NET, Enterprise Library, Inversion of Control, Dependency Injection, etc...). Why are you not able to put the pieces together on your own?

To sum it up a little:
  • Both StructureMap and Spring.Net are Frameworks as well as the Enterprise Library is
  • StructureMap is known as the oldest IoC Container offering Dependency Injection for .NET based development
  • Spring.Net is a framework that is supposed to make life as a developer easier (containing features like e.g. object relational mapping through NHibernate, better Databinding and Validation for ASP.NE, Remoting, UnitTesting and more. Amongst those features, you can find the Spring.Net Core which is essentially its own IoC Container.
  • Enterprise Library is a library of modules based on best practices featured by Microsoft. It has a lot of so called Application Blocks (Validation for example) and further more uses Unity as a base for its own IoC Container.
Dependency Injection and Inversion of Control are pattern that allow you decouple your concrete implementation of some functionality from the logic of your code. By configuration through an xml file or even dynamically at runtime, you can decide which concrete implementation of an interface you are going to work with.

Hope that helps.
-Chris
Christian Jacob, Jun 24, 2010
Stay Inspired!
Join other developers and designers who have already signed up for our mailing list.
Terms     Privacy     Licensing       EULA       Sitemap      
© Data & Object Factory, LLC.
Made with    in Austin, Texas