How to reload appsettings.json at runtime each time it changes in .NET core 1.1 console application?

Viewed 5451

I attempted to reproduce the method described in this great article by Andrew Lock. However, I am unable to get this running in a .NET core 1.1 console application. When the appsettings.json file is changed and saved, the changes are not reflected in the application without restarting it.

There are multiple files involved, so I created the smallest example I could come up on github. I also provided details in the README.MD file on github.

Any help in resolving this would be most appreciated. Please keep in mind I am new to .NET core, and not an experienced developer. And this is my first question on stackoverflow... Thanks in advance!

1 Answers
Related