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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T04:08:02+00:00 2026-06-11T04:08:02+00:00

In Asp.net 4.0, new feature has came web.config refactoring, As per this feature, whenever

  • 0

In Asp.net 4.0, new feature has came web.config refactoring, As per this feature, whenever we includes controls which requires config settings so in earlier version VS used to add those settings in to application config file.

In Web.config refactoring feature, everything goes in to machine.config file.

My Question are

  1. Is there any performance issue since all settings are moving in to Machine config?
  2. Unwanted settings also would be also be there since those settings are required for other apps but for my app those are not required.
  • 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-06-11T04:08:03+00:00Added an answer on June 11, 2026 at 4:08 am

    ASP.NET 4 moved all boilerplate code to the machine config file. This helps in making your own web.config files easier to read. This doesn’t mean that your own settings should be moved to the machine.config. Custom settings that apply to your application should be in your web.config.

    ASP.NET is smart in building the hierarchy of config files at runtime. It caches the files to make sure you don’t get any performance problems.
    Only common settings are shared. Before ASP.NET 4 these settings needed to be added to each application.

    Here is a blog by ScottGu that explains it in more detail: Clean web.config files

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

Sidebar

Related Questions

New ASP.NET Web API HttpClient has been giving me some strange results. Here is
I noticed that ASP.NET 4 has a new feature called 'Routing' or something similar.
I'm using the Data Annotation validation extensively in ASP.NET MVC 2. This new feature
I'm developer moving from C# to Java. Heard about new ASP net feature. <%:
Building a new ASP.net application, and planning to separate DB, 'service' tier and Web/UI
I am a new ASP.NET developer and I am developing a web-based suggestions box
I created a new ASP.NET MVC application. The home page looks like this: I
Lifemojo.com has introduced a new feature through which you can access the calorie content
Has anyone used structuremap with the new DI features of asp.net mvc 3.0? If
.NET 4.0 has that new Code Contracts feature. It works with interfaces too, as

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.