Creating extensible application
          using MEF

           @Ben_Hall
       Ben@BenHall.me.uk
       Blog.BenHall.me....
Agenda
•   MEF ABCs
•   Extensibility in .Net 2.0
•   Extensibility with MEF
•   MEF Internally
Managed Extensibility
    Framework
Internal and External
MS-PL
[Export]

I have something to offer
[Import]

I need something
Catalog

I know about some exports
Container

I know about everything
DEMO
HELLO WORLD
DEMO
LIFE IN 2.0
DEMO
LIFE WITH MEF
DEMO
BEYOND 3RD PARTY ADDINS
DEMO
BEING SELECTIVE
Visual Studio 2010
In summary...
Summary
• Need to compose parent for child imports to
  be populated
• Allows externals to hook-in
• Allows internals to b...
Thank you



     Ben Hall
Ben@BenHall.me.uk
Blog.BenHall.me.uk
Resources
• http://blog.BenHall.me.uk
• http://www.codeplex.com/mef
• http://blogs.msdn.com/gblock
Flickr Images
• http://www.flickr.com/photos/m0php/530526644/
• http://www.flickr.com/photos/dunechaser/2918021
  174/
• h...
Creating extensible application using MEF
Creating extensible application using MEF
Creating extensible application using MEF
Creating extensible application using MEF
Creating extensible application using MEF
Creating extensible application using MEF
Creating extensible application using MEF
Creating extensible application using MEF
Upcoming SlideShare
Loading in …5
×

Creating extensible application using MEF

2,589 views

Published on

Creating extensible application using MEF session delivered at DDD Belfast, 4th April 2009.

Code samples are available on blog.benhall.me.uk

Published in: Technology, Design
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
2,589
On SlideShare
0
From Embeds
0
Number of Embeds
150
Actions
Shares
0
Downloads
27
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Creating extensible application using MEF

  1. 1. Creating extensible application using MEF @Ben_Hall Ben@BenHall.me.uk Blog.BenHall.me.uk
  2. 2. Agenda • MEF ABCs • Extensibility in .Net 2.0 • Extensibility with MEF • MEF Internally
  3. 3. Managed Extensibility Framework
  4. 4. Internal and External
  5. 5. MS-PL
  6. 6. [Export] I have something to offer
  7. 7. [Import] I need something
  8. 8. Catalog I know about some exports
  9. 9. Container I know about everything
  10. 10. DEMO HELLO WORLD
  11. 11. DEMO LIFE IN 2.0
  12. 12. DEMO LIFE WITH MEF
  13. 13. DEMO BEYOND 3RD PARTY ADDINS
  14. 14. DEMO BEING SELECTIVE
  15. 15. Visual Studio 2010
  16. 16. In summary...
  17. 17. Summary • Need to compose parent for child imports to be populated • Allows externals to hook-in • Allows internals to be decoupled • Override your built in defaults • Part of .Net 4.0 • Available today from Codeplex
  18. 18. Thank you Ben Hall Ben@BenHall.me.uk Blog.BenHall.me.uk
  19. 19. Resources • http://blog.BenHall.me.uk • http://www.codeplex.com/mef • http://blogs.msdn.com/gblock
  20. 20. Flickr Images • http://www.flickr.com/photos/m0php/530526644/ • http://www.flickr.com/photos/dunechaser/2918021 174/ • http://www.flickr.com/photos/mag3737/191407627 7/ • http://www.flickr.com/photos/25501212@N05/2934 269081/ • http://www.flickr.com/photos/zen/2273186263/ • http://www.flickr.com/photos/leon_homan/2856628 778/

×