Author Archives: trev

Filtering a Dictionary List

One important component I needed for my Systems Directorate application is the ability to filter rows from a dictionary list and get the matching and non-matching rows. This article will describe the set of extension methods I created to perform … Continue reading

Posted in Dennis-IT Tools | Tagged , , | Comments Off on Filtering a Dictionary List

Some useful string extensions

I have created a useful set of string extensions in C# for doing many string operations like conversions to and from numbers, formatting, and escaping. Most of these were required by the application that I’m working on but are very … Continue reading

Posted in Dennis-IT Tools | Tagged , , , , , , | Comments Off on Some useful string extensions

Macro Resolution via Dictionaries

In my Systems Directorate application, I needed a way of handling macro resolution so that the user could easily substitute values when configuring parts of the application. For most of the application, I have standardized on a Dictionary<string,object> structure for … Continue reading

Posted in Dennis-IT Tools | Tagged , , , | Comments Off on Macro Resolution via Dictionaries

Handling Highly Structured Data in ASP.NET Pages

Hi Everyone! I thought I’d talk about how I handle working with highly structured data in an ASP.NET web page. For my DMF application, I’m using ASP.NET for the management console for the system and I have a lot of … Continue reading

Posted in ASP.NET | Tagged , , | Comments Off on Handling Highly Structured Data in ASP.NET Pages

My Excellent Database Library

I was going to talk about a new feature that I had just added to my database library, but then I realized that I haven’t talked about the library at all yet.  I guess that I planned to for so … Continue reading

Posted in Dennis-IT Tools | Tagged , , , , | Comments Off on My Excellent Database Library

Updating WPF windows from background threads

One of the most confusing things to do in a Windows application is to update your window or its controls from a background thread. Window controls will only allow updates from the main application thread. This problem existed back in … Continue reading

Posted in WPF | Tagged , , | Comments Off on Updating WPF windows from background threads

Building a ListView with Checkboxes in WPF

So, in my work to build the GUI for my DMF project, I came across a need for a list view with check boxes in the first column. I was creating a dialog window for editing a user account, and … Continue reading

Posted in WPF | Tagged , , , | Comments Off on Building a ListView with Checkboxes in WPF

Serializing data quickly and easily

Have you ever had a class with a bunch of data in it that you needed to store easily in a file or database field? Serialization is usually the easiest answer. But, what should it be serialized to? The best … Continue reading

Posted in Dennis-IT Tools | Tagged , , | Comments Off on Serializing data quickly and easily

Welcome to my new programming blog!

I’ve had this domain now for about three years and have been using it for email mostly.  Once in a while, I’d setup a blog, post nothing, and shut it down again. But, I’ve finally found a hosting provider where … Continue reading

Posted in General | Comments Off on Welcome to my new programming blog!