9:15 AM Sunday Room: 3402
You know you’re supposed to write tests. You chose the MVVM pattern for testability, but are you testing your ViewModels? Are you testing data access? Are you testing anything? Maybe you’ve written a few tests in desktop .NET. But testing in Silverlight is a different game, made complex by asynchronous server calls and Silverlight’s UI thread model. We’ll take a pragmatic approach to Silverlight application testing using the new Silverlight Unit Test Framework for SL 4. We’ll keep it simple and get you comfortable banging out the tests you really care about. 1:15 PM Sunday Room: 4302
You’ll probably rely on the Entity Framework for relational database access, especially if you’re using WCF Data Services or WCF RIA Services or IdeaBlade DevForce in your Silverlight business application. You’ve seen the demos with a handful of entities. How do you manage 50 or 100 entities? How do you evolve your Entity Framework model as your needs and database change? In this session, we cover how to use the Entity Framework designer in real world modeling scenarios such as adding, removing, and splitting entities. We’ll examine inheritance and complex types and discuss when they are appropriate. We’ll encounter and interpret common model validation errors and spelunk the EDMX XML when we have to.