Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

MsNetwork2011 -How to build extensible silverlight application using MEF


Published on

Published in: Technology
  • Be the first to comment

  • Be the first to like this

MsNetwork2011 -How to build extensible silverlight application using MEF

  1. 1. How to build extensible Silverlight application using MEF Radenko Zec – Software Development Consultant at Lanaco d.o.o
  2. 2. 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
  3. 3. What’s MEF, Anyway? MEF Component ExportImport MEF Component ExportImport Composition
  4. 4. The key elements
  5. 5. How MEF works
  6. 6. Simple MEF - MVVM demo
  7. 7. MEF VS IOC container
  8. 8. When to use MEF ?
  9. 9. Catalogs – Type, Aggregate, Directory, Deployment Lazy load component's Import many Metadata tagging Creation policies ExportFactory Custom attributes ImportingContructor CompositionContainer Recomposition Allow default demo