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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 14, 20262026-05-14T03:18:50+00:00 2026-05-14T03:18:50+00:00

I am having difficulty with managing configuration of an ASP.Net application to deploy for

  • 0

I am having difficulty with managing configuration of an ASP.Net application to deploy for different clients. The sheer volume of different settings which need twiddling takes up large amounts of time, and the current configuration methods are too complicated to enable us to push this responsibility out to support partners.

Any suggestions for better methods to handle this or good sources of information to research?

How we do things at present:

  • Various xml configuration files which are referenced in Web.Config, for example an AppSettings.xml.
  • Configurations for specific sites are kept in duplicate configuration files.
  • Text files containing lists of data specific to the site
  • In some cases, manual one-off changes to the database
  • C# configuration for Windsor IOC.

The specific issues we are having:

  • Different sites with different features enabled, different external services we have to talk to and different business rules.
  • Different deployment types (live, test, training)
  • Configuration keys change across versions (get added, remove), meaning we have to update all the duplicate files
  • We still need to be able to alter keys while the application is running

Our current thoughts on how we might approach this are:

  • Move the configuration into dynamically compiled code (possibly Boo, Binsor or JavaScript)
  • Have some form of diffing/merging configuration: combine a default config with a live/test/training config and a site-specific config
  • 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-14T03:18:51+00:00Added an answer on May 14, 2026 at 3:18 am

    Whichever way you go, I think it could be valuable to have the notion of a single “source of truth” for your configuration.

    Duplication is fine, if you need to provide configuration to some components in their own specialized form.

    But to retain your sanity I think you should try and aim to have one place where you set all the configuration pertaining to your application, and then a well-defined mechanism for translating that into entries inside Web.config, and any other config mechanism you have to support.

    Depending on the level of skill of your support partners (whether or not they will break XML), I imagine you may also want to provide a GUI utility to let them twirl all the knobs in this “source of truth” configuration file, with “Apply” going and running transform/update code to make the necessary changes to Web.config & friends.

    Then to manage your configuration for different sites/customers, you theoretically have around one configuration file to manage.

    Note: In ASP.NET 4.0 a build-time configuration transform mechanism will be available (see http://blog.hmobius.com/post/2010/02/17/ASPNET-40-Part-4-Config-Transformation-Files.aspx), which may make this task easier. It appears you can use this with some hacks for non web projects (see http://philbolduc.blogspot.com/2010/03/using-config-transforms-outside-web.html).

    However, if you need to make these changes at deployment time, you may be stuck with writing custom tools to do this, though it looks like the XDT transforms may be the way to go for you, given you want to be able to add/update/remove items.

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

Sidebar

Related Questions

I've been coding and managing Java & ASP.Net applications & servers for my entire
I'm having difficulty implementing an accordion effect on three different tables using jQuery and
I have huge code base and I am having difficulty managing it. There are
Amazingly simple as it sounds, i'm having difficulty managing this. Simply put, if i
I'm having some difficulty with managing an administration page, where I constantly get an
I am having difficulty understanding how a salt which is appended to a hash
Im having difficulty trying to design a database structure for the following scenario: My
I am having difficulty using a thirdparty library registration function to register a callback.
I'm having difficulty using MooseX::Declare properly when calling BUILDARGS. I'm trying to create an
I am having difficulty connecting my java code to sql server database. I can

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.