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


Please Help Members By Posting Answers For Below Questions

What are the ways of preserving data on a Web Form in ASP.NET?

821


What is the use of global.asax file?

768


Explain the difference between Repeater and Data list control in ASP.NET?

829


What are the different types of Caching techniques in ASP.NET?

782


What are cao and sao.

742


What is viewstate information stored?

838


What is postback in asp net?

767


How do we ensure view state has not tampered?

808


What is variable and constant in .net programming language?

598


What is the function of new view engine in asp.net? : asp.net mvc

745


What permissions do asp.net applications posses by default?

840


What are the disadvantages of using session?

703


Explain automatic memory management in .net.

777


What is the difference between abstract class vs interface? Can give me the real time examples?

708


What is State Management in .Net and how many ways are there to maintain a state in .Net? What is view state?

807