Skip to content

.NET Managed Extensiibility Framework: Helpful Info Sources

April 17, 2013

In late 2011 I used some of the .Net Managed Extensibility Framework’s (MEF) capabilities on a short Silverlight/Prism project.  For the last 2 weeks I’ve been up to my ears in using a lot more MEF in WPF and WCF. Here are a few really helpful information sources I’ve found.

A very useful and professional tutorial, complete with simple code examples:

http://www.codeproject.com/Articles/376033/From-Zero-to-Proficient-with-MEF

The Microsoft documentation for MEF on CodePlex is really well done:

http://mef.codeplex.com/wikipage?title=Guide

I also found that Jeremy Likness has lots of good stuff on MEF in past blogs, an online course, and a great chapter in his book Designing Silverlight Business Applications, along with code examples.

After successfully working with MEF for the past 2 weeks, using it mainly to extend an app (as opposed to using it as for Dependency Injection), I really like it. It is farily easy to learn, easy to use, and quite powerful.  MEF gives you a lot of options. It also lets you release an export when done with it so the exported object won’t cause memory leaks due to the MEF container holding a reference to it.

I hope you find these sources as helpful as I did.  Have fun “Meffing around”!

George Stevens

Creative Commons License

dotnetsilverlightprism blog by George Stevens is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License. Based on a work at dotnetsilverlightprism.wordpress.com.

Advertisements
Leave a Comment

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: