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 3229204
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 17, 20262026-05-17T16:47:01+00:00 2026-05-17T16:47:01+00:00

Having built myself a decent website using ASP.NET MVC, I’m about to build an

  • 0

Having built myself a decent website using ASP.NET MVC, I’m about to build an “Admin Panel” for users in the “Admin” Role to control the website with. Specifically, the website that I’ve built is an internal site for an enterprise and it consists of a bunch of mini web-apps, each of which need to be configured and/or tweaked from time to time.

Is Web.Config the appropriate file to store these application settings?

Should it be in a separate XML file?

A DB Table (or set of tables)?

Currently, I have no DB available to me, but perhaps at a later date I will. Currently, I’m inclined to create an XML file and store values there. Is this a reasonable approach? Or am I missing something obvious on how to do this?

EDIT: Ok, here’s my abstraction layer (Interface):

public interface IAppSettings
{
 IQueryable<string> GetValues(string component, string setting);
 void SetValues(string component, string setting, List<string> values, bool append);
}

I figure I can read/write to Web.Config, another XML, or a DB this way.

What do you think?

  • 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-17T16:47:01+00:00Added an answer on May 17, 2026 at 4:47 pm

    I would recommend you a db. Writing to files in a multi-user/multi-threaded application could be challenging and problems could arise if you don’t synchronize the access to those files, not to mention transactional access if you ever needed such. There are some lightweight NoSQL databases which could be extremely useful and easy to setup.

    Whatever you choose make sure to create abstractions over the data access layer so that you could easily switch later to another method like a SQL database if you will (after trying a NoSQL database you probably won’t will :-)).

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

Sidebar

Related Questions

I am having problems getting validation to work for a form built using Zend_Form.
I build a parsing algorithm using NSXMLParser. Im having doubt as to what is
I want to build mod_wsgi against a Python which I have built myself from
I've built myself some flash content for my website, but I need some divs
I just discovered ASP.net uses its own profile system to register users and there
Having myself found in a role of a build engineer and a systems guy
Having read Joe Armstrong's book and watched Kevin Smith screencasts I've built a simple
I'm having an issue considering the built-in Python List-methods. As I learned Python, I
I am having trouble with a site administration tool I built, It allows me
I'm having an issue properly accessing an NSDictionary built from Flickr data (the flickr.photosets.getPhotos

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.