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 |
What are the properties of application pool in iis?
About stateless and state full web service ?
What is iis role?
Where is the iis manager?
How to open iis configuration manager?
What are the iis isolation levels?
What is application pooling in iis?
What is iis? Why is it used?
Is microsoft iis free?
Explain the different types of identity available in iis 6.0?
How do I host a website using iis in windows 10?
What is the use of creating virtual directory in iis?