From 6cc6f4d88e579e2ad5b96cfe477297a168e38ebc Mon Sep 17 00:00:00 2001 From: Hisham Bin Ateya Date: Thu, 4 Feb 2016 14:24:17 +0300 Subject: [PATCH] Add 'UseServer' --- samples/IdentitySample.Mvc/Startup.cs | 1 + samples/IdentitySample.Mvc/hosting.json | 4 ---- 2 files changed, 1 insertion(+), 4 deletions(-) delete mode 100644 samples/IdentitySample.Mvc/hosting.json 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/" -}