WP 7.1 (Mango)–DataServiceState Tombstoning

Windows Phone 7.1 (Mango) OData uses a different approach for tombstoning the Data Service State of an application. In this tutorial, we take a WP 7.0 application and convert it to WP 7.1.

In Mango OData, methods have been added to the DataServiceState class that improves performance and functionality when storing client state. You can now serialize nested binding collections as well as any media resource streams that have not yet been sent to the data service.

The conversion of the WP 7.0 application to WP 7.1 involves targeting the application to WP 7.1, revising the client data classes to support serialization, and modifying the App.xaml’s Application_Deactivated and Application_Activated events to use the new DataServiceState’s Serialize and Deserialize methods.


One Response to “WP 7.1 (Mango)–DataServiceState Tombstoning”

  1.   M Says:

    Mr. Burrows–

    Love the new look. Thank you, thank you. It’s so much easier to look at and read the text now. Just grabbed your LightSwitch vids and will look at them within the next day or two. Have seen all the ones that Beth, Robert Green, and other LS team members have done recently, and it’s great that LS 2011 is out now. I think it’s a great product.

    And like you wrote on your site, it does seem that they’ve been back to putting out tutorials, sample code, etc. in both VB and C#. But it’s been you, Beth, and Bob Tabor (learnvisualstudio.net) who have consistently put out tutorials in VB in recent years. So thanks for that too.

    Haven’t yet looked at your WP7 and Mango tutorials yet, but I do plan on watching them and trying things with WinPhone this fall. Just wanted to let you know that I did notice the new look and I like it very much.


Leave a Reply