A POC in C# that works with making App Settings required/optional.
Set up using VSCode dev container, then run the application, changing the configuration in AppSettings.cs
and appsettings.json
to notice the behavior.
https://docs.microsoft.com/en-us/aspnet/core/fundamentals/configuration/?view=aspnetcore-6.0
https://docs.microsoft.com/en-us/aspnet/core/fundamentals/startup?view=aspnetcore-6.0