how to get value from appsettings.json
So there are really two ways to go about this. Option 1 : Options Class You have an appsettings.json file : { “myConfiguration”: { “myProperty”: true } } You create a Configuration POCO like so : public class MyConfiguration { public bool MyProperty { get; set; } } In your startup.cs you have something in … Read more