Geeks With Blogs
Matt Roberts Rails and .NET .net
The awesomeness of TeamCity
At my current place, we’ve set up TeamCity as our build server. Previously I’ve used and never really questioned it – it works, it does the job, seemed quite nice if a little fiddly to setup. (If you’re thinking “Hang on, Team City isn't free is it?” - well there is a free version that is limited to a limited number of projects, configurations and agents – check the site for more details) I was a bit sceptical about moving to TeamCity because I didn’t want to feel the pain of setting ......

Posted On Wednesday, August 11, 2010 12:25 AM

Get Database rollback powers in your NUnit Tests!
Ok - no credit to me for any of this good stuff. All I'm doing here is posting on how to get database rollback working in your Nunit tests. Roy Osherove created something called XtUnit - "An Unofficial Unit Testing Extensibility Framework - Add new attributes to NUnit or MbUnit easily" - His blog talks you through all the cool stuff that you can do with this framework, like implementing your own attributes to do cool things pre and post ......

Posted On Thursday, December 18, 2008 3:26 PM

Get your (old) COM-based or "ASP.NET with Interop" web app working in Windows Server 2003 R2 64 Bit !
AKA: "Why am I getting 'ActiveX can't create component' when I try to access my COM DLL's" AKA: "Why am I getting 'Service Unavailable' when I've set IIS to run in 32 bit compatibility mode. AKA "Why do I get 404 errors when I browse to my ASPX pages" Man that's a long title :) So, I recently had to spend some time looking into getting my companies web application working in 64 Bit Windows (2003 R2 to be exact). I eventually got this working, but found the information scattered and incomplete on ......

Posted On Friday, April 11, 2008 8:27 AM

How to make a "protected" method available for "partial" mocking using RhinoMocks
There are 2 cool things I want to share here... Partial Mocking This is a very cool and useful feature of RhinoMocks, which allows you to test part of a class, but have some of it act normally. Its explained very well here: Making "protected" methods available for mocking. Partial mocks are great, but what do you do when you need to "mock" out a method that isn't visible to your test class - i.e. its private or protected. ......

Posted On Tuesday, December 16, 2008 11:00 AM

Categories in Rails
Rails makes such a nice change from coding in .NET. I mean, I do like .NET and C#, but sometimes its very bloated and can be quite cumbersome to do things. Rails, on the other hand, isn't big. Or cumbersome. In fact, its downright lean and to-the-point, unlike my blog posts (what there are of them!). Anyway, today we're talking category trees, surely one of the most exciting concepts that there is to talk about. One thing that made me smile recently was the need to list all the categories that a ......

Posted On Friday, December 14, 2007 12:00 PM

Copyright © Matt Roberts | Powered by: