8. Kestrel HTTP Server
ASP.NET Core ships with a built-in HTTP server implementation named 'Kestrel.' This represents an addition option when deploying your ASP.NET applications, allowing you to remove IIS from your stack. If you start a new ASP.NET Core application from the templates provided by Visual Studio—with the latest .NET Core tooling installed—you will notice the following code in your program.cs…
public static void Main(string args)
var host = new WebHostBuilder()
If you are missing the line UseKestrel(), add this in as shown above and you are ready to go. Under default settings, you can navigate to your application from the browser with the URL http://localhost:5000.
This is all you need; and without the over-head of IIS, you'll find your application's response time to be improved.
You can find the benchmarks used in the slide here.