1

I have a Silverlight Application that currently downloads XAPs on demand using Package.DownloadPackageAsync() from the System.ComponentModel.Composition.Packaging namespace.

As far as I can tell this circumvents any sort of browser caching of XAPS that may take place. Does anyone know how to take advantage of browser caching using on demand downloads ? The only thing i can think of is doing my own caching of XAPs in isolated storage.

Thanks,

F.A.B
  • 181
  • 1
  • 1
  • 3

1 Answers1

0

According to Glenn Blocks latest post: "We are looking into cached assembly support in the future."

http://codebetter.com/blogs/glenn.block/archive/2010/03/07/building-hello-mef-part-iv-deploymentcatalog.aspx

That being said, aside from caching the XAP in isolated storage, if you are running OOB you could cache the XAP manually on the local system.

Joe McBride
  • 3,789
  • 2
  • 34
  • 38
  • I'm glad they are thinking about this, meanwhile i guess i'll implement the Isololated storage cache. Good blog post, thanks for the answer. – F.A.B Mar 08 '10 at 13:09