From 1da365ce4c29c45fb5bc867a28fe38c543f7a18a Mon Sep 17 00:00:00 2001 From: Hisham Bin Ateya Date: Thu, 4 Feb 2016 13:46:54 +0300 Subject: [PATCH] Add 'UseServer' --- samples/IISSample/Startup.cs | 1 + samples/IISSample/hosting.json | 3 --- 2 files changed, 1 insertion(+), 3 deletions(-) delete mode 100644 samples/IISSample/hosting.json diff --git a/samples/IISSample/Startup.cs b/samples/IISSample/Startup.cs index 9a0c8d63bc..0b6831ce40 100644 --- a/samples/IISSample/Startup.cs +++ b/samples/IISSample/Startup.cs @@ -48,6 +48,7 @@ namespace IISSample { var host = new WebHostBuilder() .UseDefaultConfiguration(args) + .UseServer("Microsoft.AspNetCore.Server.Kestrel") .UseIISPlatformHandlerUrl() .UseStartup() .Build(); diff --git a/samples/IISSample/hosting.json b/samples/IISSample/hosting.json deleted file mode 100644 index 6a93dbafa8..0000000000 --- a/samples/IISSample/hosting.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "server": "Microsoft.AspNetCore.Server.Kestrel" -}