Khalid Abuhakmeh

I've always been a huge proponent of FluentValidation and will continue to be. I don't rarely make technology choices before starting a project, but this library has become so automatic that I don't even flinch to add it. So we started a new WebAPI project, and I wanted to use FluentValidation as the foundation of all validation . . .

I've always been an ASP.NET MVC fan, but had very limited exposure to it's fraternal twin ASP.NET WebAPI. While they look the similar, WebAPI has some interesting quirks that can make the experience of transitioning from one to the other a bit annoying. One of those annoyances centers around model binding. I subscribe to the . . .

The struggle towards realization

I'm always surprised when I sit down to draw an image. The image is so clear in my mind's eye, but on paper it is a deranged train-wreck of scribbles fueled by a frustrating lack of skills. On the other hand, watching a masterful artist draw their vision can be mesmerizingly effortless. The difference between an artist's drawing . . .

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.

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 . . .

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 . . .