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 is the difference between apache and iis?
What is Web Garden??
In iis version 6.0 through application pool we can provide different -2 applications for the client.
Where can I find applicationhost config?
Where is iis logs located?
How to create a virtual directory on iis?
Where are the IIS log files stored?
What is apache and iis?
How do you create Virtual Root in IIS?
What is the name of the user who connects to the web site anonymously?
How do I open iis server 2016?
What are the iis versions?
Visual Basic (800)
C Sharp (3816)
ASP.NET (3180)
VB.NET (461)
COM+ (79)
ADO.NET (717)
IIS (369)
MTS (11)
Crystal Reports (81)
BizTalk (89)
Dot Net (2435)
Exchange Server (362)
SharePoint (720)
WCF (340)
MS Office Microsoft (6963)
LINQ Language-Integrated Query (317)
WPF (371)
TypeScript (144)
Microsoft Related AllOther (311)