Introducing DecimalMath

Ever been working on a project that requires Decimal precision, but then stuck because you need to use something from System.Math that would shave off half your precision? I was in a similar situation several years ago. It made me wonder what it would actually take to implement something like Pow with a fractional exponent […]

Monitoring Locks in a C# Multi-threaded Application

The Hairy Problem The other day I was debugging a hairy deadlock in a large application at work. When I say hairy, I mean dozens of threads, all potentially able to walk through the same areas, events raised inside a lock, and calls to other methods that recursively enter the same lock. The only way […]

Obfuscating a ClickOnce Publish in VS 2010

Awhile ago I wrote about how I used msbuild tasks to support obfuscating a project before generating a publish manifest and publishing a project using ClickOnce. It had some limitations but it has served me well for a long time. I recently upgraded to VS 2010 and found that the old targets didn’t work. Some […]