Anything For Sale By Owner

As I alluded in a post a couple of weeks ago, I have been a bad blogger. And I have neglected my community of readers. However I would like to tell you what I have been doing in the last couple of months while I have been neglecting my blog…

Creating a more accurate JSON .NET Serializer

Recently I have been diving in to the world of REST and all the great things that come along with that. If you are not familiar with REST and what it means to have a REST Web Service for your site, you can go through the Digg API, which should…

Understanding C#: ?? Operator

The ?? operator returns the left-hand operand if it is not null, or else it returns the right operand. int? i = null; int count = i ?? 0; The value that count is set to is 0. The ?? operator is short hand for: int? i = null; int count = i.HasValue ? i.Value : 0…

Creating a Vista like Search Box

Introduction In this post we are going to go over what it takes to create a control, and more specifically a Vista Search Box like control. Definition of Current Search Box The first thing to do when creating a new control for Windows Forms is determine all the states of…

Using Distributed Transactions in your Data Layer

Many developers use a pattern called ORM or Object Relation Mapping to generate data layers for their application. Many other developers choose to create their own data layers by hand. I have done both and I don't have a preference of one over the other. With an ORM generator you…