Blog Archives

Reactive Extensions, amazing

The Reactive Extensions library is amazing. It has turned what was sure to be a mess of crap code into a few lines that are easy to understand and very easy to test. I had a requirement that was very

Tagged with: ,
Posted in .Net

Order Checking in Rhino Mocks with AAA Syntax

Rhino Mocks recently switched to AAA syntax (Arrange, Act, Assert) from Record/Replay.  It’s fairly easy to make the switch.  I  did run into a problem checking the order of calls made on my mocked objects though.  It seemed my expected calls

Tagged with:
Posted in .Net, Unit Testing

Current Project Technologies

I’ve explored and started/continued using a lot of stuff on my new project.  A coworker of mine started me out on Inversion of Control and ORM tools and it’s gotten more awesome from there.  Here is a concise list: Inversion

Tagged with:
Posted in .Net, Inversion of Control, Unit Testing, WiX, WPF

Hosting a NuGet Feed on IIS

These instructions are great.  The only snag I ran into was that you need to install the WebDAV extension for IIS.  If you’re running IIS 7.5 (Server 2008 R2) you just have to enable it under the Web Server role.

Tagged with:
Posted in .Net

Continuous Testing with NCrunch

NCrunch is awesome. It runs all your tests in the background whenever you make a change. It indicates which lines are covered in tests and if they pass. Go get it.  It’s free.

Tagged with: , ,
Posted in .Net, Unit Testing

Fluent NHibernate, Castle Windsor, and Automatic Transactions

Getting things hooked up I recently switched out StructreMap for Castle Windsor as the Inversion of Control container on my new project. The main reason for this was to get automatic transactions via Castle’s AutoTx Facility. This means all I

Tagged with: , , , , ,
Posted in .Net, Inversion of Control

Easy to Use Temporary File and Directories

I have to create a lot of temporary files in a project and I was sick of the usual way of doing things.  It was too verbose and prone to errors.  I created temporary disposable file and directory objects that

Tagged with: , ,
Posted in .Net

Data Virtualization with WPF

Ben Stollnitz wrote a great post about how to get data virtualization working in WPF. It’s not baked in (yet) but his libraries and code make it easy. My biggest snag was having the width of my grid view set to

Tagged with: ,
Posted in .Net, WPF
Is this your new site? Log in to activate admin features and dismiss this message
Log In