Unit testing a private generic method
I had to create another useful test helper today which tests private generic methods. I realise test purists would say you should not test private methods but I find it a much quicker way of unit … more
I had to create another useful test helper today which tests private generic methods. I realise test purists would say you should not test private methods but I find it a much quicker way of unit … more
Came up with a useful little extension method today. I wanted the fluent nhibernate configuration to export the hbm files when the site is being run in debug mode.
1: /// <summary>
2: … more
Remembered a useful way to redirect assembly bindings to newer versions:
1: <?xml version="1.0" encoding="utf-8" ?>
2: <configuration>
3: <runtime>
4: … more
For several of my projects I use a repository pattern for the data access layer which sits above Fluent NHibernate. Using generics I can then replicate the same features for all entity repositories. … more
I had fun today trying to work out why I could not get the date column of a data form grid to be formatted correctly. Listed below is some xaml markup of the dataform..
1: <df:DataForm … more
Not exactly a fan of TFS myself, especially with better source control platforms available such as Mecurial, SVN or GIT, I needed to delete another users workspace. Unfortunately that workspace was on … more
I found a useful solution to a problem with a path element today. I was trying to dynamically create the path on the fly. I had a lot of rendering issues. So instead I decided to just an XAMLReader to … more
I really dislike magic strings in code, and whenever I can I try to avoid using them either by using constants and what have you. So you can imagine what I felt like when I started raising property … more
I went to an Azure Open Space Coding Day in Birmingham organised by Dave Evans with help from Eric Nelson, Dave Gristwood and a few others from Microsoft. As a complete Azure newbie, I found the day … more