Extensibility in application

  • 6,498 views
Uploaded on

Extensibility with .NET 4.0 using MEF.

Extensibility with .NET 4.0 using MEF.

More in: Technology , Education
  • 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
6,498
On Slideshare
0
From Embeds
0
Number of Embeds
7

Actions

Shares
Downloads
17
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. Extensibility in Applicationusing MEF
    By Abhishek Sur
    Website: www.abhisheksur.com
    Email : contact@abhisheksur.com
    Twitter : @abhi2434
  • 2. Agenda
  • 3. What is Extensibility
  • 4. Extensiblity
    Extensibility is an ability to design an application in such a manner so that 3rd party vendor can come along and customize it.
    Extensibility does not require the application to be redeployed.
    Extensible applications are flexible on client needs.
    Examples : Microsoft Office, Skype, World Warcraft etc.
  • 5. Bertrand Meyer’s Open Close Principle
  • 6. Benefits of Extensible application
    Reusability
    Modularizing
    Loose Coupling
    Greater Momentum
    Support for 3rd party vendors
    Feeling of Ownership
  • 7. Problems of Extensible application
    Development process is more complex.
    Architecture should be thought before actual development begins.
    Security
    More error prone
  • 8. Demo
    Extensibility in your Application
  • 9. Managed Extensibility Framework
  • 10. How to MEF
  • 11. Export
  • 12. Import
  • 13. Compose
  • 14. MEF Architecture
    Catalog
    CustomExportProvider
    CatalogExportProvider
    AggregatingExportProvider
    CompositionContainer
    Part
    Part
    Part
    Export
    Import
    Export
    Import
    Export
    Import
  • 15. MEF
    Catalog
    Discovers and maintain extensions
    CompositionContainer
    Coordinate creations and satisfy dependencies
    ComposablePart
    Are Imports and Exports that are composable to the Container
    Support for LAZY
    Support for Dynamic Recomposition
  • 16. Demo
    Adding MEF to the application
  • 17. Finally
    Visual Studio is rich with MEF components
    They export functionality that your code might need.
    They import functionality that your code might offer.
    Your extension can export:
    IWPFTextViewMarginProvider
    ITaggerProvider
    IMouseProcessorProvider
    ICompletionSourceProvider
    There are lots more…….
  • 18. References
    MEF Article
    http://tinyurl.com/MEFWORLD
    MEF Source
    http://tinyurl.com/MEFSOURCE
    MEF Guide
    http://tinyurl.com/mefguide
    MEF Blogs
    http://tinyurl.com/mefBlogs
    MEF Discussions
    http://tinyurl.com/mefDiscussions
  • 19. Abhishek Sur, MVP (Client App Dev)
    www.abhisheksur.com
    Email: contact@abhisheksur.com
    Twitter : @abhi2434
    Thank you.