MEF ctr. Structuremap

Sep 29, 2012 at 7:12 AM


I've read a lot about MEF, but fails miserably in seeing why one should choose MEF instead of Structuremap?

As I understand, correct me if I'm wrong, MEF is an excellent choice if the project doesn't have any requirements of Dependency Injection or if a D.I was chosen without regards to plugins.

Oct 2, 2012 at 12:34 PM

I'm not sure what your question is.  MEF is all about dependency injection and application plugins and I've used it effectively in both capacities since it was released.  Can you be more specific about what your goals are and why you think MEF wouldn't meet them and then it will be possible to give you some information that might help you make a choice.

However, if you are happy with StructureMap and it meets your needs, I wouldn't be one to argue for you to change for the sake of change.