What is Catalog in MEF?

 Posted by Niladri.Biswas on 7/19/2012 | Category: .NET Framework Interview questions | Views: 1336 | Points: 40

MEF is a framework for creating extensible applications that allows developers to discover and use extensions with no configuration required.Part is an object (e.g. a class, a method or a property) that can be imported or exported to the application.The parts are discovered dynamically via catalogs .Catalogs allow applications to easily consume exports that have self-registered themselves via the Export attribute.In MEF, Catalog's responsibility is to look for the compose-able parts (import and export definitions).
There are various kinds of catalogs as Assembly Catalog,Directory Catalog,TypeCatalog,Aggregate Catalog etc.

Asked In: Many Interviews | Alert Moderator 

Comments or Responses

Login to post response