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 is the use of worker process in asp.net?

750


Explain weak typing and strong typing.

770


Is asp.net free?

769


How to add DateTime Control in normal DataGrid Server Control?

856


How to include silver light .xap page into asp.net web application and what is the purpose of using silverlight application?

2469


Explain the advantages of caching?

769


What is diff. Between abstract class and an interface?

747


Explain Session state management options in ASP.NET.

846


In Data grid the question is below quantity price total these are 3 fields available in data grid if you enter quantity the total has to update automatically.Price field is already filled completely

1787


What is the difference between login controls and forms authentication?

755


What is the difference between union and structure?

739


Explain Life cycle of ASP.NET page when a request is made.

985


What is .net remoting?

833


Is asp.net a programming language or framework?

786


Write a code snippet to implement the indentation in json in web api.

810