Skip to content

Commit 0058cfb

Browse files
CopilotJamesNKwadepickett
authored
Clean up Kestrel overview page: move debugger section, remove obsolete libuv note, and update metadata (#35986)
Co-authored-by: JamesNK <[email protected]> Co-authored-by: wadepickett <[email protected]> Co-authored-by: copilot-swe-agent[bot] <[email protected]> Co-authored-by: James Newton-King <[email protected]>
1 parent ad60901 commit 0058cfb

File tree

5 files changed

+13
-26
lines changed

5 files changed

+13
-26
lines changed

aspnetcore/fundamentals/servers/kestrel.md

Lines changed: 1 addition & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ description: Learn about Kestrel, the cross-platform web server for ASP.NET Core
55
monikerRange: '>= aspnetcore-3.1'
66
ms.author: tdykstra
77
ms.custom: mvc
8-
ms.date: 08/04/2023
8+
ms.date: 08/25/2025
99
uid: fundamentals/servers/kestrel
1010
---
1111
# Kestrel web server in ASP.NET Core
@@ -47,18 +47,6 @@ For more information on configuring `WebApplication` and `WebApplicationBuilder`
4747

4848
For information on apps that must protect a subset of the app with a certificate, see [Optional client certificates](xref:security/authentication/certauth#optional-client-certificates).
4949

50-
## Behavior with debugger attached
51-
52-
The following timeouts and rate limits aren't enforced when a debugger is attached to a Kestrel process:
53-
54-
* <xref:Microsoft.AspNetCore.Server.Kestrel.KestrelServerLimits.KeepAliveTimeout?displayProperty=nameWithType>
55-
* <xref:Microsoft.AspNetCore.Server.Kestrel.KestrelServerLimits.RequestHeadersTimeout?displayProperty=nameWithType>
56-
* <xref:Microsoft.AspNetCore.Server.Kestrel.Core.KestrelServerLimits.MinRequestBodyDataRate?displayProperty=nameWithType>
57-
* <xref:Microsoft.AspNetCore.Server.Kestrel.Core.KestrelServerLimits.MinResponseDataRate?displayProperty=nameWithType>
58-
* <xref:Microsoft.AspNetCore.Server.Kestrel.Core.Features.IConnectionTimeoutFeature>
59-
* <xref:Microsoft.AspNetCore.Server.Kestrel.Core.Features.IHttpMinRequestBodyDataRateFeature>
60-
* <xref:Microsoft.AspNetCore.Server.Kestrel.Core.Features.IHttpMinResponseDataRateFeature>
61-
6250

6351
[!INCLUDE[](includes/memory-eviction2.md)]
6452

@@ -80,9 +68,6 @@ The following timeouts and rate limits aren't enforced when a debugger is attach
8068
* [RFC 9110: HTTP Semantics (Section 7.2: Host and :authority)](https://www.rfc-editor.org/rfc/rfc9110#field.host)
8169
* 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).
8270

83-
> [!NOTE]
84-
> As of .NET 5, Kestrel's libuv transport is obsolete. The libuv transport doesn't receive updates to support new OS platforms, such as Windows ARM64, and will be removed in a future release. Remove any calls to the obsolete <xref:Microsoft.AspNetCore.Hosting.WebHostBuilderLibuvExtensions.UseLibuv%2A> method and use Kestrel's default Socket transport instead.
85-
8671
:::moniker-end
8772

8873
[!INCLUDE[](~/fundamentals/servers/kestrel/includes/kestrel6.md)]

aspnetcore/fundamentals/servers/kestrel/diagnostics.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,4 +118,4 @@ app.Run();
118118

119119
## Behavior with debugger attached
120120

121-
Certain timeouts and rate limits aren't enforced when a debugger is attached to a Kestrel process. For more information, see [Behavior with debugger attached](xref:fundamentals/servers/kestrel#behavior-with-debugger-attached).
121+
Certain timeouts and rate limits aren't enforced when a debugger is attached to a Kestrel process. For more information, see [Behavior with debugger attached](xref:fundamentals/servers/kestrel/options#behavior-with-debugger-attached).

aspnetcore/fundamentals/servers/kestrel/includes/kestrel6.md

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -55,9 +55,6 @@ The following timeouts and rate limits aren't enforced when a debugger is attach
5555
* [RFC 9110: HTTP Semantics (Section 7.2: Host and :authority)](https://www.rfc-editor.org/rfc/rfc9110#field.host)
5656
* 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).
5757

58-
> [!NOTE]
59-
> As of .NET 5, Kestrel's libuv transport is obsolete. The libuv transport doesn't receive updates to support new OS platforms, such as Windows ARM64, and will be removed in a future release. Remove any calls to the obsolete <xref:Microsoft.AspNetCore.Hosting.WebHostBuilderLibuvExtensions.UseLibuv%2A> method and use Kestrel's default Socket transport instead.
60-
6158
:::moniker-end
6259

6360
:::moniker range=">= aspnetcore-5.0 < aspnetcore-6.0"
@@ -107,9 +104,6 @@ For information on apps that must protect a subset of the app with a certificate
107104
* [RFC 9110: HTTP Semantics (Section 7.2: Host and :authority)](https://www.rfc-editor.org/rfc/rfc9110#field.host)
108105
* When using UNIX sockets on Linux, the socket is not automatically deleted on app shut down. For more information, see [this GitHub issue](https://github.com/dotnet/aspnetcore/issues/14134).
109106

110-
> [!NOTE]
111-
> As of .NET 5, Kestrel's libuv transport is obsolete. The libuv transport doesn't receive updates to support new OS platforms, such as Windows ARM64, and will be removed in a future release. Remove any calls to the obsolete <xref:Microsoft.AspNetCore.Hosting.WebHostBuilderLibuvExtensions.UseLibuv%2A> method and use Kestrel's default Socket transport instead.
112-
113107
:::moniker-end
114108

115109
:::moniker range="< aspnetcore-5.0"

aspnetcore/fundamentals/servers/kestrel/options.md

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ description: Learn about configuring options for Kestrel, the cross-platform web
55
monikerRange: '>= aspnetcore-5.0'
66
ms.author: tdykstra
77
ms.custom: mvc
8-
ms.date: 01/26/2023
8+
ms.date: 08/25/2025
99
uid: fundamentals/servers/kestrel/options
1010
---
1111
# Configure options for the ASP.NET Core Kestrel web server
@@ -169,7 +169,15 @@ For information about other Kestrel options and limits, see:
169169

170170
## Behavior with debugger attached
171171

172-
Certain timeouts and rate limits aren't enforced when a debugger is attached to a Kestrel process. For more information, see [Behavior with debugger attached](xref:fundamentals/servers/kestrel#behavior-with-debugger-attached).
172+
The following timeout and rate limit options aren't enforced when a debugger is attached to a Kestrel process:
173+
174+
* <xref:Microsoft.AspNetCore.Server.Kestrel.KestrelServerLimits.KeepAliveTimeout?displayProperty=nameWithType>
175+
* <xref:Microsoft.AspNetCore.Server.Kestrel.KestrelServerLimits.RequestHeadersTimeout?displayProperty=nameWithType>
176+
* <xref:Microsoft.AspNetCore.Server.Kestrel.Core.KestrelServerLimits.MinRequestBodyDataRate?displayProperty=nameWithType>
177+
* <xref:Microsoft.AspNetCore.Server.Kestrel.Core.KestrelServerLimits.MinResponseDataRate?displayProperty=nameWithType>
178+
* <xref:Microsoft.AspNetCore.Server.Kestrel.Core.Features.IConnectionTimeoutFeature>
179+
* <xref:Microsoft.AspNetCore.Server.Kestrel.Core.Features.IHttpMinRequestBodyDataRateFeature>
180+
* <xref:Microsoft.AspNetCore.Server.Kestrel.Core.Features.IHttpMinResponseDataRateFeature>
173181

174182
:::moniker-end
175183

aspnetcore/performance/timeouts.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ This article explains how to configure the timeout middleware. The timeout middl
2121

2222
Request timeouts are in the <xref:Microsoft.AspNetCore.Http.Timeouts> namespace.
2323

24-
***Note:*** When an app is running in debug mode, the timeout middleware doesn't trigger. This behavior is the same as for [Kestrel timeouts](xref:fundamentals/servers/kestrel#behavior-with-debugger-attached). To test timeouts, run the app without the debugger attached.
24+
***Note:*** When an app is running in debug mode, the timeout middleware doesn't trigger. This behavior is the same as for [Kestrel timeouts](xref:fundamentals/servers/kestrel/options#behavior-with-debugger-attached). To test timeouts, run the app without the debugger attached.
2525

2626
## Add the middleware to the app
2727

0 commit comments

Comments
 (0)