Dynamic assembly loading with Silverlight and SharePoint 2010
-
lundi 9 avril 2012 18:05
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.
Toutes les réponses
-
lundi 16 avril 2012 13:23
Hi Scott,
your question is regarding Silverlight & Sharepoint
Please post your question in Silverlight forum.
http://forums.silverlight.net/
Regards,
-
lundi 16 avril 2012 22:22Vanya, 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.

