diff --git a/samples/IdentitySample.Mvc/Startup.cs b/samples/IdentitySample.Mvc/Startup.cs index 859df5ba02..02fbbc35d9 100644 --- a/samples/IdentitySample.Mvc/Startup.cs +++ b/samples/IdentitySample.Mvc/Startup.cs @@ -123,6 +123,7 @@ namespace IdentitySample { var host = new WebHostBuilder() .UseDefaultConfiguration(args) + .UseServer("Microsoft.AspNetCore.Server.Kestrel") .UseStartup() .Build(); diff --git a/samples/IdentitySample.Mvc/hosting.json b/samples/IdentitySample.Mvc/hosting.json deleted file mode 100644 index 338530de11..0000000000 --- a/samples/IdentitySample.Mvc/hosting.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "server": "Microsoft.AspNetCore.Server.Kestrel", - "server.urls": "http://localhost:41532/" -}