msnetwork2011 -how to build extensible silverlight application using mef
TRANSCRIPT
How to build extensible Silverlight
application using MEF
Radenko Zec – Software Development Consultant at Lanaco d.o.o
http://blog.developers.ba
Evergreen Question
How to build .NET applications from components that can be discovered, reused and composed dynamically?
Many working solutions, but none specifically targeted to general third-party extensibility
What’s MEF, Anyway?
MEF Component ExportImport MEF Component ExportImport
Composition
The key elements
How MEF works
Simple MEF - MVVM
demo
MEF VS IOC container
When to use MEF ?
Catalogs – Type, Aggregate, Directory, Deployment
Lazy load component's
Import many
Metadata tagging
Creation policies
ExportFactory
Custom attributes
ImportingContructor
CompositionContainer
Recomposition
Allow default
demo