Khalid Abuhakmeh

Solving The "Confirm Form Resubmission" Problem

I was paying a bill today and after submitting the form, I saw a successful confirmation page. There on the confirmation page was a message displayed in retina burning red.

Do Not Refresh The Page

This was an expensive payment. I assume that refreshing the page would cause a double billing issue. As a seasoned web . . .

Read More

October 31, 2015

Keeping Our Deployment Path Clear For Take-Off

Our software deployment process depends on three environments: development, quality assurance (QA), and production. Each of those environments has its own set of actors and resources. In our case our resources can be simplified to applications and databases. Our actors include but are not limited to developers, QA engineers, and database . . .

Read More

October 25, 2015

Entity Framework 6 Multiple Result Sets with Stored Procedures

with POCOS

It's not very often, but there are times when a stored procedure just works a little better than LINQ. Complexity for developers can be decreased while performance can be dramatically increased for users. In those very rare cases, it may make sense to return more than one result set from a stored procedure. This post will show you how to . . .

Read More

October 23, 2015

The ASP.NET Apocalypse Is Coming

Oh, what a day... what a lovely day!

I am excited about ASP.NET 5, and so are many of my team members. As excited as I am, I am just as concerned about the new landscape on the horizon. The biggest question isn't wether Microsoft and the ASP.NET team will deliver, but whether the Open Source (OSS) ecosystem will.

The majority of packages on are written for . . .

Read More

October 18, 2015

Finding The Second Lowest Item In A List Using C# and F#

I cam across an interesting problem where I needed to find the second lowest item in a list. You may think this is a simple problem with a simple solution:

Sort the list in ascending order, and take the second item from the list. Done! (Mic Drop)

The knee-jerk solution described above would work for a list of . . .

Read More

October 02, 2015

Using F# To Calculate Health Insurance Tax Subsidy Rates

When the Affordable Care Act was signed into law by President Obama, the U.S. government set aside financial incentives for families that qualified for help. In the Ritter Insurance Marketing quote engine, we help consumers determine if they qualify for help, and how much they could potentially save. None of this information is secret, as it . . .

Read More

September 28, 2015

LINQPad Is A Must Have For .NET Developers

This week has been a busy one for the team and I. Our API is in the public and has been executing some complex LINQ queries. After a data update we started seeing this issue, which may be familiar to any Entity Framework user.

The cast to value type 'System.Int32' failed because the materialized value is null. Either the . . .

Read More

September 24, 2015


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