Recommended

Skip Navigation LinksHome / News / View News

Dynamically Loading Silverlight Video Players using MEF

+ Add to SilverlightShow Favorites
0 comments   /   posted by Silverlight Show on Aug 26, 2010
(0 votes)
Michael Washington has published an example of using MEF to dynamically load Silverlight Video Players.

Source: The Code Project

For this article, we have created an application that performs these functions:

  • Determines what .xap files (custom video Players) are in the ClientBin directory, and displays them in a dropdown
  • Uses MEF to dynamically load the selected custom Video Player
  • Provides a shared ViewModel that each custom Video Player will use that:
    • Uses web services to determine what Videos are in the Videos directory
    • Retrieves the selected Video and plays it
Share


Comments

Comments RSS RSS
No comments

Add Comment

 
 

   
  
  
   
Please add 5 and 4 and type the answer here:

Watch a recording of Gill Cleeren's recent SilverlightShow webinar 'Data Binding in Action'.
Sign up for the next upcoming free SilverlightShow webinar event 'Sketchflow in Real Scenarios' with presenter Braulio Diez. (hide this)