AlexK

Results 1 comments of AlexK

short answer might be ```c# public static async Task Main(string[] args) { var host = CreateWebHostBuilder(args).Build(); using (var scope = host.Services.CreateScope()) { scope.ServiceProvider.GetRequiredService().Database.Migrate(); } host.Run(); } ``` But I wouldn't...