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

How does output caching work in ASP.NET?

497


Which is the best institute to learn Microsoft Technologies and the faculty if you Know?

1609


What is the difference between application state and session state in asp net?

502


In asp.net, how can you validate drop down box?

580


What is an imagemap in asp.net?

552






How does u call and execute a sp in .net?

543


When you are running a component within ASP.NET, what process is it running within on Windows XP? Windows 2000? Windows 2003?

589


What is the difference between stored procedure vs function?

571


Explain the different types of assemblies?

522


Name the namespace which is used by ado.net?

521


How does asp net store session ids by default?

525


What are cookies in asp.net?

569


Explain the asp.net page life cycle.

550


What are custom controls?

528


How to make sure that contents of an updatepanel update only when a partial postback takes place (and not on a full postback)?

521