Welcome to MSDN Blogs Sign in | Join | Help

MEFGrid: A Sample MEF Application

image

MEFGrid is a sample MEF application that I presented at Seattle Code Camp and at an Olympia .NET user group meeting.  It includes connect 4 and the game of life, but other grid based games could be written and dropped into the extensions directory.

The application demonstrates some of the more advanced features of MEF.  The available life patterns, for example, are stored as text files in the LifePatterns directory.  A custom catalog makes these available as string-based exports via a custom programming model, and the life game uses a contract adapter to convert the string-based exports to command exports that set the current life pattern.

If I can find the time I will write a series of blog posts explaining how the application works in more detail.  For now, feel free to post questions in the comments or on the MEF discussion forums.

Download the MEFGrid sample.

Published Wednesday, January 14, 2009 9:48 PM by dsplaisted

Attachment(s): MEFGrid.zip

Comment Notification

If you would like to receive an email when updates are made to this post, please register here

Subscribe to this post's comments using RSS

Comments

# Zen and the art of Castle maintenance » Blog Archive » MEFGrid

Leave a Comment

(required) 
required 
(required) 

  
Enter Code Here: Required
 
Page view tracker