builder.Host.ConfigureAppConfiguration((hostingContext, config) => { config.AddJsonFile("d:/appsettings.json", optional: true, reloadOnChange: true); });