Open
Description
Hello there.When the program is running,IConfiguration can not get the new configured value which is in the appsettings.json file.You have to stop the SqlTableDependency if you want to configure a new value.For example,there is json object in the appsetting.json like:
"person":{
"name":"bob"
}
I change it as below when the program is still running:
"person":{
"name":"jack"
}
string name = IConfiguration["Person:name"];
Console.WriteLine($"name={name}");
you will see that the console show:
name=bob
Is it a bug?Please let know how to get the dynamic value from appsetttings.json.Thx a lot
Metadata
Metadata
Assignees
Labels
No labels