MEF for Silverlight?
- 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.
解答
- 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".- 已提議為解答Alex BulankouMSFT, 擁有者2008年7月9日 下午 03:29
- 已標示為解答Alex BulankouMSFT, 擁有者2008年7月13日 下午 04:47
所有回覆
- 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".- 已提議為解答Alex BulankouMSFT, 擁有者2008年7月9日 下午 03:29
- 已標示為解答Alex BulankouMSFT, 擁有者2008年7月13日 下午 04:47
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- 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 - 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

