Breaking changes are a fact of life when living on the bleeding edge of betas and CTPs, especially for technologies like Avalon and Indigo which haven't officially shipped yet. There have been lots of changes between the March CTP and Beta 1 RC, and there will be lots more to come. Remembering the CLR/.NET Framework changes between Beta 1, Beta 2, and the RTM of v1.0, I know we're still in for quite a ride! At least this time I don't have to try to keep a 1600-page book in sync with all the changes! :) Good luck, Chris and Chris!
I thought I'd share the changes I ran into with my playing cards sample as I moved it from the March CTP to Beta 1 RC.
In source code, the only change I made (in Hand.xaml.cs) was to make Hand derive from Viewbox rather than Grid. I could have left it alone, but it felt more natural to have Hand be a Viewbox rather than a Grid containing a Viewbox. The March CTP compiler had prevented me from doing the former.
Of the four XAML files in the complete sample, I only had to change one of them (Card.xaml). But there were lots of changes, indeed:
There were a lot more breaking changes that my sample managed to avoid because there were two ways to do certain things in the March CTP and now there's only one way to do them. I chose the way that survived the upgrade, but you could easily run into these changes. For example:
Are you struggling with any other breaking changes that I didn't cover? Let me know and I'll see if I can help!