Select to view content in your preferred language

Isolated Storage, local cache examples

946
6
03-23-2011 08:51 AM
davidrenz
Deactivated User
Does anyone have a good link to some ways to use isolated storage with ArcGIS Silverlight API?

thanks
david
0 Kudos
6 Replies
JenniferNery
Esri Regular Contributor
Aside from Bookmark control, I cannot think of another sample that uses Isolated Storage. You can download source code from: http://esrisilverlight.codeplex.com/

You might also want to look at this blog post from Tim Heuer: http://timheuer.com/blog/archive/2008/09/24/silverlight-isolated-storage-caching.aspx
0 Kudos
davidrenz
Deactivated User
jennifer.

is there any way that you can think of to use isolated storage to handle disruption of internet connectivity?

can you tell me if there are any other possibilities for handling intermittent internet disruptions?

i am particularly interested in strategies for caching map service info on the local machine using like a compact cache from a map service.

thanks
david
0 Kudos
dotMorten_esri
Esri Notable Contributor
Off-line scenarios with Silverlight is not something we currently support.
To do that, you would have to create your own layer that handles the caching in IsolatedStorage - that would be both tiles and layer metadata.
If you are offline, you won't even be able to start the silverlight application in a browser anyway. I guess that just leaves intermittent offline scenarios. If your application starts up online, you don't have to worry about caching the metadata information, but only the tiles. The nice thing about the tiles is that the browser already caches those for you.

Dynamic layers and featurelayers edits/query/update etc is a different matter though...
0 Kudos
DanielWalton
Frequent Contributor
Is offline cache support on the tech roadmap for the Silverlight API?
0 Kudos
dotMorten_esri
Esri Notable Contributor
Take a look at the upcoming ArcGIS Local Runtime that was announced at devsummit. For now this is the story (also meaning you should use WPF for this, and not Silverlight)
0 Kudos
EricDaniel
Deactivated User
Good news David, according to this comment on the Ideas site that is dated April 15, Esri does plan to implement offline scenarios support in a future release.  Let's hope it comes in their next big 3.0 release. 

http://ideas.arcgis.com/ideaView?id=087300000008G6zAAE
0 Kudos