提出问题提出问题
 

已答复MEF for Silverlight?

  • 2008年7月7日 19: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日 15: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日 15: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日 15: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