March 2008 Blog Posts

How to safely change 13,000 lines of code, undo

Well, it's too bad.  But we decided today not to finish my 13,000-line change for our nullable value methods.  A bunch of time has gone by since I started this process, and for many reasons, I haven't had the time necessary to devote to completing it. During the process of working through the different data types, and reviewing the code where the old methods were used, I found that a lot of mistakes have been made.  Luckily though, in most places where mistakes have been made, the code still works just fine.  Often, 2 wrongs have made a right,...

posted @ Thursday, March 20, 2008 10:24 PM | Feedback (1)

My anti-anti-virus advice

In the past couple of months, Kelly has had 2 aunts report that their computers had died.  In the first instance, the aunt had just installed Norton 360; in the second instance, the aunt had just installed the latest version of McAfee. The Norton 360 victim couldn't boot Windows at all.  After waiting hours (on a fast computer) for the program to install, the computer was restarted, but it failed to boot.  There was a corrupt system file and it wouldn't even try to load Windows.  The McAfee victim could get into Windows, but pretty much nothing worked anymore....

posted @ Friday, March 14, 2008 12:27 AM | Feedback (0)

Custom Controls Everywhere Saves the Day

I just cannot advocate Custom Controls Everywhere strongly enough.  I find benefits for it all the time.  It saved the day again today.  Self-validating controls played into this one too. Here's what a co-worker reported to me a few minutes ago: Ron Ellis says (1:45 PM): on the textbox format = decimal Ron Ellis says (1:46 PM): if you enter just a "-" it bombs To which, I replied, "Lovely.  It sounds like our...

posted @ Thursday, March 13, 2008 2:11 PM | Feedback (1)

Custom Controls Everywhere and ASP.NET MVC, part 2

This is part 2 of a 4-part series discussing a concept that I've long called "Custom Controls Everywhere" and how ASP.NET MVC affects it.  In part 1, we went through a discussion of how ASP.NET MVC took away the capability to use Custom Controls Everywhere.  But in this article, we'll demonstrate a way to resurrect the concept within MVC. Defining Our Sample, Using ASP.NET MVC In order to properly demonstrate how Custom Controls Everywhere can be achieved within MVC, we need to set our baseline.  We're going to use a pretty basic sample: a screen that offers a login form as well...

posted @ Saturday, March 8, 2008 4:25 PM | Feedback (22)