What is web.config file ?

Answer Posted / tanuj kumar

Web.config file is the configuration file for the Asp.net web application. There is one web.config file for one asp.net application which configures
the particular application. Web.config file is written in XML with specific tags having specific meanings.It includes databa which includes
connections,Session States,Error Handling,Security etc.
For example :
< configuration >
< appSettings >
< add key="ConnectionString"
value="server=localhost;uid=sa;pwd=;database=MyDB" / >
< /appSettings >
< /configuration >

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain the difference between Repeater and Data list control in ASP.NET?

625


What is slidemaster?

472


Differentiate between a hyperlink control and a linkbutton control.

562


Why does my asp.net file have multiple tag with runat=server?

581


Which adapter should you use, if you want to get the data from an access database?

546






What is the difference between the asp and asp.net?

493


What are the different session state management options available in asp.net?

526


Describe the diffeerence between inline and code behind - which is best in a loosely coupled solution?

632


What do you mean by role-based security?

569


What is a web farm?

603


Where the assembly is stored in asp.net?

556


What is viewstate in asp net with example?

530


What are the components of ado.net?

541


Explain about consistent programming model in the .NET framework?

600


What is redirecting behavior?

531