There might be multiple web.config files for a single
project depending on the hierarchy of folders inside the
root folder of the project, so for each folder we can use
one web.config file
There may be more then one web config file in one
application.But in different folders.And all web config
files override the application root directory web.config
file methods.
If you are asked this question in interview, then probably
you should make it clear to the interviewer.
As far as name webconfig is concerned, yes there can be
multiple files with name web.config in a give project, as
correctly stated by others it should be in different
directories in the project.
As far as feature/working is concerned, web config file ni
sub directory is limited to some elements. It does not
support all the elements supported by a web.config file.
A Web application can contain more than one Web.config
file. The settings in a file apply to the directory in
which it's located, and all child directories. Web.config
files in child directories take precedence over the
settings that are specified in parent directories
There may be more then one web config file in one
application.But in different folders.And all web config
files override the application root directory web.config
file methods.