Screenshot_10_26_14__7_52_pm_large

Khalid Abuhakmeh

The Case For .Net Monkey Patching In 2018

You'll Go Bananas For This Idea

In this post, I am going to attempt an argument for "monkey patching" in .NET and why its time to let go of old arguments and think about the new paradigm the .NET community has entered.

What Is Monkey Patching?

Monkey patching is the ability to affect the internal behavior of an object during runtime. Wikipedia . . .

Read More

July 01, 2018

ASP.NET Core Resource Authorization with AuthorizationHandler

Conventions, Intentions, Permissions, and Requirements

I'm sure we can all agree that security is one of the most important features to get right when building an application. But did you know with a little ASP.NET Core knowledge you could streamline your authorization approach? In this post, I am going to show you how to approach your authorization while still getting all the benefits of a . . .

Read More

March 27, 2018

Transforming JSON Using JSON.NET And JSONPath

I've been building REST APIs for the better part of the last three years. Those APIs have known representations and the responses are crafted to fulfill a plethora of scenarios to many different clients. For some clients, those responses may be too much information. The idea of "too much data" has made me ask:

What . . .

Read More

October 14, 2017

Elasticsearch Lowercase Keyword Analyzer

Trials of an Elasticsearch Newbie

The keyword analyzer is a no-op on your data. That means during indexing, the field under analysis is left unmodified. More often than not, case sensitivity is not something you want during your queries. That is where a custom analyzer can help you keep the spirit of the keyword analyzer intact, but normalize your term field.

PUT  . . .

Read More

Posted in: elasticsearch

September 25, 2017

Elasticsearch Indexing of U.S. Phone Numbers

Trials of an Elasticsearch Newbie

Working with Elasticsearch feels like sitting in the cockpit of a rocket ship: empowering and terrifying all at the same time. I've been learning a lot about the product, and the documentation has been the best resource on my educational journey. In this post, I hope to explain how to index an U.S. phone number utilizing a custom analyzer . . .

Read More

Posted in: osselasticsearch

September 23, 2017

Tips For The Job Seeking Developer

You Can Do It!

As a hiring manager, I sit through interviews for potential candidates applying to add value to our team. Some are great interviews, and others leave you wondering why did we even bother. Interviews are very much a dating experience. Two parties sitting across from each other, knowing very little about one another,and thinking if they could . . .

Read More

September 24, 2016

Initial Port Of Restful Routing To ASP.NET Core

Download and Try It Now From Nuget

TL;DR Download and Try Restful Routing for ASP.NET Core also contribute on GitHub.

Restful Routing is a Rails-inspired route registration approach for ASP.NET MVC. Even before becoming the maintainer of this project, I loved it! The simplicity of mapping your routes in a single location while simultaneously expressing the . . .

Read More

August 28, 2016

Archive

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