Using Multiple .Config Files in ASP.NET

We can include multiple configuration files in our asp.net application, these things provide a feasibility to the use to work in more robust environment. The usage of multiple configuration file makes the application more secure and manageable Web.confi exposes an element that can be used as a place to store application settings like connection strings, file paths, etc. sample web.config file To read this information in our web.config file use the following line System.Configuration.ConfigurationManager.AppSettings("variable") To include multiplae config use the following codes here externalSettings.config will point to another configuration file holding information for our use About the author: Planet Source Code is a place for all developer providing free source codes, articles, complete projects,complete application in PHP, C/C++, Javascript, Visual Basic, Cobol, Pascal, ASP/VBScript, AJAX, SQL, Perl, Python, Ruby, Mobile Development

Add new comment