Implementing CollectionBase
Update: The majority of what is in this article has been deprecated by the introduction of generic collections in the .NET framework. More often than not, you would just create an instance of List,...
Update: The majority of what is in this article has been deprecated by the introduction of generic collections in the .NET framework. More often than not, you would just create an instance of List,...
Earlier today, I had a need for an XPath evaluator. I had an enormous XML document that I wanted to execute an XPath query against. I turned to Google… surprisingly enough, this type of utility ap...
Consider the following three tests. Without compiling, what would you expect the results to be and why? A GMail invite will be provided to the first right answer, so make sure you provide your emai...
Jay Bazuzi jots down the start of a great idea for a factory pattern that popped into his head. He mentioned that he didnt know what it’s good for. I’ll agree with him… by itself, it really isnt g...
Christopher Hawkins has another great article online talking about how professionalism means saying “No” sometimes. This article is about sometimes having to say no to maintain a release schedule....
You know, it just seems like yesterday when my daughter, Sierra, was born. That was August 16, 1999. This morning, five years later, I had the opportunity to walk Sierra into her very first kinderg...
Bertrand Le Roy has an excellent introduction to injection attacks. If you’re doing web development and don’t know what an injection attack is or how to prevent them, you have got to read this.
Ian Griffiths has a great article talking about the appropriate times to catch an exception. One of the things that I notice quite a bit is that try/catch tends to be used as a band-aid to solve b...
There are always two things I do when creating a new ASP.NET project. The first is to create a base class for all of my pages to inherit. This is fairly straightforward, and makes quite a bit of se...
Visual Studio.NET 2005 introduces several handy refactorings, including Extract Interface and Extract Method. One item on the menu is Generate Method Stub. The idea is that you can type a method n...