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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 21, 20262026-05-21T18:55:38+00:00 2026-05-21T18:55:38+00:00

Config files have grown so complex that some have suggested that they are their

  • 0

Config files have grown so complex that some have suggested that they are their own programming language. If I were to take this analogy further, it would make sense to have some consistencies when editing the file.

I was going to limit this question to WCF, which is very sensitive to the smallest configuration change, but think other sections (web.config) would benefit from a structure as well.

Given that VS2010 will handle the indentation of the file, what other standards are applicable when updating a config file? Some ideas I came up with :

  • Sort <config sections> alphabetically
  • The name identifier within <config sections/> should be pushed to the left

Alternatively

  • Group identifiers and config sections by similar function

I’m guessing the guidance may vary slightly between specialties (Web vs WCF vs identity model) but I’d appreciate hearing your own perspective.

  • 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-21T18:55:39+00:00Added an answer on May 21, 2026 at 6:55 pm

    I always (until something forces the opposite) sort everything alphabetically (sections, nodes, subnodes), except sections’ declaration, which have to going first.

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

Sidebar

Related Questions

In my home folder in Linux I have several config files that have rc
We have multiple config files (app.DEV.config, app.TEST.config, etc) and a pre-build event that copies
I have seen config files(yes, text files) for various console applications that look like
I have some config files (.xml's) used by my flex app sitting on remote
I have 2 web.config files at root/ and at root/Web. I want that when
I have an idea that reading values from config files instead of using hard
I have two separate integration test files, each with their own context configuration files
I have a Perl script to copy some config files from remote servers to
I have multiple email id's in some config files in a directory; I'm running
Using Installshield 2010 with a Basic MSI project. I have several config files that

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.