Archive for June, 2011

Windows Phone 7 Databinding – Painting and Redrawing Performance with the ObservableCollection

Posted by: | Technical |

I’ve been playing around with observable collections, as you do, and appear to have come up with what seems to be a pattern for binding data to the View which appears to get pretty good responsiveness and performance. Many blog posts I found talked about using ObservableCollections on the ViewModel with automatic properties, and ensure More »

MVVM placeholder images for failed image load on Windows Phone 7 with Caliburn Micro

Posted by: | Technical |

When using the Image control in Windows Phone 7 and pointing to an unknown url, we have to be mindful of the fact that the url might not be a valid url. In this instance it’s advisable to display some sort of default placeholder image instead so that there is not a blank area in More »

Caliburn Micro 1.1 – Strongly typed navigation for Windows Phone 7

Posted by: | Technical |

If you are an MVVM and Windows Phone fan like me, you’ll be very pleased at the announcement that Caliburn Micro 1.1 is available right now. I wanted to comment on the strongly typed navigation feature in particular. One common MVVM pattern for dealing with the view first nature of Windows Phone is to constructor More »

RestSharp Custom Serialization with DataContractJsonSerializer for Windows Phone 7

Posted by: | Technical |

We love Restsharp, it cuts out a chunk of boring plumbing code when working with rest services on Windows Phone 7 (WP7) with Json. However, the default JsonDeserializer has a couple of drawbacks: It doesn’t allow you to use custom attributes on your classes, likeĀ [DataMember(Name = "id")], so if you have very small 2 letter More »