Save Changes of IConfigurationRoot sections to its *.json file in .net Core 2.2
问题 i was digging to find out the solution but didn't manage to find it, i bet that someone has encountered this problem, so what is the problem?. For test i have created simple console application (solution will be used in asp.net core web api). I have TestSetting.json configuration file with 'Copy Always' setuped. { "setting1" : "value1" } And Simple code IConfigurationBuilder configurationBuilder = new ConfigurationBuilder(); IConfigurationRoot configuration = configurationBuilder.AddJsonFile(