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

What are web beacons used for?

763


What is state management techniques in asp.net?

768


Describe the difference between inline and code behind - which is best in a?

834


What is asp.net and its advantages?

751


What kind of data can be stored in viewstate?

778


What is the difference between session and viewstate?

737


Describe Segmentation With Paging?

832


What are the various types of validation controls provided by asp.net?

766


Difference between overriding and overloading?

926


what cut off mark for po's,what questions they asked for interview?

1653


When we use cookie less session? Explain its working?

779


What is the use of HttpHandlers? When to use this?

849


What is a web farm?

784


Dataset is the disconnected environment. suppose if you are binding records to gridview (disconnected environment) and you are making changes to the the grid but before updating the database if any other user modify the data, how will you avoid such problem?

1943


What are client activated objects?

801