You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Dec 18, 2018. It is now read-only.
I have a class AppSettings with property public string[] SomeValues { get; set; }.
My appsettings.json is {"SomeValues": []}.
When I bind an instance of AppSettings to the configuration like this: configurationBuilder.AddJsonFile("appsettings.json").Build().Bind(appSettings), property SomeValues is null. I expect empty array.
Note that if I change appsettings.json to {"SomeValues": ["val1", "val2"]}, SomeValues does get set to the expected string array. So generally binding is working.