A Queued BackgroundWorker Using Generic Delegates

Monday, May 19th, 2008 Posted in Programming | 18 Comments »

EDIT: Oops, sorry for the typo in the title. I meant "generic delegates", not "anonymous delegates". :) Last week I wrote a post about using a generic wrapper around ... Read more..

Digging Into the .NET Framework Code

Wednesday, May 14th, 2008 Posted in Programming | 1 Comment »

Every developer has had one of those head-scratching moments while debugging a particularly problematic section of code and thought "I really wish I could see exactly what is going on ... Read more..

A Type-safe BackgroundWorker Wrapper

Monday, May 12th, 2008 Posted in Programming | 18 Comments »

Not too long ago I created a type-safe implementation of the ThreadPool.QueueUserWorkItem method that has proved quite useful to spawn off a long-running process to a new thread. This ... Read more..

Logging NLog Messages to a Non-static Method

Saturday, May 10th, 2008 Posted in Programming | 1 Comment »

I've used the NLog logging library for .NET for a few projects in the past, and have absolutely loved it. It is extremely easy to configure and extremely flexible. One ... Read more..

Use ThreadPool.QueueUserWorkItem With Anonymous Types

Friday, May 9th, 2008 Posted in Programming | 25 Comments »

I recently had a method in a WinForms application that I wanted to run on a different thread to free up the main UI thread. In .NET 2.0, there exists ... Read more..