I\'d want to ask how to create an instance of ASP.NET Core\'s Configuration, the same that\'s being created when I require it in Controller\'s constructor which knows about the
You can create a local instance of configuration as shown below.
IConfigurationRoot configuration = new ConfigurationBuilder() .SetBasePath([PATH_WHERE_appsettings.json_RESIDES]) .AddJsonFile("appsettings.json") .Build();
For further information see Configuration in ASP.NET Core