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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T13:32:55+00:00 2026-05-25T13:32:55+00:00

Every .NET project I’ve worked on uses an app.config file for its configuration. Fair

  • 0

Every .NET project I’ve worked on uses an app.config file for its configuration. Fair enough.

Today I am asking, “is there a better way?” (in the spirit of continual learning of course)

I guess my specific questions are:

  1. Does it matter either way if I use app.config or settings file?
  2. Are there any scenarios where settings files should not be used e.g web sites where you should use a web.config instead?
  3. Other than not having to edit xml, are there any other benefits gained by using settings instead of app.config, e.g. its easier to deploy or maintain apps etc.

Clarification:
I’ll put this question another way:
Can I completely ignore app.config files if I want to and keep all the configuration in a settings.cs file and interact with configuration via the designer only?

  • 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-25T13:32:56+00:00Added an answer on May 25, 2026 at 1:32 pm

    IMO, the main advantage of settings files is scoping (for client apps at least) – that is, that you can have different values of the same setting for a different user. It also allows you to easily edit and save user-scoped settings. And yes, if you don’t like editing XMLs – then settings have the advantage of a designer too 🙂

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

Sidebar

Related Questions

When adding an Application Configuration file to a .Net project in Visual Studio it
I'm using MySql in my asp.net project. But I don't want to type every
In ASP.NET, does every HttpRequest get its own thread? Update - To clarify, I'm
I am developing an asp.net project that will be running in a lan. Every
In my global.asax file for my ASP.net project, I am checking for certain conditions.
Is it possible to make a setup and deployment project in VB.net 2008, every
Hello when I compile a ASP.NET C# project using file Microsoft.NET\Framework\v2.0.50727\MSBuild.exe I am getting
On Visual Studio 2010, when i create ASP.NET Web Site Project, every times i
I regularly (every few days or so) publish my ASP.NET web project to the
I have an ASP.NET MVC 3 project and every page I go to the

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.