Wednesday, 24 September 2014

What is the web.config file?



The Web.config file is the configuration file for the ASP.Net web application. There is one web.config file for one ASP.Net application that configures the specific application. The Web.config file is written in XML with specific tags having specific meanings. It includes data that includes connections, Session States, Error Handling, Security and so on.

For example:

< configuration >
< appSettings >
< add key="ConnectionString" value="server=localhost;uid=sa;pwd=;database=TestDB" / >
< /appSettings >
< /configuration >

No comments:

Post a Comment