MVVM – This might hurt a little…

This is an attempt at a collaborative post; I’ll fill in more data if/when people make suggestions; please add comments on more problems and other/better solutions – I’ll add the links. Overall, MVVM is very attractive – but all the screen casts I’ve seen avoid some confusing pitfalls that you’ll come up against in the…

5

Real-time list filtering with Silverlight, MVVM, and PagedCollectionView

The Model-View-ViewModel pattern is very good for forcing clean UI code. Ideally, you want to end up with zero code in your .xaml.cs file – everything should be data-bound. As nice as this sounds, sometimes it can get so tempting to break this rule in order to do something that should be simple. Here’s one…

13

Useful C# method for unit testing

I’m unit testing a UI that needs to show some lists in various sorted orders, and I wanted to ensure that my tests would cover that. I found this method to come in handy:   1: public static bool IsOrderedBy<T>(this IEnumerable<T> coll, 2: Func<T, IComparable> val) 3: { 4: if (coll == null || coll.Count()…

3

Silverlight RPG: Steel Saga

My friend Darren who wrote the hilarious Buddy Knavery game has released a preview of his new project called Steel Saga. http://www.steelsaga.com It’s an old-style RPG written in Silverlight, and seems quite deep. At the moment there are only two “zones” (one outdoor and one dungeon), but Darren hates having a life, and is going…

0

Live Mesh Applications – whoah.

I’ve been playing with Live Mesh for a long time now, and have been loving it. During this time I’d been hearing about applications for Live Mesh, and while it sounded interesting in theory I didn’t really get what the point would be. Then I watched this video: http://briangorbett.com/mesh/mesh-video-player/   The video walks you through…

1

Silverlight Game Contest: $5000 prize

The site is a little low on details/rules, but the prize seems pretty sweet: http://www.serverquestcontest.com  

3