Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

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.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 791183
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 14, 20262026-05-14T21:47:44+00:00 2026-05-14T21:47:44+00:00

I know that the preference for INI or appconfig XML is their human readability.

  • 0

I know that the preference for INI or appconfig XML is their human readability.

Let’s say user preferences stored for my app are hierarchical and numbers about a thousand items and it would be really confusing for a user to edit an INI to change things anyway.

I have always been using a combination of INI with appconfig.

I am leaning towards using sql server db file, now. Every time the user changes a preference while using the app, it would be stored into the db file – that’s my line of thought. I am also thinking that such a config db file could move around with the app too, just like an INI.

Before I do that, any advice
1. If there are any disadvantages against using a db file over INI or appconfig.
2. If a shop uses mysql or oracle, do you think your colleagues would lift up their pro-mysql or pro-oracle eyebrow questioning why you would use sql server technology in a mysql or oracle shop? I mean, I am just using it like an INI file or app.config anyway, right?

Additional Info:
I hope people reading my question understand that I am not using an “enterprise database” but a “preferences.mdf” stored with the application. In that I am hoping to use ado.net to store user config items as entities.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-14T21:47:44+00:00Added an answer on May 14, 2026 at 9:47 pm

    My general approach is to put user configuration entries in to a database (centralised in our case, but equally applicable as a local store).

    However, there are exceptions to this and I store the following in a text-based file (app.config usually):

    1. Details of how to connect to the database (I prefer to have this in the config file, rather than use a convention).
    2. Any setting that could potentially stop the application from starting correctly.

    If there are settings that could ‘break’ the startup, the user should be able to access them without using the software — at a text-based storage is best.

    In code, I write a single configuration class that ‘knows’ whether a configuration entry is stored in the text file, or in the database; this allows me to move a configuration from one to the other without breaking all references to it.

    Herbie

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have an Android app that looks absolutely horrible if the user sets their
I know that in most programming scenarios, the preference is for empty collections to
I have a simple (not user-editable) numerical setting defined in a preferences XML as
First of all, let me just say that I'm using the PHP framework Yii,
So I know that C++ has an Operator Precedence and that int x =
We know that string is a reference type , so we have string s=God
I know that capture-parenthesed subexpressions is counted in back reference numbering even when they're
I know that when it comes to passing objects in java, the reference of
Is it possible to assign by reference? I know that ref has to be
I know that Phonegap has an event for back button, but it's only available

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.