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일 수요일 오후 3:29
- 답변으로 표시됨Alex BulankouMSFT, 소유자2008년 7월 13일 일요일 오후 4: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일 수요일 오후 3:29
- 답변으로 표시됨Alex BulankouMSFT, 소유자2008년 7월 13일 일요일 오후 4: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

