What is web.config file ?



What is web.config file ?..

Answer / 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

More ASP.NET Interview Questions

What are the page life cycle events?

0 Answers  


How to merge 2 tables fields in DataTable in asp.net

6 Answers   Wipro,


How do you create master pages in asp.net?

2 Answers   Wipro,


What are the advantages of using session?

0 Answers  


Explain the main function of url routing system in asp.net mvc? : asp.net mvc

0 Answers  






SessionState - type of sessionstate and when and how to use it

1 Answers   Syntel,


What is a Windows Service and how does its lifecycle differ from a "standard" EXE?

2 Answers  


Which control has default post back is enabled(true)?

0 Answers   Sans Pareil IT Services,


Define static function?

0 Answers  


Explain how asp.net page works?

0 Answers  


what is clr .

1 Answers   Patni,


Difference between Dataset and DataReader ?

4 Answers   Accenture, BirlaSoft, Infosys, Microsoft, Techseol,


Categories