My latest blog posts

Determine the ConsoleColor from a 24 bit hexadecimal color code
17 April 2018

The .NET Console is limited to 16 colors. Learn how you can convert a hexadecimal color code to one of the 16 colors available in the console.

Read More
Determine the GitHub repository from the working directory
11 April 2018

Determine whether the current working directory is part of a Git repository, and if so, retrieve information for the remote GitHub repository.

Read More
Using ANSI colour codes in .NET Core Console applications
05 April 2018

Demonstrates how to use ANSI colour codes in .NET Core console applications, as well as the limitations of this on Windows.

Read More
Retry failed network requests with Polly
02 April 2018

Polly is a fault-handling library which allows you to-among other things-implement a retry policy in your applications. This is ideal in situations where you have flaky network connections with intermittent connectivity issues.

Read More
Quick Tip: Pass arguments to your app when using the .NET CLI
27 March 2018

A quick tip to demonstrate how you can pass arguments to your application using the .NET CLI

Read More
Getting started with Blazor
22 March 2018

Blazor is an experimental .NET web framework using C#/Razor and HTML that runs in the browser with WebAssembly. Let's see how you can start experimenting with this today.

Read More
Generate "pretty" URLs for DocFX websites with Netlify
22 March 2018

By default, DocFX generated websites contain the .html file extension in the URL. You can use Netlify's asset optimization features to clean these URLs up.

Read More
Manually supplying certificate when validating RS256 signed JWT with OWIN
05 March 2018

Shows how you can validate RS256 signed tokens in the OWIN JWT middleware using an offline certificate.

Read More
Implementing an OpenIddict Authorization server: Social Login with GitHub
01 March 2018

Expanding the OpenIddict authorization server to allow users to sign in with their GitHub accoouts.

Read More
Implementing an OpenIddict Authorization server: A Basic Authorization Server
26 February 2018

A basic introduction to creating an OpenIddict authorization server for OpenID Connect clients.

Read More