My silverlight XAP is deployed to a SharePoint 2010 site, and is loaded as a WebPart there. When it runs, I need it to dynamically find all XAP components at the same location as the primary XAP and attempt to Import those.
I'm confused as to how to tell my primary application where it is supposed to look in order to find those files so that the ImportMany will be satisfied properly.
The goal here is that if somebody drops a new XAP in place that has the proper metadata, then it just gets added in automatically, and I don't have to edit any type of config file to specify the new module that's there.
Vanya, that's incorrect. My question is regarding how to use MEF to dynamically load the modules it needs that are located on a SharePoint site. It just so happens that it's within a silverlight application.
lundi 16 avril 2012 22:22
Microsoft réalise une enquête en ligne pour comprendre votre opinion sur le site Web de Msdn. Si vous choisissez de participer, l’enquête en ligne vous sera présentée lorsque vous quitterez le site Web de Msdn.