private static void AddConfiguration(WebHostBuilderContext context, IConfigurationBuilder builder) { var configuration = builder.Build(); var connectionString = configuration.GetConnectionString("Database"); builder.AddDemoDbProvider(options => options.UseSqlServer(connectionString)); }