Wednesday 25 May 2016

Web.config File


web.config is configuration file for the Asp.net web application. It includes the settings information of the web application. Web.Config is created and modified in .xml extension. The specfic tags of the web.config files contains the information about the Settings,Security,Connection strings,Session States, and all the configurations part.







For Instance : -
< configuration >< appSettings >< add key="ConnectionString"value="server=localhost;uid=sa;pwd=;database=MyDB" / >< /appSettings >< /configuration >

2 comments: