Category Archives: Code

Programming, programming languages, software design patterns, hacks, peculiarities… It is what coders love.

Problems running .NET 4.0 tests using NUnit 2.5 with (or without) Continuous Testing?

NUnit 2.5 up to and including 2.5.4 fails to properly detect certain revisions of .NET 4.0, causing it to crash. The issue is documented in this bug report on LaunchPad. The bug has been fixed in 2.5.5 and later, so … Continue reading

Posted in C#, Continuous Testing, TDD | Tagged , , , , | Leave a comment

Mocking HtmlHelper in ASP.NET MVC 2 and 3 using Moq

Still having trouble mocking HtmlHelper? This is an update to my previous post on mocking HtmlHelper way back when ASP.NET MVC RC1 was released. Eric notified me through a comment on the post and a question on StackOverflow that the … Continue reading

Posted in C#, Code, Technical | Tagged , , , , , , , | Leave a comment

Continuous Testing for Visual Studio

The other night is was playing around with a side project. I try to use a rather strict TDD approach for these projects, and so I run my tests a lot of times as I move forward, and spend quite … Continue reading

Posted in Announcements, Code, Continuous Testing, TDD | 13 Comments

Copyable available on GitHub

People actually download and use Copyable, and they tend to use it in scenarios I haven’t used it in. This results in bug reports and patch submissions. So far, these have been given to me by e-mail or by blog … Continue reading

Posted in Announcements, C#, Code, Technical | Tagged , , , , , , , , | 2 Comments

Minimalistic MapReduce in .NET 4.0 with the new Task Parallel Library (TPL)

Among the news in .NET 4.0 are several additions by the Parallel Computing Platform Team. As I wandered through the documentation of the Task library with cloud computing and parallelism buzz in the back of my head, I got the … Continue reading

Posted in C#, Code, Concurrency, Technical | Tagged , , , , , , | Leave a comment