The Problem... For a (personal) project I'm currently working on, I decided to use the Logging and Instrumentation application block from the Enterprise Library to handle logging. The problem I ran into was that I wanted my log destination to be an XML file. Why is that a problem? Well, there's...
I don’t actually remember when I’ve met Atlas very first time, but it was some time ago. For almost everything I was working on, UpdatePanel and a few controls from Toolkit were absolutely fine and everything worked well, so there was no need to do anything more. Then my time came. I always had problems...
The first time I wrote a .NET windows service, I quickly discovered how tedious and painful it can be to debug it when you want to start testing its functionality. The whole process of installing the service using InstallUtil.exe, then starting the service through the standard windows service control...
When an object is required to provide some simple true/false information about itself one may use a method or a property to return a boolean value. The question is which is preferable to use? Or does it even matter. I'm sure there are solid design reasons for going either way. An example of what...
Here goes with my maiden post on devlicio.us (thanks Brendan!) ---- I wondered about the differences between these the other day and here's what I found . I am comparing constants to static readonly class fields because they are used in the same way. At a high level, constants are obviously dealt with...
A while back I was doing some work on my latest personal project at home (more on that later), and encountered a situation where I needed to run a long-running, resource intensive method, while at the same time updating a label control on a windows form. The process wasn't working very well, as the...
[Update, 3/28/07: Changed recommendation to not use conditional compilation constants to vary behavior between debug and release mode.] There are two things I loathe during development: spending any time at all with the VS.NET debugger and seeing "object reference not set to an instance of an object...
I'm somewhat of a n00b when it comes to object-oriented development and C# , but that is what I've been doing for the past couple of years now. My background is in more procedural type programming languages, like PL/SQL (I did a lot of Oracle development early in my software development career...