diff --git a/samples/Mvc.Client/Program.cs b/samples/Mvc.Client/Program.cs index fe8a48b2..028c4238 100644 --- a/samples/Mvc.Client/Program.cs +++ b/samples/Mvc.Client/Program.cs @@ -9,7 +9,7 @@ namespace Mvc.Client { .ConfigureLogging(options => options.AddDebug()) .UseDefaultHostingConfiguration(args) .UseIISPlatformHandlerUrl() - .UseServer("Microsoft.AspNetCore.Server.Kestrel") + .UseKestrel() .UseStartup() .Build(); diff --git a/samples/Mvc.Server/Program.cs b/samples/Mvc.Server/Program.cs index ea8f1a85..7b0b761a 100644 --- a/samples/Mvc.Server/Program.cs +++ b/samples/Mvc.Server/Program.cs @@ -9,7 +9,7 @@ namespace Mvc.Server { .ConfigureLogging(options => options.AddDebug()) .UseDefaultHostingConfiguration(args) .UseIISPlatformHandlerUrl() - .UseServer("Microsoft.AspNetCore.Server.Kestrel") + .UseKestrel() .UseStartup() .Build();