title: How to load multiple config files in .Net Core
body: <p>I want to load multiple config files from a folder in a loop in .Net core middle ware.</p>
  
  <p>I know we can load one or multiple config files by naming them like appSettings.json as mentioned <a href="https://docs.microsoft.com/en-us/aspnet/core/fundamentals/configuration/?view=aspnetcore-2.0&amp;tabs=basicconfiguration" rel="noreferrer">here</a></p>
  
  <p>But in my case, if I have multiple config folders, and each folder has multiple config files to be loaded initially. And If I start naming each file in each folder to load, it will be lot of lines and messier. I am looking to load all of the config folders in loop.</p>
  
  <p>Please ask if need more info.
  Thanks</p>