So far I found that MEF is going well with presentation layer with following benefits.
- DI (Dependency Injection)
- Third party extensibility (Note that all parties involved should use MEF)
- Auto discovery of Parts (Extensions)
- MEF allows tagging extensions with additional metadata which facilitates rich querying and filtering
- 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?