Khalid Abuhakmeh

Unit Testing Life : Captain Planet

Cartoons of my childhood, meet my adulthood

Cartoons are amazing, end of discussion. I still find them enjoyable as an adult. One of the cartoons I really enjoyed as a kid was Captain Planet. So I thought I would go down memory lane and write a unit test that expressed the most exciting and frustrating part of that show. The appearance of Captain Planet, or the Planeteers inability to . . .

Read More

October 31, 2013

Halloween Horrors

Scary LINQ Queries

I'm sitting here, waiting for kids to come knocking on my door. I really hope they do, because if they don't eat the candy I know I will. So as I sit here, I wonder, what kind of LINQ queries one might write on Halloween.

 from candy in basket
 where candy.Name == "snickers"
 select candy.Unwrap()
 var  . . .

Read More

October 31, 2013

ASP.NET MVC 5 Authentication Breakdown

What's what in the new Authentication Paradigm

Note: I apologize in advance if my OWIN lingo is incorrect. Although I'm familiar with the idea of OWIN, I am not familiar with it's vocabulary.


I've been inspecting the new bits of ASP.NET MVC 5 and trying to make sense of the new paradigm that me, as .NET developer, is going to be working in. This . . .

Read More

October 28, 2013

Unit Testing Life : Laughter

I'm trying out a new series of poems/executable code. I had this idea while thinking about things and situations in my life. I am not sure if this series will make sense to a lot of people but I thought I'd experiment with it.

Additionally, all unit tests will be compilable C# code, so you can compile them yourself, and see . . .

Read More

October 28, 2013

Knockout Client-side Pager

Paging collections on the client UI with a simple model

book paging image by Horia Varlan

Whenever I page collections on the server, I use the great PagedList project for .NET, it works just as well for ajax requests.I serialize my PagedList model as JSON and return it to my front-end. That only solves paging on my server, for very large collections. There are times I'd like to page collections . . .

Read More

October 19, 2013

The Upgrade Tango

Upgrading my development machine

Tango lessonsby Andre Deak

I like when things upgrade in my life and software is no exception. Windows 8.1 and Visual Studio 2013 released today, and as usual I have to go through the sexy dance that is the upgrade tango. So what does my development machine look like today?

  • Windows 8.1
  • Visual Studio 2013
  • ReSharper 8
  • . . .

Read More

October 17, 2013

Domain For Sale:

free idea included for you entrepreneurs

Domain For Sale
image by Diana Parkhouse

So I own the domain If anybody wants it I'd be willing to sell it to you. This is the idea behind NuStyles when I originally purchased the domain:

ASP.NET MVC developers could purchase Twitter Bootstrap, Semantic UI, or other CSS framework templates through the site . . .

Read More

October 14, 2013


All Categories: c#(2) elasticsearch(2) oss(1) home