liveBook · Manning

Kestrel

Kestrel is the cross-platform HTTP server implementation used by ASP.NET Core to receive and process HTTP traffic.

How 2 Manning books explain it

ASP.NET Core in Action, 3e

Kestrel is the cross-platform web server included with ASP.NET Core for receiving and sending HTTP traffic.

How it is used
Receives and sends HTTP traffic for an ASP.NET Core application while its application code produces the response.
How deep it goes
Explains request conversion into HttpContext and compares deployment arrangements, but does not detail Kestrel’s protocol implementation.
Examples
Uses a company information page and direct-versus-reverse-proxy hosting diagrams to show request flow.
What you can do after
Operate/configure it by choosing direct or reverse-proxy hosting and configuring a production HTTPS certificate when Kestrel handles TLS.

Read how ASP.NET Core in Action, 3e explains Kestrel →

Building Web APIs with ASP.NET Core

Kestrel is an open-source, cross-platform, event-driven, asynchronous HTTP server implementation for ASP.NET Core.

How it is used
Runs an ASP.NET Core web API locally through a selectable Visual Studio launch profile.
How deep it goes
Defines Kestrel’s server role and launch configuration but does not descend into server internals.
Examples
Uses MyBGList tester settings, TCP ports 55221 and 55222, a BoardGames endpoint, and board-game JSON output.
What you can do after
Operate/configure Kestrel by selecting its profile, assigning ports, choosing an environment, and verifying the launched API response.

Read how Building Web APIs with ASP.NET Core explains Kestrel →

Related concepts

These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.