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 database which includes connections, Session States, Error Handling, Security etc.
E.g.:
< configuration >
< appSettings >
< add key="ConnectionString"
value="server=localhost;
user id=sa;pwd=;database=MyDB" / >
< /appSettings >
< /configuration >
0 comments :
Post a Comment