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

Using the Sterling database

Applies to Silverlight 4 and 5

Up until now, we've seen several ways of storing data locally on the system using isolated storage. With IsolatedStorageSettings, we are handing our object over to Silverlight which does the serialization to XML itself. There's little we have to say in this process. When using IsolatedStorageFile, we are in charge of serialization of the data. We have the option to save as XML, JSON or even as binary. The latter isn't supported out-of-the-box since Silverlight doesn't have a BinaryFormatter on board, so we are on our own to write the code for this ourselves.

Instead of doing so, we can use a library called Sterling. Sterling provides us with an object-oriented, NoSQL database, based on ...

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