What is web.config. How many web.config files can be allowed
to use in an application ?
Answer Posted / lily antony
The web.config file is the configuration file of the web
application. This means that the configuration settings of
the application [such as authentication, authorisation,
tracing, debugging, connectionstrings, ...] can be changed
through the web.config file.
The main advantage is that that the changes made in the
web.config file will be applicable to the web application
without having to change the code of the application and
without recompiling the application.
The root folder of a web application can have only one
web.config file. But any inner/ sub folders can have a
web.config file. It web.config file in the sub folders will
override the one in the root folder of the application.
| Is This Answer Correct ? | 32 Yes | 1 No |
Post New Answer View All Answers
What is the difference between client-side and server-side validations in webpages?
How would you get asp.net running in apache web servers?
In ViewState How much lifespan items stored?
Describe a Windows Service and its lifecycle ?
How can you handle unmanaged code exceptions in asp.net?
What are the advantages of Web API?
How do you do Client-side validation in .Net?
What are Master Pages in ASP.NET?
Explain parts of assembly?
What are url fragments?
What methods are fired during the page load? Init()
What is a response cookie?
How to deploy/publish webservices?How many ways?Plz explain me
What is the equivalent of date() and time() in asp.net?
Can you explain composite pattern?