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
Explain the use of fragment caching.
Explain the difference between page.registerclientscriptblock and page.registerstartupscript?
Describe in brief .net framework and its components.
What is content place holder?
What are directives in asp.net?
Is asp.net 64-bit enabled? How?
What is session management in web application?
What is a 401 redirect?
Where is session cookies stored?
How we can force all the validation controls to run?
What is client side state management?
Why is global asax is used?
Can you set the session out time manually?
What is request and response in asp.net?
What is the difference between Classic ASP and ASP.Net?