Kestrel
Kestrel is the cross-platform HTTP server implementation used by ASP.NET Core to receive and process HTTP traffic.
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
- Provides the HTTP server that receives requests and returns responses for ASP.NET Core applications.
- How deep it goes
- Explains request flow, hosting options, and certificate configuration, but does not describe obtaining a production certificate.
- Examples
- Uses a company information web app and a production HTTPS certificate configuration to illustrate Kestrel’s role.
- What you can do after
- Operate/configure Kestrel with a production HTTPS certificate and evaluate direct hosting against reverse-proxy deployment.
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 →
Also covered in
What to know first
- serverA server is a computer system or software process that provides data, resources, or services to other systems, typically by responding to requests.
- top-level statementA top-level statement is a C# statement written at the source-file level without an explicitly declared containing type or entry-point method.
Related concepts
- serverkind of · A server is a computer system or software process that provides data, resources, or services to other systems, typically by responding to requests.
- ASP.NET Coreused by · ASP.NET Core is Microsoft's open-source, cross-platform framework for building web applications and services on .NET.
- HttpContextproduces · HttpContext is the ASP.NET Core object representing the information, state, and features associated with a single HTTP request and its response.
- kestrel:certificates:defaultconfigured by · Kestrel:Certificates:Default is an ASP.NET Core configuration section that specifies the default certificate and access credentials for Kestrel HTTPS connections.
- launchSettings.jsonconfigured by · launchSettings.json is a .NET development configuration file defining local launch profiles and settings such as URLs, ports, and environment variables.
- middlewareuses · Middleware is software that mediates communication or processing between components, often by intercepting, transforming, or coordinating operations in a pipeline.
Questions about Kestrel
What is Kestrel?
Kestrel is the cross-platform HTTP server implementation used by ASP.NET Core to receive and process HTTP traffic.
Which Manning books explain Kestrel?
ASP.NET Core in Action, 3e and Building Web APIs with ASP.NET Core.
What should I know before learning Kestrel?
Manning books that teach Kestrel usually introduce server and top-level statement first.
What is Kestrel a kind of?
Kestrel is a kind of server. A server is a computer system or software process that provides data, resources, or services to other systems, typically by responding to requests.
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.

