Design Patterns: Template Method
Let’s take a look at how we can refactor an existing chunk of code to take advantage of the Template Method design pattern. This pattern’s intent is to provide a skeleton of an algorithm in a metho...
Let’s take a look at how we can refactor an existing chunk of code to take advantage of the Template Method design pattern. This pattern’s intent is to provide a skeleton of an algorithm in a metho...
This article on Yahoo! News is sure to cause quite a bit of controversy. The Department of Homeland Security’s U.S. Computer Emergency Readiness Team touched off a storm this week when it recom...
Daniel Cazzulino blogs about “the best browser ever”, even teasing us with “an absolutely must-have extension that allows me to open those everytime-less-often pages that can only be browsed with I...
Earlier today, I was looking for a way to remove items from my VS.NET start page, yet still retain the projects on disk. The solution I found was to delete the registry key HKCU\Software\Microsoft\...
Christopher Hawkins has a great piece about the 5 pitfalls of estimating a software project. I wonder how many of his issues would be mitigated by implementing an XP methodology. Estimates would b...
One of the first things that I typically do when creating a new ASP.NET application is to create a base class which all of the pages in the application will derive from. Doing this allows me to han...
I have been happily using the XmlDocument object, as it was a natural progression from the MSXML4 object model, which Ive used for years. However, today, I was unbelievably amazed with the perform...
As of late, I really try to stay away from the XmlSerializer object, as I have found its limitations to be quite hindering in a lot of things I try to do. One of the major drawbacks to this class ...
If you’re reading binary data from streams using syntax similar to the following, you’ll need to make sure to read this article. This code is not at all guaranteed to work. byte[] buffer = null; u...
Scott Densmore has an interesting post regarding singletons and why he thinks they are evil. I’d like to go through his points one by one and add my thoughts: Singletons frequently are used to ...