Hello,
I’ve added some custom settings into the file default.json. However Application.Configuration.Settings is null after the application loads? Would it be possible to get a sample application that shows this working?
The default.json that I am attempting to create with is attached. With my settings redacted.
Tim
Hi Tim,
accessing the single values is as easy as this
var Settings = Application.Configuration.Settings; var CallBackPath = Settings.AzureAd.CallbackPath; var Scopes = Settings.DownstreamApi.Scopes; AlertBox.Show("CallBackPath=" + CallBackPath + " Scopes=" + Scopes);
Best regards
Frank
Hi Tim,
it worked for me okay using your default.json and just changing the startup parameter.
Find sample attached.
Regards
Frank
Please login first to submit.