Jacksonville Developers User Group

Learn new things...write better code.
Welcome to Jacksonville Developers User Group Sign in | Join | Help
in
Home Blogs Forums

Jonathan Bates

I love it when a plan comes together

Two of the interesting features of .NET development for me are the config file and drag-n-drop deployments.  Its a great way to manage an app without recompilation or to deploy new features without an installer.

A recent development at work was pointing to a failing service.  When examining the message in the Event Viewer, it was a very plain Jane generic message.  I suggested a solution that would expand the message to include the messages from all of the inner exceptions as well, instead of just printing the top-level Exception.Message.  My manager asked how hard this would be.

"It shouldn't be too hard.  We add a method to parse the exception into a message including all of its inner exception messages as well.  We should be able to drop it into the same directory and it should just start reporting the new message format."

The other developer working with me chortled at my excessive use of the word "should".  In the months that I have been on this contract and working with this code base, I often find that things arent going by the book, for whatever reason.  So I have begun to become jaded to trusting tried and true favored features like drag-n-drop deployment.

After creating the method and recompiling the code, we dropped in our new exe to replace the too terse service.  And it worked.  This turned out to be one of those instances that was the exception that proves the rule. 

So now with more verbose error information in hand, my boss was able to continue the investigation and lay it at the door of the proper folks.  And I was able to rest easy knowing that .NET does still occasionaly work like it should here.

Published Friday, October 19, 2007 4:49 PM by jonathanbates

Comments

No Comments
Anonymous comments are disabled

About Jonathan Bates

Jonathan Bates is involved in the local development community, once even serving time as the President of the Jacksonville Developers User Group.

He has had a long and storied path on the way to I.T. work. At one point, Jonathan had a near Neo-Luddite position about computers, believing them at worst to be the means to humanity's eventual slavery and at best tools for general evil. After landing a job powered by such advanced technologies as Windows 3.11 for Workgroups and MS Access, Jonathan began to change his opinion on computers. He began to believe that they might be for more than just improving the display and sound qualities on his Laserdisc movies. In time, he came to see that computers were nothing more than tools, not much different then a hammer (though not as good to drive nails with).

Jonathan Bates is an industry-certified and proven developer and trainer, facilitating the transfer of knowledge from conceptual client request to delivered and implemented solution. Jonathan enjoys sharing his knowledge and understanding about development principals with like-minded people. You can generally find him enjoying good company discussing his personal Unified Theory and how programming can be used to describe it. And if you can't find him, drop him a line with a time and place and he'll find you.

Contact him at jonathan.bates@batener.org.

This Blog

Post Calendar

<October 2007>
SuMoTuWeThFrSa
30123456
78910111213
14151617181920
21222324252627
28293031123
45678910

Syndication

Powered by Community Server, by Telligent Systems