This project has moved. For the latest updates, please go here.

Using MEF in Service layer (WCF)

Jun 7, 2011 at 11:57 AM

Hi all,

So far I found that MEF is going well with presentation layer with following benefits.

  1. DI (Dependency Injection)
  2. Third party extensibility (Note that all parties involved should use MEF)
  3. Auto discovery of Parts (Extensions)
  4. MEF allows tagging extensions with additional metadata which facilitates rich querying and filtering
  5. Can be used to resolve Versioning issues together with “DLR and c# dynamic references” or “type embedding”

Pls correct me if I’m wrong.

I'm doing the research on whether to use MEF in Service layer with WCF in n-tier application. Pls share your experience using these two together and how MEF is helping you?