Ask a questionAsk a question
 

AnswerMEF for Silverlight?

  • Monday, July 07, 2008 7:20 PMccifra Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Is there any chance that there will be a MEF subset that will work with Silverlight?  Obviously the Directory Watching Resolver and similar parts would not work, but keeping our Silverlight Apps loosely coupled and similar in design to our desktop apps would be desirable.

Answers

  • Wednesday, July 09, 2008 3:28 PMAlex BulankouMSFT, OwnerUsers MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     Answer
    Thanks for the question!  Yes, MEF for Silverlight is definitely considered. As far as concrete shape, applicable scenarios and delivery vehicle and timeframe - this is still being discussed - so any suggestions or examples on how you would expect it to work for your scenario are most welcome!

    Thanks,
    Alex
    Alex Bulankou, Microsoft Corporation. This posting is provided "AS IS".

All Replies

  • Wednesday, July 09, 2008 3:28 PMAlex BulankouMSFT, OwnerUsers MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     Answer
    Thanks for the question!  Yes, MEF for Silverlight is definitely considered. As far as concrete shape, applicable scenarios and delivery vehicle and timeframe - this is still being discussed - so any suggestions or examples on how you would expect it to work for your scenario are most welcome!

    Thanks,
    Alex
    Alex Bulankou, Microsoft Corporation. This posting is provided "AS IS".
  • Friday, July 18, 2008 10:00 AMLadislav Burkovsky Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     

    Hi,

    I would like to use the EMF in SL. Instead of watching in directory, I would like to describe my dependencie in a XML file and load the XAPs on demand.

    Regards,
    Ladislav

  • Monday, February 02, 2009 3:40 PMperez6558 Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    MEF for Silverlight Wishlist...

    1. XAP file watcher on a Server directory (using polling method with the duration as a configuration setting)
    2. dll file watcher on server directory too (but I'm not sure this would work on an IIS server)
    3. using XML to describe a dependency would be nice as well.  Or rather a silverlight configuration file.

    I definately think a silverlight version of MEF would truly throw silverlight into the main stream allowing for truly complex applications.

    Ivan
  • Monday, February 23, 2009 11:18 AMal0117571 Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    As a plugin based app you can consider:
    • Graghically arrange sets of dlls contained in xap files, so that common dlls are not shipped every time a xap is downloaded
    • Dynamic download of xap files
    • Load/Unload dlls (or parts) in silveright app so that memory consumption doesnt degrade the app