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
Where you store Connection string in "Web.Config" file in ASP.NET?
What is base class of button control in .net?
What are the types of caching in asp.net?
Can you set which type of comparison you want to perform by the comparevalidator control?
In a page I have gridview with options of select and delete using hyperlink when I am selecting any one of then it has to open another page how can it?
What is difference between mvc and asp.net? : Asp.Net MVC
What is protected configuration?
How can we add an event handler for a ASP.NET function executed on MouseOver for a certain button.
Briefly describe the role of global.asax?
Define cookie.
What is difference between rest and soap?
How to include silver light .xap page into asp.net web application and what is the purpose of using silverlight application?
Define session in asp.net.
How to implement globalization and localization in the use interface in .net.
List down the sequence of methods called during the page load.