I am using C# (.Net 2.0) to develop windows application. I need to store nearly 50 to 60 user settings.
Can anyone, please, tell which is better of the following?
Binary Serialization or Application Settings (user.config)
Thank you.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
App-settings is built in, works, and has IDE support.
Performance isn’t really an issue for this small set of data; re binary, I would actively avoid
BinaryFormatterin this case, since app-settings typically evolve between versions, andBinaryFormatteris very brittle when it comes to versioning. There are other ways to serialize data as binary, but in this case I’m not sure I’d bother…