简体   繁体   中英

Is it ok to use .ini files for storing data in .net windows application?

An existing windows application(contain MS word add-in) with several controls has to be re-developed. previous application uses hundreds of ini files for storing data. Is it ok to use several ini files to store data? or should i create a database and store data there?

I don't think .net supports ini files out the box, the new way to go is xml (config files)

This answer has few links to support inifiles: Reading/writing an INI file

If you need to upgrade a lot of versions in the field there is no reason not to continue with ini files. I personally don't mind the format.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM