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. I recently got involved in creating a startup as the lead developer for an online classifieds site called Anything For Sale By Owner. From the ground up this was conceived as a middle-ground between craigslist and ebay where every listing would be charged at a static rate of $1.00/month. The $1.00 is a way to week out the crap from craigslist and the death-by-fees from ebay. ...

October 1, 2007 · 4 min · 839 words · Nick Berardi

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 give you a pretty good idea. My company has been contracted to build the framework for a new Web 2.0 initiative of one of our clients. You cannot do Web 2.0 if you are not using some kind of AJAX/REST combination. ...

August 24, 2007 · 4 min · 804 words · Nick Berardi

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; Or int? i = null; int count = 0; if (i.HasValue) count = i.Value; The Understanding C# series at Coder Journal will be an on going project to help the readers to better understand the C# programming language that doesn’t get covered except at the more advanced levels.

May 11, 2007 · 1 min · 105 words · Nick Berardi

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 the control. In our case the control states are rather simple: Inactive: Active: Text Entered: ...

March 26, 2007 · 6 min · 1095 words · Nick Berardi

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 have an easy to maintain data layer for your applications, when you create one by hand you have much more control of the data layer as far as object creation goes. ...

March 16, 2007 · 6 min · 1085 words · Nick Berardi