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 are the ways of preserving data on a Web Form in ASP.NET?
What is the use of global.asax file?
Explain the difference between Repeater and Data list control in ASP.NET?
What are the different types of Caching techniques in ASP.NET?
What are cao and sao.
What is viewstate information stored?
What is postback in asp net?
How do we ensure view state has not tampered?
What is variable and constant in .net programming language?
What is the function of new view engine in asp.net? : asp.net mvc
What permissions do asp.net applications posses by default?
What are the disadvantages of using session?
Explain automatic memory management in .net.
What is the difference between abstract class vs interface? Can give me the real time examples?
What is State Management in .Net and how many ways are there to maintain a state in .Net? What is view state?