Adding appsettings.json options to a dotnet core console application

from blog The Angry Dev, | ↗ original
Something that annoyingly does not come as standard in the dotnet core console application template, and, it is not documented anywhere with Microsoft is: appsettings.json. This comes as standard with ASP.NET Core applications, but no other applications, and the thing is, it is very simple to add to any dotnet core application. The first thing...