From 72b6cb562c7c531151fd7d5af302054aefb3bd95 Mon Sep 17 00:00:00 2001 From: Demis Bellot Date: Thu, 10 Sep 2020 04:46:25 +0800 Subject: [PATCH] Don't use ModularStartup --- MyApp.Api/Program.cs | 2 +- MyApp/Program.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/MyApp.Api/Program.cs b/MyApp.Api/Program.cs index ee8c0ce..b7c14e1 100644 --- a/MyApp.Api/Program.cs +++ b/MyApp.Api/Program.cs @@ -21,7 +21,7 @@ public static IHostBuilder CreateHostBuilder(string[] args) => Host.CreateDefaultBuilder(args) .ConfigureWebHostDefaults(builder => { - builder.UseModularStartup(); + builder.UseStartup(); }); } } diff --git a/MyApp/Program.cs b/MyApp/Program.cs index 11dfd32..4131b63 100644 --- a/MyApp/Program.cs +++ b/MyApp/Program.cs @@ -21,7 +21,7 @@ public static IHostBuilder CreateHostBuilder(string[] args) => Host.CreateDefaultBuilder(args) .ConfigureWebHostDefaults(builder => { - builder.UseModularStartup(); + builder.UseStartup(); }); } }