I am trying to add an appsettings.json and followed a lot of tutorials and still can not do it.
I create appsettings.json
{
\"option1\": \"value1_f
Make sure that you imported everything that is necessary and have the required packages installed. Then you can do the following
services.Configure(options => Configuration.GetSection("options1").Bind(options));
this will cause the options to be updated at runtime whenever you change the appssettings programatically.