Enums and Lookup Tables

Everyone knows (or would know if they’d read Code Complete) that ‘magic numbers’ are a bad thing in your code. Enumerated types, or Enums in .NET, are a great way to avoid such magic numbers. For instance, let’s say I have a content management system which has articles whose state can vary between Draft, Editing, […]

Cache Configuration Helper Class Article Published

In a follow-up to my caching best practices article, this one shows how to encapsulate the best practices into a helper class. Creating a Cache Configuration Object for ASP.NET Summary: Learn how the CacheConfig helper class can improve caching policies across an ASP.NET application, improve reuse of cached data, and significantly reduce lines-of-code to implement […]

NUnit 2.1 Final Release Available

From Charlie Poole on the TDD List: The final release of NUnit 2.1 is now available for download at http://nunit.sourceforge.net. This release has a number of improvements, most notably that it will run under version 1.0 of the .NET framework as installed. It includes separate configuration files for use with .NET versions 1.0 and 1.1. […]