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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T23:08:44+00:00 2026-05-27T23:08:44+00:00

i would like to have my main web.config in the root where it normally

  • 0

i would like to have my main web.config in the root where it normally is and have another merged in.

Is this possible , i was thinking on placing a another web.config in APP_DATA/CONFIG which will have some additonal stuff that i can update without having to touch the main web.config

I seem to remember that this is possible but i am unsure.. can asp.net dynamically merge these and use both??

Can anyone provide further info?

THanks

  • 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-27T23:08:45+00:00Added an answer on May 27, 2026 at 11:08 pm

    No idea what you mean by merge web.config files, but you can have web.config files in subfolders of your ASP.NET application which could override some sections from the root config file (only some sections could be overridden). So for example you could have the following section in your root web.config file:

    <appSettings>
        <add key="foo" value="bar" />
    </appSettings>
    

    and then have a ~/somefolder/web.config which overrides this section:

    <appSettings>
        <add key="foo" value="baz" />
    </appSettings>
    

    and now if inside ~/somefolder/foo.aspx you try to access ConfigurationManager.AppSettings["foo"] you would get baz.

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

Sidebar

Related Questions

I have a reasonably complex layout problem: I would like to have a main
In main.xml I would like to have a spinner1 with two radio buttons and
I would like to simplify my main build scripts, and I'd like to have
I would like to have the following kind of HTML: <header></header> <div id='main'></div> <footer></footer>
I have a view defined for a url 'site/main/'. I would like to be
I have a GridView, radGvA133s, on my main form, MainForm. I would like to
I would like to have an AppWidget that designed like this one . Image:
I have a web app that I would like to have the following functionality:
I have recently designed a web application that I would like to write in
I would like to use web.config transformation but do not see the Add Config

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.