Skip to content

Commit 73e5f4d

Browse files
Copilottdykstra
andcommitted
Fix moniker range usage to avoid duplicate H2 headers
Co-authored-by: tdykstra <[email protected]>
1 parent 6cd46fc commit 73e5f4d

File tree

1 file changed

+5
-44
lines changed

1 file changed

+5
-44
lines changed

aspnetcore/fundamentals/servers/kestrel.md

Lines changed: 5 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ uid: fundamentals/servers/kestrel
1414

1515
By [Tom Dykstra](https://github.com/tdykstra), [Chris Ross](https://github.com/Tratcher), and [Stephen Halter](https://twitter.com/halter73)
1616

17-
:::moniker range=">= aspnetcore-10.0"
17+
:::moniker range=">= aspnetcore-8.0"
1818

1919
Kestrel is a cross-platform [web server for ASP.NET Core](xref:fundamentals/servers/index). Kestrel is the recommended server for ASP.NET Core, and it's configured by default in ASP.NET Core project templates.
2020

@@ -33,55 +33,16 @@ Kestrel's features include:
3333
* Building a reverse proxy with [YARP](https://github.com/microsoft/reverse-proxy).
3434
* **Extensibility:** Customize Kestrel through configuration, middleware, and custom transports.
3535
* **Performance diagnostics:** Kestrel provides built-in performance diagnostics features, such as logging and metrics.
36-
* **Memory management:** Kestrel includes features for efficient memory management. For more information, see <xref:fundamentals/servers/kestrel/memory-management>.
37-
38-
## Get started
39-
40-
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:
41-
42-
:::code language="csharp" source="~/fundamentals/servers/kestrel/samples/6.x/KestrelSample/Program.cs" id="snippet_CreateBuilder" highlight="1":::
43-
44-
For more information on configuring `WebApplication` and `WebApplicationBuilder`, see <xref:fundamentals/minimal-apis>.
45-
46-
## Additional resources
47-
48-
<a name="endpoint-configuration"></a>
49-
* <xref:fundamentals/servers/kestrel/endpoints>
50-
<a name="kestrel-options"></a>
51-
* <xref:fundamentals/servers/kestrel/options>
52-
<a name="http2-support"></a>
53-
* <xref:fundamentals/servers/kestrel/http2>
54-
<a name="when-to-use-kestrel-with-a-reverse-proxy"></a>
55-
* <xref:fundamentals/servers/kestrel/when-to-use-a-reverse-proxy>
56-
<a name="host-filtering"></a>
57-
* <xref:fundamentals/servers/kestrel/host-filtering>
58-
* <xref:test/troubleshoot>
59-
* <xref:security/enforcing-ssl>
60-
* <xref:host-and-deploy/proxy-load-balancer>
61-
* [RFC 9110: HTTP Semantics (Section 7.2: Host and :authority)](https://www.rfc-editor.org/rfc/rfc9110#field.host)
62-
* When using UNIX sockets on Linux, the socket isn't automatically deleted on app shutdown. For more information, see [this GitHub issue](https://github.com/dotnet/aspnetcore/issues/14134).
6336

6437
:::moniker-end
6538

66-
:::moniker range=">= aspnetcore-8.0 < aspnetcore-10.0"
39+
:::moniker range=">= aspnetcore-10.0"
6740

68-
Kestrel is a cross-platform [web server for ASP.NET Core](xref:fundamentals/servers/index). Kestrel is the recommended server for ASP.NET Core, and it's configured by default in ASP.NET Core project templates.
41+
* **Memory management:** Kestrel includes features for efficient memory management. For more information, see <xref:fundamentals/servers/kestrel/memory-management>.
6942

70-
Kestrel's features include:
43+
:::moniker-end
7144

72-
* **Cross-platform:** Kestrel is a cross-platform web server that runs on Windows, Linux, and macOS.
73-
* **High performance:** Kestrel is optimized to handle a large number of concurrent connections efficiently.
74-
* **Lightweight:** Optimized for running in resource-constrained environments, such as containers and edge devices.
75-
* **Security hardened:** Kestrel supports HTTPS and is hardened against web server vulnerabilities.
76-
* **Wide protocol support:** Kestrel supports common web protocols, including:
77-
* HTTP/1.1, [HTTP/2](xref:fundamentals/servers/kestrel/http2) and [HTTP/3](xref:fundamentals/servers/kestrel/http3)
78-
* [WebSockets](xref:fundamentals/websockets)
79-
* **Integration with ASP.NET Core:** Seamless integration with other ASP.NET Core components, such as the middleware pipeline, dependency injection, and configuration system.
80-
* **Flexible workloads**: Kestrel supports many workloads:
81-
* ASP.NET app frameworks such as Minimal APIs, MVC, Razor pages, SignalR, Blazor, and gRPC.
82-
* Building a reverse proxy with [YARP](https://github.com/microsoft/reverse-proxy).
83-
* **Extensibility:** Customize Kestrel through configuration, middleware, and custom transports.
84-
* **Performance diagnostics:** Kestrel provides built-in performance diagnostics features, such as logging and metrics.
45+
:::moniker range=">= aspnetcore-8.0"
8546

8647
## Get started
8748

0 commit comments

Comments
 (0)