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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T07:41:20+00:00 2026-05-20T07:41:20+00:00

According to what’s new in .NET 4 : major configuration elements have been moved

  • 0

According to what’s new in .NET 4: “major configuration elements have been moved to the machine.config file, and applications now inherit these settings.”

I’m on a project upgrading from .NET 3.5 to .NET 4, and I have some questions about this change:

  • I assume this change is optional: if I leave my current web.config file as-is, it should run just fine under .NET 4 – correct?
  • This enhancement seems to have dubious value: the config hasn’t been simplified – the complexity/bloat has just been relocated to the machine.config file instead of web.config. Am I missing something?
  • It seems like this enhancement actually makes deployment more difficult: in addition to the deployment steps we already had, now we also need to modify the machine.config file to ensure it contains our expected settings/values.

As you can see, my initial take on this is: it’s a hassle and I don’t want to do it. Is there some perspective I’m missing that makes this change especially useful and valuable?

EDIT: Nathan and Rob – both your answers were very helpful and greatly appreciated – it was difficult to decide which to flag as the “real” answer. I upvoted both, of course. Thanks again!

  • 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-20T07:41:21+00:00Added an answer on May 20, 2026 at 7:41 am

    You don’t ever need to modify the machine.config unless you want those settings to be the default for all applications running on the server.

    Most of what was moved out of the web.config were “boilerplate” config items that were added with the release of .NET 3 and 3.5. They were needed by ASP.NET to register controls, handlers, etc, but rarely were they things you would actually need to modify, or care to.

    So basically this is useful to you because the configuration items that are just “white noise” to you are now moved out of you way, allowing you to focus on the settings you actually want to manipulate.

    ScottGu discusses this subject in a blog post of his: http://weblogs.asp.net/scottgu/archive/2009/08/25/clean-web-config-files-vs-2010-and-net-4-0-series.aspx

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

Sidebar

Related Questions

According to API Dock, ActiveRecord::Associations::AssociationProxy is now deprecated or moved. I'm curious as to
According to my requirement. Suppose I have below files abc.h //used for C file
According to PHP.net manual, pg_pconnect will create a persistent connection, or will return the
According to my flow I am pushing the new changes to my server new_release
According to this link: http://msdn.microsoft.com/en-us/library/live/hh826541.aspx In order to use the Live SDK you have
According to Security Space The penetration of PHP on Apache servers has been falling
According to this question , I should try to use Preallocation is Matlab. Now
According to the accepted answer here this is what I have to do to
According to php.net, Stack Overflow and other sources of trust, I can find 4
According to this article : As you might know, dynamic (as it is now

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.