Suggestions to improve your WPF ViewModels

31 Jan 2011 Throughout the years where I have been working on WPF projects, I have seen a fair share of classes used as ViewModels (VM) that have been lacking in revealing their intended and proper usage, such that their resistance to maintenance is increased. I think that the following suggestions help to...

Creating and then using a local OpenWrap repository

03 Jan 2011 When I looked at this blog post here about setting up a NuGet local repository I couldn’t help but write up the necessary steps to get a local repository with OpenWrap: I’m not sure so let’s ask OpenWrap PS C:\dotnet\dev\github> o get-help add-remote COMMAND add-remote DESCRIPTION Adds a remote repository....

Comparison of code metrics in OpenWrap and Nuget

20 Dec 2010 .NET needs package management. As an example, can you imagine ruby without ruby gems? Now you know what programmers in .NET land have to put up with to build projects on top of (very valuable and well written) OSS. After such a long time it seems the time was ripe...

My bare minimum NDepend rules (and how to get them into a new project)

19 Dec 2010 When you run an Ndepend anylsis over a project you will notice a certain tendency of the Code Queries (CQL) to overwhelm you. By default NDepends comes with a lot of queries against your code that can help you to have an eye on code quality metrics. After having used...

Dealing with primitive obsession (this time: Measurements)

30 Nov 2010 Jeremy Miller on Twitter pointed out a blog post that aged well, because it is valid information: “Dealing with primitive obsession”. Have a go through. The basic thing is: Value Objects make your code expressive! (Book of Greg, psalm 11). Instead of having doubles and what-have-you floating around, introduce Zipcodes,...