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

Differentiate between Server.Transfer and Response.Redirect with functionality? Why we can choose one over the other?

0 Answers   Siebel,


How much is the pay-for-use service if I chose not to use microsoft-sponsored advertising?

0 Answers  


To bind columns manually which tags do you need to add within the asp:datagrid ?

0 Answers   Siebel,


What is asp.net mvc? : asp.net mvc

0 Answers  


How do you add a javascript function for a link button in a datagrid ?

4 Answers   Microsoft,






What is round trip in asp.net?

0 Answers  


Explain file-based dependency and key-based dependency.

0 Answers   MindCracker,


Explain current thinking around IClonable.

1 Answers   Infosys, Wipro,


What is css in asp.net?

0 Answers  


9. Why should we hire you over the others waiting to be interviewed?

0 Answers   Business One, IBM, Swatz Oils,


How to store checkbox value in database in asp.net mvc? : Asp.Net MVC

0 Answers  


What is ascx?

0 Answers  


Categories