We want to develop an application that gets the configuration items from a json file and stores the key&values at ConfigurationManager.AppSettings. But AppSettings dictionary is readonly. We don't want to update or save the app.config file. This operation have to be at memory. Is there any way to do this?
Asked
Active
Viewed 880 times
-2
-
1https://stackoverflow.com/questions/15653621/how-to-update-add-modify-delete-keys-in-appsettings-section-of-web-config-at-r – Amit Kumar Singh Sep 13 '17 at 07:39
-
@Amit if you think it's a duplicate, why not flag it as such? – Fildor Sep 13 '17 at 07:43
-
@Fildor I don't know how to flag as duplicate. Ok....got it. – Amit Kumar Singh Sep 13 '17 at 07:44
-
Agreed I think this may be a duplicate – K-Dawg Sep 13 '17 at 08:13