Fav 3 : Three Favorite .NET Tips and Tricks from Daily .NET Tips – Series 6

Here is the sixth post of the Fav 3 series that we are continuing.  Today’s favorite tips are based on Managed Extensibility Framework or MEF.

#1 Working with Catalogs in MEF

TypeCatalog, AssemblyCatalog, DirectoryCatalog & AggreagateCatalog are the four types of Catalogs yet supported by MEF. This tips talks about how to use different types of catalogs while dealing with Managed Extensible Framework.   [ Read Complete Post Here ]

 

#2 Getting Lazy with MEF

Lazy is a class that defer the object creation when it is actually needed. MEF supports the Lazy implementation internally. The Lazy type actually wraps around a type and creates the object of the type when the object is actually needed and used. I have written a post on Lazy implementation in .NET few months  [ Read Complete Post Here ]

 

#3 Working with Metadata in Contracts with MEF

MEF contracts supports customization through Metadata that can be associated with the Contracts. This tip shows you how easily you can make use of MEF metadata constructs to define contracts into the MEF system.   [ Read Complete Post Here ]

This is not all about MEF, you can read more about MEF from the additional references : 

Managed Extensibility Framework – A Look

Steps to write a plugin based application with MEF

Additional Tips on MEF

I hope this would come handy on learning MEF.

Abhishek Sur

Abhishek Sur is a Microsoft MVP since year 2011. He is an architect in the .NET platform. He has profound theoretical insight and years of hands on experience in different .NET products and languages. He leads the Microsoft User Group in Kolkata named KolkataGeeks, and regularly organizes events and seminars in various places for spreading .NET awareness. He is associated with the Microsoft Insider list on WPF and C#, and is in constant touch with product group teams. He blogs at http://www.abhisheksur.com His Book : Visual Studio 2012 and .NET 4.5 Expert Development Cookbook. Follow Abhishek at Twitter : @abhi2434

One Comment to “Fav 3 : Three Favorite .NET Tips and Tricks from Daily .NET Tips – Series 6”

Comments are closed.