Question: How do you use one appsettings.json file across muiltiple applications
Please Login to see the rest of the answer
public static IWebHostBuilder CreateDefaultBuilder(args){
return WebHost.CreateDefaultBuilder(args)
.UseKestrel() //If you intend to use Kestrel Web Server
.ConfigureLogging((hostingContext, logging)=>{
//In here that is where you include the global appsettings.json file
var pathToJsonFileLocation = Path.Combine(env.ContentRootPath,"LocationToJsonFileFolder","JsonFileName")
config.AddJsonFile(pathToJsonFileLocation, optional: true)
.AddJsonFile("AnotherAppsettingsIfYouWant.json", optional: true)
.AddJsonFile($"AnotherNeatWayOfGettingProductionJsonFile.{env.EnviromentName}.json", optional: true);
config.AddEnviromentVariables();
})
.UseStartup<Startup>()
}