I was inspired to get off my duff and blog today by a tweet from Scott Hanselman . I didn’t really dig into the context of his tweet, but it was about TDD and WPF. In case you haven’t figured it out, I’m a big fan of WPF and TDD. Luckily, I’ve had the opportunity to work on a number of varied WPF projects...
There’s a lot of recent buzz about the Model-View-ViewModel or MVVM. (I pronounce it like it rhymes with Auntie Em .) Rather timely for me as a lot of my thinking about implementing UI patterns in WPF has begun to coalesce. There’s has been a lot of thought given to UI patterns prior to the advent of...
ChumChase Table of Contents I opened up the ChumChase code this evening with the sad realization that my last commits were on November 14th. Ouch. In reading over the code, something jumped out at me immediately. In the code-behind for Shell.xaml, I had a lot of logic that didn't need to be there...
In WPF work, it is very common to work with implementations of INotifyPropertyChanged . We need support for change notification in order to bind to the UI, and this interface is frequently the best approach. This means I have lots of properties that look like this: public string FirstName { get { return...
Updated 11/07/2008 I recently ran into an interesting situation. I had an ObservableCollection bound to my UI in WPF, and I needed to updated this collection on something other than the UI thread. In other words, I was adding items to a UI-bound collection on a different thread, which triggered the change...
Table of Contents Application Architecture I'm going to back up and bit discuss my overall approach to structuring this WPF project. So far the solution consists of four projects: ChumChase is the actual WPF project. FriendFeed is the official .NET api I downloaded from here , and patched so that...
Table of Contents So let's get back to this whole building a WPF application thing. A number of things went down since my last post: I was out sick with a stomach bug for few days, my infant son caught the same bug and subsequently we spent a few days in the hospital (he's fine now, it was nothing...
Table of Contents I actually meant to say in my last post that I had investigated the API options for FriendFeed and they have a C# wrapper already available here . It's packaged up in a single download with its Python and PHP counterparts. Unfortunately, it has compilation errors. I fixed the errors...
Table of Contents In a rather indirect way, I was inspired by a commenter on one of Scott Hanselman's posts to begin a series that walks through building a WPF application from start to finish. We did this for four different applications in our book , but those where targeted to demonstrate particular...