After reading the docs I’ve noticed there’s no disk writable appsettings implementation? Was there a reason for this? I know MS Configuration framework doesn’t seem to support it either, so I guess I’ll have to roll my own.
I’m working on a CLI-based Continuous Integration tool, and when the CLI starts from a given folder, it must persist some basic settings to a config file created in that folder, and then some CLI args will update those settings.
I notice when using MS IConfigurationBuilder.AddJsonFile
it has the option to reload on change so perhaps I can create a config DTO and serialize to JSON and write it to a file which should get picked up by IConfiguration
.
Just wondering why some basic text writer wasn’t considered.