O'Reilly logo

Microsoft Silverlight 5 Data and Services Cookbook by Kevin Dockx, Gill Cleeren

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Reading data from and storing data in the isolated storage

Applies to Silverlight 3, 4, and 5

As we've seen in the introduction, isolated storage allows our Silverlight applications to store data, files, and so on to a persistent store. Even after the application is shut down, the data remains intact, allowing us to write code that checks for the presence of stored data upon startup of the application.

Isolated storage can be handy to store files such as images, user settings such as selected theme, or even the data the user was entering on a screen when the application was shut down for some reason. In this recipe, we'll look at how we can store and read data.

Getting ready

For this recipe, a starter solution that contains the service we're using ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required