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

  • Home
  • SEARCH
  • 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

My users are having an intermittent error when using a Windows Forms application built
I'm having a problem adding a reference to a .NET assembly I built. Here's
I'm new to development using Xcode, and am having trouble using the built-in Leaks
I'm having a problem running a T4 template using TextTransform.exe on my build server.
I'm trying to build a proxy module for .NET, but I'm having trouble copying
I'm using Eclipse's AntRunner to build a set of plugins, but I'm having trouble
We were having a problem with our build server not checking out modifications from
Is it possible to build Visual Studio solutions without having to fire up MonoDevelop?
I'm having a problem with a administrative app I'm working on. I'm build an
How do I use system environment variables in my project post-build events without having

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.