Per-Type De/Serialisation in Json.Net WebApi

Just a quick post today, to help me remember more than anything - also because I couldn't find anything on Google with a similar title. This post will show Per-Type De/Serialisation in a Json.Net WebApi. I'm going to show how to do custom de/serialisation using Json.Net Converters. Media Formatters vs Converters There is another way to do custom de/serialisation of a Type. They are called Media Formatters. You can write »

IConfiguration in .NetCore

In this post I'm going to give an overview of IConfiguration in .NetCore and also give examples on how to set this up with a provider and how to use different files to override configuration values. The full source code is available here. I will try and keep this up to date until .NetCore RTM (v1). IConfiguration The package can be found here: https://www.nuget.org/packages/Microsoft.Extensions.Configuration This package contains the »