Screenshot_10_26_14__7_52_pm_large

Khalid Abuhakmeh

Software Developer and All Around Nice Guy @AquaBirdConsult

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

The Best C# and Data Batch Update Approach

Bring Your Own LINQ Providers

Most applications have common features that seasoned developers are familiar with: front-end, back-end, and storage. The back-end and storage evolve as the application criteria changes. Sometimes, it is important to make changes to your data that requires the intelligence of your back-end layer. This post will show you the "best" . . .

Read More

Posted in: c#

August 23, 2015

Use JavaScript and MapQuest To Get A User's Zipcode

"Postal Code" for my international readers

HTML 5 brings a lot of new features to a developers toolbox. One of those features gives developers the ability to get a user's position via latitude and longitude. In this blog post, I will show the basics of finding the closest address to the coordinates given by a user's device.

Step 1 : Getting The Coordinates

We will first need to . . .

Read More

August 16, 2015

Hard Lessons Learned For C# Integration Testing

At RIMdev, We are closing in on 7 months of using our Automation libraries to test a WebAPI application. This post will explain some of the best practices we've found to get valuable and fast(ish) tests. Here, in no particular order, is our wisdom learned through the school of hard knocks.

When a unit test works, don't write an . . .

Read More

July 31, 2015

Microsoft, OSS, and The Selfish Gene

I have noticed anger towards Microsoft lately for "doing OSS wrong". In this post I will explain the following points:

  • Microsoft is fine staying on their current course.
  • As developers in the OSS ecosystem, we also have the right to do what we want.
  • Most of our complaints don't impact the ecosystem negatively or positively.

During . . .

Read More

July 27, 2015

How To Tell If A C# Type Is An Implementation Of A Generic Interface

We just released Supurlative and one of my favorite features is Formatters. It gives you the ability to intercept any type and perform custom logic. In our current API work, we wanted to intercept a type that implemented a generic interface. That type is an IRange<T> interface.

To check whether the type we come across is the . . .

Read More

July 26, 2015

Get All Route Names From A RouteCollection - WebAPI

This extension method runs on my tears

We recently released Supurlative, a hypermedia centric url and template generator. Part of generating templates is removing the constraints off of existing routes. To do this accurately without side effects, we need to iterate over each key/route pair and register them into our temporary RouteCollection. Sounds easy right? Well not so much, . . .

Read More

July 22, 2015

Archive

All Categories: c#(2) home