Archives
-
MEF + Factories Using an Export Provider
Taking a different approach to resolving factory exports within MEF by using an ExportProvider (new in preview 3 drop) over using a part catalog. This approach ultimately leads to a cleaner and simpler solution. Read more …
-
MEF + Factories
Lately I've been really digging into MEF and have been looking at it's pros & cons, ease of use, extensibility, and the simple DI container that it can provide. I'm not going to give an overview of MEF, as others have done so already. What I am here to show off is a concept that may prove useful for some applications. Many of us use a DI container in very simplistic ways, as well as registering injection strategies during type resolution. Read more …