We had a strange issue at work – we had a misbehaving server, who worked perfectly well with one client but had strange issues when several clients connected to it. The server would broadcast a message to all of its clients but only one client would receive that specific message, re-sending the message would fix … Continue reading Spot the bug – misbehaving server
Tag: .NET 4
Introducing CountdownEvent
The new .NET 4.0 has a lot of new multi-threaded goodness, one of which is the CountdownEvent, used to signal between thread just like the good old AutoResetEvent and ManualEvent. The big difference (as you might have already guessed) is that CountDownEvent can be used to signal after several set has been called. The reason … Continue reading Introducing CountdownEvent
How to run NUnit tests created with VS2010 and .NET 4
Today when writing tests for a new project built using VS2010 I had an interesting problem: NUnit would not run my unit tests because the assembly that contained my unit tests was compiled using a newer version of the .NET runtime. There are several solutions to solve this issue from downgrading my project to use … Continue reading How to run NUnit tests created with VS2010 and .NET 4