Blog Posts for: Dotnet Core

Using version ranges for package dependencies in .NET project files
25 May 2018

When adding package references in your projects files, you are not limited to specifying a specific version. You can specify a version range instead.

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.

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.

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.