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(); }); } }