Screenshot_10_26_14__7_52_pm_large

Khalid Abuhakmeh

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

Read More

September 24, 2015

Submitting A Dictionary To An ASP.NET MVC Action

Model Binding A Dictionary Is Easy :)

When building line of business applications, requests for saving dynamic key/value pairs are inevitable. The "best" way to store dynamic data is in a Dictionary, the mother of all flexible data structures. This post will show you the minimum required to post a dictionary to your ASP.NET MVC action so you can meet your business . . .

Read More

September 10, 2015

Centroids Are Not Enough For Geo-Location

In a previous post, I described how to use the MapQuest API and retrieve a user's current address via a reverse lookup. Almost immediately afterwards, MapQuest changed the terms of their API and now they are looking to implement a token based authorization system to prevent abuse. I thought:

Why not implement my own reverse lookup? How . . .

Read More

September 02, 2015

Selfie Quote - Using Microsoft's Oxford API To Provide Health Quotes

For the past several months, we have been working on a health quote engine. This quote engine is designed to give individuals and their families a quote for specific health insurance products. At Ritter Insurance Marketing, we imagine a future where you do not have to go through the arduous task of entering your entire family's . . .

Read More

September 01, 2015

Chaining Actions The Easy Way In C#

Action, Func, and predicates are a great addition to C#, and most developers are pretty familiar with them at this point. What developers might not know, is that you can chain them together the same way you could chain events. Take a look at this example.

using System; using System.Linq; public class Program { public static void Main() {  . . .

Read More

August 30, 2015

Being a Supportive Remote Team Member

Whether you are away or at the office

As a developer, remote team members are here to stay and for good reason: development work can be done from anywhere. Over the last year, I have worked with team members who spend most of their work hours in home offices. This post is a list of observations I have made that should help any team looking to transform more of its team members to . . .

Read More

August 29, 2015

Secure Azure Blob Storage With Encryption

Using ASP.NET 5 and ASP.NET MVC Beta6

Introduction

When using Azure for blob storage, even though your data is securely transported, the data itself remains unchanged. This means if your API keys are compromised, the attacker can easily read the data. This tutorial will cover a method for encryption and decryption of blobs and also how to leverage Azure to store and retrieve . . .

Read More

August 26, 2015

Archive

All Categories: c#(2) home