dynamic loading of .dll files in silverlight xap standalone (without running as webproject)
-
Monday, April 15, 2013 4:40 PM
Hi,
I have created a silverlight project (standalone) that is during project creation I did not mark the option "Host the silverlight application in new web site".
I used the xap file as a webpart in sharepoint server. there are few dll files that are too big , I would like to dynamically upload the .dll files.
In my project I do not have clientBin folder, as it is not meant to be as website application.
please ! let me know what steps to take to accomplish this task.
Ali
.NET is my new target framework
All Replies
-
Monday, April 22, 2013 10:13 AM
Hi Ali,
You need to make sure either the xap package or the assembly file is published to a location that can be accessed by HTTP get request (from the client machine/browser which will access the web page that host the silverlight app). Here are some reference and articles about dynamically loading silverlight control/assembly:
Silverlight Dynamic user control and assembly loading in xap or dll
http://supremeware.blogspot.com/2011/03/silverlight-dynamic-user-control-and.html#Loading Assembly dynamically (on demand) in Silverlight 4
http://codepalace.blogspot.com/2010/07/loading-assembly-dynamically-on-demand.htmlPlease remember to mark the replies as answers if they help and unmark them if they provide no help.
- Marked As Answer by Amy Peng - MSFTModerator Thursday, April 25, 2013 1:54 AM