Browse Source

React to API changes in aspnet/KestrelHttpServer

088b7e5779
pull/83/head
Kévin Chalet 10 years ago
parent
commit
688730f1f6
  1. 2
      samples/Mvc.Client/Program.cs
  2. 2
      samples/Mvc.Server/Program.cs

2
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<Startup>()
.Build();

2
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<Startup>()
.Build();

Loading…
Cancel
Save