multiple web.config file in on application
-
hi, i have a we application and i have different settings for this application, now i need multiple web.config files in the application, how i can reference to those web.config files melodramatically at run time that which one's settings is going to be used this time, can any body explain it please,
-
hi, i have a we application and i have different settings for this application, now i need multiple web.config files in the application, how i can reference to those web.config files melodramatically at run time that which one's settings is going to be used this time, can any body explain it please,
By including Web.config files in sub-folders, we can override the settings defined in the Web.config file in the application's root folder. Working with more than one Web.config file[^] However, you can not use web.config file based on some conditional criteria. You can use multiple .config files and include it in web.config file. http://www.beansoftware.com/asp.net-tutorials/multiple-config.aspx[^] HTH
Jinal Desai - LIVE Experience is mother of sage....
-
hi, i have a we application and i have different settings for this application, now i need multiple web.config files in the application, how i can reference to those web.config files melodramatically at run time that which one's settings is going to be used this time, can any body explain it please,
The usage of multiple configuration file makes the application more secure and manageable. In the following tutorial you can learn how to use multiple web.config files in your application.
Regards, Jamil