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 an axd file?
About CLR, reflection and assemblies?
Where would you use an ihttpmodule, and what are the limitations of any?
By default, Web API sends HTTP response with which of the following status code for all uncaught exception?
What are cao and sao.
What is the difference between application state and session state in asp net?
What are validator? How do you disable them?
What is asp.net web application?
How does ASP.NET framework maps client side events to Server side events.?
How do I force the dispose method to be called automatically, as clients can forget to call dispose method?
What is web api config?
What is masterpage?
How can you debug your.net application?
In order to bind the data from a data source to the Repeater control what property is set and what method must you call in your code,?
What are the different types of sessions in asp.net? Name them?