Using Common service locator

Dec 14, 2010 at 9:38 AM


I am using MEF as a DI container (using Export and ImportingConstructor) for injecting dependencies.

Now, If I have to create a concrete implementation of Services (say IServiceDemo to ServiceDemo object), but not with constructor. Do I need to use a service locator?

Does MEF itself provide a mechanism for service location?