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

Where do the cookie state and session state information be stored?

514


In order to get assembly info which namespace we should import?

527


Why web api is better than wcf?

556


What are server-side comments in ASP.NET?

548


What is the main difference between Asp.net and Vb.net?

569






How can you make sure that web api returns json data only?

518


What is the usie of activex control in .net?

562


What is the default timeout for a cookie?

560


Which ASP.NET configuration options are supported in the ASP.NET implementation on the shared web hosting platform?

652


What are the new data controls in asp.net 2.0?

526


What does mean by a neutral culture?

603


What is the difference between mvc (model-view-controller) and mvp (model-view-presenter)? : asp.net mvc

545


Any one can tell how we store tiff format images in database and retrive from the database(need for tiff format only)

1619


How does session work in asp net?

557


how to transfer the file from client to server using asp.net

593