I would like to serialize my object with many values as string(xml) into user settings. Is there a limit on how large a “string” user setting can be in a .NET application?
I am extending ApplicationSettingsBase to save my settings.
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.
There is no explicit limit imposed by the application settings code. The only limits are really those of the backing storage (typically the file system).
While that allows for a very large string to be used I would caution from going overboard here. Just because it’s possible doesn’t mean it should be done 🙂