Are there any frameworks out there that allow for data-driven dependency injection (ideally in .NET)? I'm thinking something inspired by Spring.NET for example, where you configure your object graphs in structured database tables, rather than using an XML config file. What would be the pros and cons of configuring your application in the database rather than an XML file?
+1
A:
Here is a list of .Net IOC Frameworks
and one right out microsoft's patterns and practices that I like... Unity
J.13.L
2009-06-02 05:56:16
Thanks for the link, I'll look into those
Andy White
2009-06-11 07:27:06
+1
A:
Autofac has the concept of modules, which allow you to conditionally configure the registrations in the container.
Modules also allow re-use of related sets of registrations.
Bryan Watts
2009-06-04 01:31:41