(X) Hide this Upcoming webinar by Brian Noyes: Querying and Updating Data From Silverlight Clients with WCF RIA Services. February 2nd, 10 am PST (see your local time)
Full webinar info | Register | Read WCF RIA Services Article series by Brian Noyes
Become a member to receive all webinar news by email, or follow all webinar news on Twitter | Facebook | LinkedIn
Skip Navigation LinksHome / Search

Search

 
Results Per Page

Found 3 results for Serialization.
Date between: <not defined> and <not defined>
Search in: News , Articles , Tips , Shows , Showcase , Books

Order by Publish Date   Ascending Title   Rating  

  • 0 comments  /  posted by  Silverlight Show  on  Jan 14, 2011 (2 weeks ago)

    SilverlightShow Page for all Silverlight and Windows Phone 7 (WP7) things on TwitterJoost van Schaik has made some universal way of tombstoning for MVVM Light.

    Source: .NET by Example

    I’ve been down this road before but I thought it wise to revisit this subject, since I see a lot of people in the Windows Phone 7 developer community still struggling with the concept of tombstoming. In my previous attempt to make some universal way of tombstoning ViewModels on Windows Phone 7 I used DataContractSerializer, which is a nice idea but does not work very well with MVVMLight since the ViewModelBase is not serializable. And sometimes you have to go trough a lot of hooplah if stuff you use in your code does not turn out to be serializable after all.There is a better way, I think. So here it is: universal tombstoning for MVVMLight, take two.


  • Requirements of and pitfalls in Windows Phone 7 serialization

    0 comments  /  posted by  Silverlight Show  on  Dec 08, 2010 (1 month ago)
    SilverlightShow Page for all Silverlight and Windows Phone 7 (WP7) things on Twitter

    Peter Kuhn explains how to work around some Data Contract Serializer issuses on WP7.

    Source: Mister Goodcat

    Last time I've blogged about how I like the data contract serializer to persist data in tombstoning situations on the Windows Phone. Since then, I was contacted by a few developers who had problems with some of the implications that kind of serialization has. The reason for this partly is that designing your types for serialization is not as trivial as it seems at first, but also due to some very misleading information you'll run into when you receive errors during the process of serialization. So I decided to put together a list of requirements and pitfalls you have to take into consideration when you want to use the data contract serializer.

  • 12 comments  /  posted by  Martin Mihaylov  on  Jul 11, 2008 (more than a year ago)
    Tags: JSON , Serialization , Deserialization , Martin Mihaylov , C# , Tutorials

    This article is compatible with the latest version of Silverlight.

    Recently I had to work with JSON files and more especially with serialization and deserialization using Silverlight and .NET. The information I found was very limited, so I had to figure it out by myself. When I managed, I decided to write it down for people who would have had the same problems as me.