How to read AppSettings values from a .json file in ASP.NET Core
I have set up my AppSettings data in file appsettings/Config .json like this: { “AppSettings”: { “token”: “1234” } } I have searched online on how to read AppSettings values from .json file, but I could not get anything useful. I tried: var configuration = new Configuration(); var appSettings = configuration.Get(“AppSettings”); // null var token … Read more