Khalid Abuhakmeh

Software Developer and All Around Nice Guy @AquaBirdConsult

Three Ways To Test Around Entity Framework

I'm planning on giving a quick talk to my team members about how to test around Entity Framework: That includes unit testing and integration testing. This post describes three scenarios and their pros and cons.

The DbContext

Every Entity Framework project starts with a DbContext. In this example, our DbContext looks like this.

public class  . . .

Read More

February 25, 2015

Creating a SQL Database If It Does Not Exist Using C#

Especially if you aren't using Entity Framework

Our team is in the midst of a big project, and while we decided to use Entity Framework as our ORM we did make the decision not to use the code first migrations in Entity Framework. Instead, we chose to use FluentMigrator. It mainly had to do with the Entity Framework feature of storing the model in the database in the migration history . . .

Read More

February 25, 2015

Programming The Blink(1) with C#

Blink and you'll miss it

I recently purchased the Thing M Blink(1). It is a USB powered micro-controller that powers two independent LED lights. Described by Thing M as the following:

blink(1) is the world’s best indicator light, designed to give you glanceable notice of anything on your computer or the internet.

I was stunned by the similarities to the project my team . . .

Read More

Posted in: c#

February 22, 2015

Fixing Bugs: Being A Human Profiler

Empathy is the key

One of my favorite shows over the last several years has been Hannibal. On the show, the main character Will Graham is a FBI profiler with the unique ability to empathize with killers, no matter how psychopathic they may be. I feel fixing bugs requires the same ability.

The better you can understand the individual, the more you can reason . . .

Read More

February 15, 2015

Why I'm Advocating To Design A Hypermedia API

Strong Beliefs Held Loosely

In my previous post, Tenants of a Rewrite, I mentioned the team and I are getting ready to work on our busiest year to date. One of our highest goals is to build a stable and reusable platform for years to come. This system must meet our present needs, while being a solid building block for ideas yet to be imagined. After many discussions, we . . .

Read More

February 15, 2015

Tenants Of A Rewrite

The start of an exciting journey

The Ritter Insurance Marketing development team is arguably in its busiest and most important time of development ever. We are working on several high profile projects with different teams having uniquely specific objectives. While objectives may be different, there needs to be some homogenous traits and characteristics that tie all projects . . .

Read More

February 13, 2015

Windows Azure Always On And How It Works

If you are a web developer in the Microsoft space you know that IIS will spin down your application if it has not received a request in a preset amount of time. By default, the idle timeout is 20 minutes. The Always On feature was introduced in IIS 7 and makes sure your application pool / website never shuts down. This is important if you . . .

Read More

February 08, 2015


All Categories: c#(1) home