how many web.config files are there in 1 project.we can
overwrite the web.config files
Answers were Sorted based on User's Feedback
Answer / sree
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
Is This Answer Correct ? | 89 Yes | 8 No |
Answer / anna
Mr.Lalit Ratnawat you are wrong
we can have any no. of web.config files in a project
Is This Answer Correct ? | 79 Yes | 3 No |
Answer / ranjanatyagi
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.
Is This Answer Correct ? | 50 Yes | 2 No |
Answer / vikas
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.
Is This Answer Correct ? | 29 Yes | 2 No |
We can have any number of web.config files files in aproject
based on the modules present and if needed we can..
Is This Answer Correct ? | 33 Yes | 8 No |
Answer / kiran
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
Is This Answer Correct ? | 20 Yes | 1 No |
Answer / k7
yes there can be multiple web config file and Also it can
be overwritten.
Is This Answer Correct ? | 20 Yes | 2 No |
Answer / navneet sharma
we can have more than 1 web.config in a project but in
different folders
Is This Answer Correct ? | 19 Yes | 2 No |
Answer / nirajbagde
Yes there can be multiple web.config files for a same
application...............
NIRAJ (MICROSOFT TECHNOLOGIES)
Is This Answer Correct ? | 17 Yes | 1 No |
Answer / tofail
yes we can have more than one web.config files in a project
but in a different folder
Is This Answer Correct ? | 13 Yes | 1 No |
IIS DNS, DHCP concepts
How do I change iis settings?
How do I disable iis?
How do I create a iis application?
What is App Pool in IIS?
IIS Socket pooling
How often does iis recycle app pool?
Explain the permission settings are available for virtual directory?
In My Office when we are trying to reach internet its working but when we are trying to reach intranet we are getting slow response? Please suggest me how to resolve it ?
What is appdomain in iis?
What is the main function of iis?
What is the use of iis logs?