Category Archives: Code

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

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 | 7 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

RSA using BouncyCastle

Trying to do RSA using BouncyCastle, but struggling to find your way around the API? In a previous post (see here) I pondered why the RSA implementation in System.Security.Cryptography is restricted to only the most common usage scenarios. I mentioned … Continue reading

Posted in C#, Code, Technical | Tagged , , , , , | 20 Comments

Mocking HtmlHelper in ASP.NET MVC RC1 using Moq

For those of you trying to mock HtmlHelper, but finding it difficult, here’s a mock that works in ASP.NET MVC RC1.

Posted in C#, Code, Technical | Tagged , , , , , , , | 3 Comments