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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 14, 20262026-05-14T21:40:26+00:00 2026-05-14T21:40:26+00:00

I just upgraded to Visual Studio 2010 and MVC 2.0 and I noticed the

  • 0

I just upgraded to Visual Studio 2010 and MVC 2.0 and I noticed the Web.config has two additional files attached to it? Are these files used to specify debug and release specific settings, so you don’t clutter up the main Web.config?

Does it even make sense to place a connection string in the root Web.config file if I have a local and remote one in the debug and release Web.configs respectively?

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-14T21:40:27+00:00Added an answer on May 14, 2026 at 9:40 pm

    It’s the new Web.config transformation feature of Visual Studio 2010. More information here.


    Edit:

    Are these files used to specify debug and release specific settings, so you don’t clutter up the main web.config?

    It isn’t limited to three files, you could (in theory) have as many files as you have environments. The “top level” Web.config provides a template of your web config. The files under it provide replacement values specific to that environment (like if you have different connection strings for local/stage/test/whatever).

    Does it even make sense to place a connection string in the root web.config file if I have have a local and remote one in the debug and release web.configs respectively.

    It would only make sense if it wasn’t going to change between environments. Sounds like in your case it does so, in your case no, it would not make sense to leave it in the Web.config.

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

Sidebar

Related Questions

I just upgraded to Visual Studio 2010, and I am playing around with the
We just upgraded our Visual Studio 2008 projects to Visual Studio 2010. All of
this is an extremely frustrating situation. We have just upgraded to Visual Studio 2010
Just recently upgraded to Visual Studio 2010 SP1 and ASP.NET MVC3, but the only
Is Visual studio 2010 slower than 2005? I just had my laptop upgraded to
I just upgraded to the beta 2 of Crystal Reports for Visual Studio 2010
I just upgraded my operating system to Windows 7. Visual Studio 2008 also seems
ok i just upgrade it to visual studio c++ 2010 express. when i use
I just installed Visual Studio 2010 Beta 2 on my hard drive. I also
I upgraded to MS VC++ 2010 (Visual Studio Professional) and boost 1.45.0 but I

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.