2015 Tool Kit

I was listening recently to a sort of rant by Erik Meijer and amongst the other amusing gripes he said something that set me thinking. Amongst everything else, he complained how developers are not willing to pay for other software tools. He related how chefs will buy their own premium knives and carry them to […]

Descriptions for Enum

Awhile ago I created a method to simulate a Enum but based on a string value rather than integral numeric (published here on CodeProject). It also allows for adding and extracting a description. However, if you’re just looking for a lightweight way to add a description to your enums, this blog post posits a simple, […]

Obfuscating a ClickOnce Publish

Edit: See updated version specifically for use with VS 2010. I needed to create a ClickOnce publish of an obfuscated exe for a customer since he was concerned about theft of his intellectual property. I added in several security features, but they were worthless if I couldn’t harden the executable against decompilers like .Net Reflector. […]

When Compiler Directives Aren’t Enough

If you’ve programmed for any length of time in .NET, you’re probably familiar with the DEBUG compiler constant that you can use to designate code to compile and run depending on your build configuration (e.g. Debug or Release). But very often you don’t care about the configuration you’re running–what you do care about is distinguishing […]