Why and When slides from my MEF lecture


no comments

Why and When slides from my MEF lectureMEF, Extensibility, bnaya eshet


some time we are so enthusiastic about the technology,

that we forgot to explain the Why and When.


so I thought it could be nice to share those aspects with you.




when we asking Why to use the MEF technology we can think on the following reasons:

Simple to understand

Simple to implement

• The CLR 4 Extensibility standard

Contract based model (type safe)

• Easy deployment (support copy / paste deployment)

• Zero configuration

• Ease of Maintenance

Silverlight support



rules of thumb for When should we consider using MEF.

when ever we are using or considering one of the following,

we may use MEF instead:


Factory pattern

Command pattern

• Any other creational pattern

IoC (Inversion of control)

Add comment
facebook linkedin twitter email

Leave a Reply

Your email address will not be published.

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>