Extensibility with sl4 and mef (en)
Upcoming SlideShare
Loading in...5
×
 

Extensibility with sl4 and mef (en)

on

  • 1,416 views

 

Statistics

Views

Total Views
1,416
Views on SlideShare
1,393
Embed Views
23

Actions

Likes
0
Downloads
12
Comments
0

2 Embeds 23

http://weblogs.asp.net 22
http://www.linkedin.com 1

Accessibility

Categories

Upload Details

Uploaded via as Microsoft PowerPoint

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

Extensibility with sl4 and mef (en) Extensibility with sl4 and mef (en) Presentation Transcript

  • Construção de Soluções Extensíveis com Silverlight 4.0 e MEF
    Nuno Godinho – Independent Consultant
  • Construção de Soluções Extensíveis com Silverlight 4.0 e MEF
    Nuno Godinho – Independent Consultant
  • Nuno Filipe Godinho
    Independent Consultant
    Mail: Nuno.Godinho@itech4all.com
    Nuno.Godinho@sapo.pt
    MSN: Nuno_God@hotmail.com
    Blogs: http://pontonetpt.com/blogs/nunogodinho
    http://xamlpt.com/blogs/nunogodinho
    http://weblogs.asp.net/nunogodinho
    http://msmvps.org/blogs/nunogodinho
    Twitter: NunoGodinho
    About Me
  • Agenda
  • Introduction to MEF
    MEF and MVVM
    Solution Modularity
    Event Aggregation
    Summary
    Agenda
  • Introduction to MEF
  • What is MEF - Managed Extensibility Framework?
    “MEF makes building extensible apps, libraries and frameworks easy” – Glenn Block
    http://blogs.msdn.com/b/gblock/archive/2008/09/26/what-is-the-managed-extensibility-framework.aspx
    “New library in .NET Framework 4 and Silverlight 4 that addresses the extensibility problem by simplifying the design of extensible applications and components”
    http://mef.codeplex.com/
    Introduction to MEF
  • Basic Concepts
    An Application is built using parts
    Introduction to MEF
  • Basic Concepts
    Introduction to MEF
    3. Compose
    Shell Application
    View Models
    Modules
    Application Parts
    1. Import
    Pages
    Actions
    Functionalities
    2. Export
  • MEF and MVVM
  • DEMO:
    ViewModel Injection
  • DEMO:
    ViewModel Extensibility
  • Solution Modularity
  • DEMO:
    Dynamic XAP Loading
  • DEMO:
    Dynamic XAP Discovery
  • DEMO:
    Dynamic XAP Navigation
  • Event Aggregation
  • DEMO:
    Event Aggregation
  • Summary
  • We can achieve a very high degree of Extensibility in our Applications by using MEF
    MEF with MVVM is possible and can give us:
    ViewModel Injection
    ViewModel Extensibility
    ...
    Summary
  • Our Solutions sparsed into several XAP’s to gain Performance
    Solutions can be much more easily integrated maintaining the loose coupling, using Event Aggregation
    Summary
  • Summary
    MEF
    Extend their limits
    Tightly Coupled
    Break the Coupling …
  • Nuno Godinho
    Partner @ ITech4all
    Nuno.Godinho@sapo.pt
    NunoGodinho