Creating extensible application using MEF - Presentation Transcript
Creating extensible application
using MEF
@Ben_Hall
Ben@BenHall.me.uk
Blog.BenHall.me.uk
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 be decoupled
• Override your built in defaults
• Part of .Net 4.0
• Available today from Codeplex
Thank you
Ben Hall
Ben@BenHall.me.uk
Blog.BenHall.me.uk
0 comments
Post a comment