Creating extensible application using MEF

  • 2,126 views
Uploaded on

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

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

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

More in: Technology , Design
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Be the first to comment
    Be the first to like this
No Downloads

Views

Total Views
2,126
On Slideshare
0
From Embeds
0
Number of Embeds
0

Actions

Shares
Downloads
24
Comments
0
Likes
0

Embeds 0

No embeds

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
    No notes for slide

Transcript

  • 1. Creating extensible application using MEF @Ben_Hall Ben@BenHall.me.uk Blog.BenHall.me.uk
  • 2. Agenda • MEF ABCs • Extensibility in .Net 2.0 • Extensibility with MEF • MEF Internally
  • 3. Managed Extensibility Framework
  • 4. Internal and External
  • 5. MS-PL
  • 6. [Export] I have something to offer
  • 7. [Import] I need something
  • 8. Catalog I know about some exports
  • 9. Container I know about everything
  • 10. DEMO HELLO WORLD
  • 11. DEMO LIFE IN 2.0
  • 12. DEMO LIFE WITH MEF
  • 13. DEMO BEYOND 3RD PARTY ADDINS
  • 14. DEMO BEING SELECTIVE
  • 15. Visual Studio 2010
  • 16. In summary...
  • 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. Thank you Ben Hall Ben@BenHall.me.uk Blog.BenHall.me.uk
  • 19. Resources • http://blog.BenHall.me.uk • http://www.codeplex.com/mef • http://blogs.msdn.com/gblock
  • 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/