.NET 4.0 and the Task Parallel Library (TPL)

I've been tasked with presenting a training session at work on the new concurrent programming features in the .NET Framework 4.0, so I've been playing around with a Mandelbrot set visualiser for which I have written three routines: a sequential routine, a (potentially) each line can be calculated in parallel, and a third where (potentially) … Continue reading .NET 4.0 and the Task Parallel Library (TPL)

Finally worked out my problem with Windows Events

For a while now I've been trying to use Windows Events as my logging framework, but I have suffered from one seemingly fatal problem: if my application terminated unexpectedly (thus ungracefully), my session was left open, and I was seemingly unable to stop it or re -enable providers against it. This was beginning to make … Continue reading Finally worked out my problem with Windows Events