Update kestrel.md (#24045)

pull/24050/head
Rick Anderson 2021-11-23 17:42:30 -10:00 committed by GitHub
parent 40442c610d
commit b765ad6080
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -32,7 +32,7 @@ Kestrel is supported on all platforms and versions that .NET Core supports.
## Get started
ASP.NET Core project templates use Kestrel by default. In *Program.cs*, the
ASP.NET Core project templates use Kestrel by default when not hosted with IIS. In *Program.cs*, the
<xref:Microsoft.Extensions.Hosting.GenericHostBuilderExtensions.ConfigureWebHostDefaults*> method calls <xref:Microsoft.AspNetCore.Hosting.WebHostBuilderKestrelExtensions.UseKestrel*>:
[!code-csharp[](kestrel/samples/5.x/KestrelSample/Program.cs?name=snippet_DefaultBuilder&highlight=8)]