Skip to main content
Home Forums General Silverlight Installation and Setup neet to download xap file
2 replies. Latest Post by Min-Hong Tang - MSFT on November 12, 2009.
(0)
masoudpr
Member
0 points
2 Posts
11-08-2009 4:00 AM |
Is there any way that clients read the xap file in it's local hard and do not need to download it from the server?for example, in my application's setup , I copy xap file in c:\XAPFIle on client and it reads that from local and don't download it.
shamrat231
Contributor
4677 points
595 Posts
11-08-2009 4:28 AM |
Well , by default this is the value for sample sl project. Now point it to where your xap is.
eg. SL3
<param name="source" value="ClientBin/SilverlightApplication1.xap"//
eg. SL 2
<asp:Silverlight ID="Xaml1" runat="server" Source="~/ClientBin/Example.xap" MinimumVersion="2.0.31005.0" Width="100%" Height="100%" Windowless="true" HtmlAccess="Enabled" />
Sharker Khaleed MahmudSoftware Developer(MCP,MCTS,MCPD[web])
This credits that member, earns you a point and marks your thread as Resolved so we will all know you have been helped.
Min-Hong...
3504 points
397 Posts
11-12-2009 2:44 AM |
Hi,
That is not likely, if the page is not cross-schema it may works. But in your case , it definitely crosses.
Acturally the silverlight tech will cache xap itself so the user will not download again and again.
Here are some discussions about silverlight cache xap:
http://forums.silverlight.net/forums/t/18701.aspx
http://forums.silverlight.net/forums/t/11995.aspx
Best Regards