.NET Configuration

Posted by Joe Enos on May 28, 2021 · 1 min read

Configuration in .NET Core and later is mostly unstructured, letting you build your configuration JSON file the way you want it.

The standard approach tends to be an appsettings.json file. From there, you can define your configuration any way you want - simple key-value pairs, complex objects, arrays, whatever you need.

View code on GitHub