發問發問
 

已答覆MEF for Silverlight?

  • 2008年7月7日 下午 07:20ccifra 使用者勳章使用者勳章使用者勳章使用者勳章使用者勳章
     
    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.

解答

  • 2008年7月9日 下午 03:28Alex BulankouMSFT, 擁有者使用者勳章使用者勳章使用者勳章使用者勳章使用者勳章
     已答覆
    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".

所有回覆

  • 2008年7月9日 下午 03:28Alex BulankouMSFT, 擁有者使用者勳章使用者勳章使用者勳章使用者勳章使用者勳章
     已答覆
    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".
  • 2008年7月18日 上午 10:00Ladislav Burkovsky 使用者勳章使用者勳章使用者勳章使用者勳章使用者勳章
     

    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

  • 2009年2月2日 下午 03:40perez6558 使用者勳章使用者勳章使用者勳章使用者勳章使用者勳章
     
    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
  • 2009年2月23日 上午 11:18al0117571 使用者勳章使用者勳章使用者勳章使用者勳章使用者勳章
     
    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