Denver Code Monkey

The Writings of a Code Monkey

Entries for the ‘.NET’ Category

.NET Connection Strings – To Encrypt or Not to Encrypt

Recently I was tasked with researching connection string best practices, and employing them at the day job. We want a better way to manage all of the connection strings. I suggested moving the connection strings into the machine.config unencrypted. This will accomplish multiple things. Centralizes connection strings to one area for all projects residing on [...]

Why You Need a DLL Page For Your .NET Projects

This post is all about User Acceptance Testing, and why you’ll want a DLL page. In any good development environment, you’ll want to make sure you have some things covered. 1. Source Control (Source Safe, Vault, Subversion, etc) 2. Documentation Tools 3. Test Plan With the test plan, you’ll want to mark which DLL you [...]

Why hardcoding is bad, especially in .NET

So, I had a habit of doing inline navigation by doing the following “Lazy Loading” method (code from administration navigation that handles look up tables): Somewhere down the line, a new request was made to make a certain item “plural”. This then caused some unintended consequences of having run-time issues because the string didn’t compare. [...]