I want to load multiple config files from a folder in a loop in .Net core middle ware.
I know we can load one or multiple config files by naming them like appSettings.json as mentioned here
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.
Please ask if need more info. Thanks