Hi...
Ques : Describe the configuration files in .Net. What are different types of configuration files in .Net framework?
Loading
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Satyapriya NayakPosted Jan 22, 2012, 7:03 AM
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