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

how can i deploy a asp.net webapplication.in a company so that all employees may access application on their different computers and share a single database. plz tell me the steps to do it..thanks.

1 Answers  


What are Http handler ?

6 Answers   Accenture, BirlaSoft, Satyam, Syntel,


What is the page life cycle in asp.net?

0 Answers  


Explain the asp.net page life cycle.

0 Answers  


what is diff between responseexpires and expiresabsolute

2 Answers   Accenture,


can we store textbox and com components in viewstate?

4 Answers   Microsoft,


What are the two Layouts supported by a Web form in ASP.NET?

0 Answers   MCN Solutions,


How to you can limit Access to Web API to Specific HTTP Verb?

0 Answers  


Types of optimization and name a few ?

3 Answers   Accenture,


Is razor a programming language?

0 Answers  


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

0 Answers  


Explain culture and uiculture values.

0 Answers  


Categories