Skip to main content

Microsoft Silverlight

Answered Question neet to download xap file RSS Feed

(0)

masoudpr
masoudpr

Member

Member

0 points

2 Posts

neet to download xap file

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
shamrat231

Contributor

Contributor

4717 points

595 Posts

Re: neet to download xap file

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 Mahmud
Software 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.

Dhaka, Bangladesh
LinkedIn :: SL Profile :: Blog

Min-Hong Tang - MSFT
Min-Hong...

Contributor

Contributor

3509 points

400 Posts

Answered Question

Re: neet to download xap file

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

Min-Hong Tang
Microsoft Online Community Support

Please remember to mark the replies as answers if they help and unmark them if they provide no help.
  • Unanswered Question
  • Answered Question
  • Announcement
Microsoft Communities