In a nutshell SignalR lets you communicate with clients on your website in real time. Imagine Comet implementation without all the fuss. Dead easy to setup, dead easy to work with, fast as holy hell. Yes – I’m excited.

I’m going to show you how to build a small chat application using SignalR in an MVC3 application.

How many times have you started feeling your machine is getting a bit crusty around the edges. Computer taking a bit too long opening a picture, a bit too long closing that tab, a few extra seconds to open the context menu. We’ve all been there, right?

I had the idea for this little experiment last Wednesday when I had to completely wipe my desktop PC. It was old, running on it’s previous OS for two years straight in the hands of my technophobic wife.

I’m sure there are many ways to skin this proverbial cat, but I’ve worked on it for a bit and I feel I like this approach. It’s easy to modify, easy to follow along with and allows for some cool GUI manipulations. Well, as far as you can get with Windows Forms anyway.

Here’s a screenshot of how it looks when someone tries to act smart and corrupt our precious database!

Inspired by this question over on StackOverflow, I decided to finally sit down and work through a couple examples on how to override Equals and GetHashCode for a custom type.

Reasons why you would want to do this:

You need to be able to compare between two types easily.

You want to be able to use your custom type in a HashTable.

You’ve been there before, you need to verify if a certain item is already in the collection, but you don’t quite feel you’ve done it in the correct manner. Your inner programmer is itching somewhere and you just know there’s a better way.