Skip to content
This repository was archived by the owner on Nov 1, 2018. It is now read-only.

Commit 7a3da26

Browse files
committed
React to Kestrel extensions
1 parent cad873d commit 7a3da26

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

samples/IISSample/Startup.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ public static void Main(string[] args)
7676
{
7777
var host = new WebHostBuilder()
7878
.UseDefaultHostingConfiguration(args)
79-
.UseServer("Microsoft.AspNetCore.Server.Kestrel")
79+
.UseKestrel()
8080
.UseIIS()
8181
.UseStartup<Startup>()
8282
.Build();
@@ -85,3 +85,4 @@ public static void Main(string[] args)
8585
}
8686
}
8787
}
88+

test/TestSites/Program.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,11 @@ public static void Main(string[] args)
1313
.UseDefaultHostingConfiguration(args)
1414
.UseIIS()
1515
.UseStartup("TestSites")
16-
.UseServer("Microsoft.AspNetCore.Server.Kestrel")
16+
.UseKestrel()
1717
.Build();
1818

1919
host.Run();
2020
}
2121
}
2222
}
23+

0 commit comments

Comments
 (0)