aspnetcore/fundamentals/servers/kestrel.md
By Tom Dykstra, Chris Ross, and Stephen Halter
:::moniker range=">= aspnetcore-10.0"
Kestrel is a cross-platform web server for ASP.NET Core. Kestrel is the recommended server for ASP.NET Core, and it's configured by default in ASP.NET Core project templates.
Kestrel's features include:
ASP.NET Core project templates use Kestrel by default when not hosted with IIS. In the following template-generated Program.cs, the xref:Microsoft.AspNetCore.Builder.WebApplication.CreateBuilder%2A?displayProperty=nameWithType method calls xref:Microsoft.AspNetCore.Hosting.WebHostBuilderKestrelExtensions.UseKestrel%2A internally:
:::code language="csharp" source="~/fundamentals/servers/kestrel/samples/6.x/KestrelSample/Program.cs" id="snippet_CreateBuilder" highlight="1":::
For more information on configuring WebApplication and WebApplicationBuilder, see xref:fundamentals/minimal-apis.
<a name="endpoint-configuration"></a>
:::moniker-end