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

Can you explain how ASP.NET application life cycle and page life cycle events fire?

564


What is GAC in ASP.NET 2.0

584


What is actually returned from server to the browser when a browser requests an .aspx file and the file is displayed?

525


Can one dll file contains the compiled code of more than one .net language?

529


What are the different types of sessions in asp.net?

488






What is tracing? Where is it used?

555


Explain what does mvc represent in asp.net? : asp.net mvc

497


What are the file extensions for razor views?

674


Describe how passport authentication works.

566


What is the concept of view state in asp.net?

560


Why we go for mvc instead of asp.net? : Asp.Net MVC

487


How we implement web farm and web garden concept in asp.net?

537


What is rending process in ASP.NET?

612


Explain the features that make asp.net more used framework? : asp.net mvc

476


How to do parallel database export in remote SQL Server in ESSL time track. It is working for local server but not working for remote SQL Server

5680