Hi...
Ques : Describe the configuration files in .Net. What are different types of configuration files in .Net framework?
Describe the configuration files in .Net
1 Answer
Know the answer? Post it. Somebody with the same question will find it here.
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Satyapriya NayakRank #47 · 31.5K reputationPosted Jan 22, 2012, 2:03 AM EST
ASP.NET configuration data is stored in XML text files, each named Web.config. Web.config files can appear in multiple directories in ASP.NET applications. This section contains information about ASP.NET configuration files, their format, and the inheritance hierarchy
The different types of configuration files provided by .NET framework are:
The Machine.Config file, which specifies the settings that are global to a particular machine.
This file is located at the following path:
\WINNT\Microsoft.NET\Framework\[Framework Version]\CONFIG\machine.config
The simplest way to add application-specific settings into an application configuration file is to use an application configuration file.
The file is an XML file and contains add elements with key and value attributes.
Eg:
or tags can be used with authorization to allow or deny access to your web application to certain users or roles,
Thanks