.NET Configuration

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

Comments

Popular posts from this blog

C# Record Serialization

Versioned content in MVC

Add timestamp to photo using ImageMagick