Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

What is web.config. How many web.config files can be allowed
to use in an application?

Answer Posted / manikumar

* Configuration information is stored in XML-based text
files. You can use any standard text editor or XML parser to
create and edit ASP.NET configuration files.
* Multiple configuration files, all named Web.config,
can appear in multiple directories on an ASP.NET Web
application server. Each Web.config file applies
configuration settings to its own directory and all child
directories below it. Configuration files in child
directories can supply configuration information in addition
to that inherited from parent directories, and the child
directory configuration settings can override or modify
settings defined in parent directories. The root
configuration file named
systemroot\Microsoft.NET\Framework\versionNumber\CONFIG\Machine.config
provides ASP.NET configuration settings for the entire Web
server.
* At run time, ASP.NET uses the configuration
information provided by the Web.config files in a
hierarchical virtual directory structure to compute a
collection of configuration settings for each unique URL
resource. The resulting configuration settings are then
cached for all subsequent requests to a resource. Note that
inheritance is defined by the incoming request path (the
URL), not the file system paths to the resources on disk
(the physical paths).
* ASP.NET detects changes to configuration files and
automatically applies new configuration settings to Web
resources affected by the changes. The server does not have
to be rebooted for the changes to take effect. Hierarchical
configuration settings are automatically recalculated and
recached whenever a configuration file in the hierarchy is
changed. The <processModel> section is an exception.
* The ASP.NET configuration system is extensible. You
can define new configuration parameters and write
configuration section handlers to process them.
* ASP.NET help protect configuration files from outside
access by configuring Internet Information Services (IIS) to
prevent direct browser access to configuration files. HTTP
access error 403 (forbidden) is returned to any browser
attempting to request a configuration file directly.

In This Section

Is This Answer Correct ?    9 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the purpose of master page?

859


What are the HTML server controls in ASP.NET?

1043


Write a code for sending an email from asp.net application.

978


Explain what are the advantages of asp.net mvc framework? : asp.net mvc

1037


What is the difference between cache and cookies?

953


What is ispostback method in asp.net?

963


Explain what is an assembly?

914


How ASP.NET page works?

1044


What are early binding and late binding.

1026


How to make paging concepts in datagrid in ASP.NET?

979


Explain the procedure to handle the process request using mhpm events fired? : asp.net mvc

953


What are the data controls available in asp.net?

919


What is windows active directory authentication?

991


IN an ASP.NET Web application if there is any error, how can you debug?

1015


What is a web api endpoint?

985