What are Structure Map and Spring.Net?
What are the differences between Structure Map and Spring.Net? Why they are used? Are these new patterns?
As far as I understand these are IOC(Inversion of Control) and use DI (Dependency Injection) with xml-based configuration files. Enterprise Library 1.1 is using DI, Plugin, and Factory Method, based on an xml configuration file (Configuraton Context etc...).
What is the difference between the two? Which one should I use? I am confused and need some kind of a roadmap.
Volkan Genç, Jun 22, 2010
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
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:
Hope that helps.
Christian Jacob, Jun 24, 2010