I donβt see a satisfactory answer yet, so I thought I would ask. Are there any recommendations for storing user interface settings in a file?
The scenario is that we have a built-in C # application in which I want to store an array of files / folders along with other random things (flags that need to be used when executing an external command, optional arguments for passing to the selected comparison algorithms, etc. e). Due to the nature of these values, using the app.config built-in methods will not work. So, are there any recommendations when storing semi-complex settings in the settings file?
Currently, the most difficult one I keep is a single-entry list that requires storing the file name, comparison algorithm and argument text. Thus, this is not all simple key / value data.
I am looking for thoughts about:
- (e.g. if XML, values ββshould be in attributes vs node.value)
- format (XML, YAML, etc.)
- framework
This will not store sensitive data, so security is not a concern.
Currently, I want to just use an XmlDocument and separate classes for every other collection. But I feel that some existing frameworks already exist for this.
Thanks!
user-interface c # settings configuration-files
Jason S.
source share