I read the appsetting.json configuration of ASP.NET Core in the following ways
services.Configure<MyConfigs>(Configuration.GetSection("MyConfigsSection"));
the configuration is read out and injected into Controller or Class using
, but in this way, it seems that the data can only be read out, and the new value cannot be written back to the "MyConfigsSection" of appsetting.json
how to write the new value back or is there any better way to save the program configuration (readable and writable)
Thank you very much