Using MVC result executors in ASP.NET Core middleware

I recently came across a scenario where I needed to set up a quick and dirty HTTP endpoint to serve some data with represenations for both application/json and application/xml (don't ask). I could of course just go ahead and set up a full-blown MVC application with a single Read More

(Third Party) Dependency Injection in ASP.NET Core

One of the nice things that the new ASP.NET Core stack brings to the table, is Dependency Injection (DI) as a first-class citizen, right out of the box. DI is nothing new, even for ASP.NET, but in the earlier versions, it wasn't baked into the platform, and developers Read More

Introducing Scrutor - Convention based registration for Microsoft.Extensions.DependencyInjection

This is a post I should've written a long time ago. The library has already been out there since November. Just sitting in the open on GitHub and NuGet, ready to be used, but very few people know about it. This is my attempt at rectifying that. If you already Read More

Generating GUIDs

Today I noticed a developer leaving Visual Studio to go to to generate a single GUID. I tweeted this Funny when you see someone leave Visual Studio and go to to generate a GUID, when you have it right inside VS :P— Kristian Read More

Building C# 6 code with AppVeyor

I've switched over to using the RC version Visual Studio 2015 for most of my OSS coding recently, and I've really fallen in love with some of the new C# 6 features. Especially the nameof operator, expression-bodied members and getter-only properties. To convert my code to C# 6, I've been Read More