Is there a method that throws an exception if a config value is not present in appsettings?
Hello,
Getting configuration values from
Is there an existing method that will throw an exception if the config value is
Getting configuration values from
appsettings.json is done via calling builder.Configuration["name"]. This way few of my services might get a null property, without throwing error before build.Is there an existing method that will throw an exception if the config value is
null?