Search code examples
asp.netweb-configapplication-settings

Mulitple applicationsettings tag inside a web.config file


Can I have more than one applicationsettings tag inside a Web.Config file? What is the best way to store multiple connection strings inside a web config file?


Solution

  • Yes, you can have more than one applicationsettings in your web.config, and you should store your connectionstrings in <connectionstrings>