From fc30ab11b5e6d822f697555eef63c3479c2d14f3 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Tue, 17 Mar 2026 21:52:05 +0000 Subject: [PATCH 1/9] Initial plan From 79c540b1818f15c343a3071f0c4247d1d4e508d1 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Tue, 17 Mar 2026 21:54:03 +0000 Subject: [PATCH 2/9] Fix Request Logging link to point to HTTP Logging article across all versions Changes xref:fundamentals/logging/index to xref:fundamentals/http-logging/index in the Minimal APIs middleware table for versions 6.0-10.0. Also removes hardcoded ?view=aspnetcore-6.0 query parameter. Fixes #36884 Co-authored-by: wadepickett <10985336+wadepickett@users.noreply.github.com> --- aspnetcore/fundamentals/minimal-apis.md | 4 ++-- .../fundamentals/minimal-apis/includes/minimal-apis6.md | 2 +- .../fundamentals/minimal-apis/includes/minimal-apis7.md | 2 +- .../fundamentals/minimal-apis/includes/minimal-apis8.md | 2 +- .../fundamentals/minimal-apis/includes/minimal-apis9.md | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/aspnetcore/fundamentals/minimal-apis.md b/aspnetcore/fundamentals/minimal-apis.md index d06d8f1b449d..cfe6b4c60aa2 100644 --- a/aspnetcore/fundamentals/minimal-apis.md +++ b/aspnetcore/fundamentals/minimal-apis.md @@ -5,7 +5,7 @@ description: Provides an overview of Minimal APIs in ASP.NET Core ms.author: wpickett content_well_notification: AI-contribution monikerRange: '>= aspnetcore-6.0' -ms.date: 12/05/2025 +ms.date: 03/17/2026 uid: fundamentals/minimal-apis ai-usage: ai-assisted --- @@ -50,7 +50,7 @@ The following table lists some of the middleware frequently used with Minimal AP | [Forwarded Headers](xref:fundamentals/middleware/index#forwarded-headers-middleware-order) | Forwards proxied headers onto the current request. | | | [HTTPS Redirection](xref:security/enforcing-ssl) | Redirects all HTTP requests to HTTPS. | | | [HTTP Strict Transport Security (HSTS)](xref:fundamentals/middleware/index#middleware-order) | Security enhancement middleware that adds a special response header. | | -| [Request Logging](xref:fundamentals/logging/index) | Provides support for logging HTTP requests and responses. | | +| [Request Logging](xref:fundamentals/http-logging/index) | Provides support for logging HTTP requests and responses. | | | [Request Timeouts](xref:performance/timeouts) | Provides support for configuring request timeouts, global default and per endpoint. | `UseRequestTimeouts` | | [W3C Request Logging](https://www.w3.org/TR/WD-logfile.html) | Provides support for logging HTTP requests and responses in the [W3C format](https://www.w3.org/TR/WD-logfile.html). | | | [Response Caching](xref:performance/caching/middleware) | Provides support for caching responses. | | diff --git a/aspnetcore/fundamentals/minimal-apis/includes/minimal-apis6.md b/aspnetcore/fundamentals/minimal-apis/includes/minimal-apis6.md index 5f9713820232..a1c89eaccbbb 100644 --- a/aspnetcore/fundamentals/minimal-apis/includes/minimal-apis6.md +++ b/aspnetcore/fundamentals/minimal-apis/includes/minimal-apis6.md @@ -278,7 +278,7 @@ The following table lists some of the middleware frequently used with Minimal AP | [Forwarded Headers](xref:fundamentals/middleware/index?view=aspnetcore-6.0#forwarded-headers-middleware-order) | Forwards proxied headers onto the current request. | | | [HTTPS Redirection](xref:security/enforcing-ssl?view=aspnetcore-6.0) | Redirects all HTTP requests to HTTPS. | | | [HTTP Strict Transport Security (HSTS)](xref:fundamentals/middleware/index?view=aspnetcore-6.0#middleware-order) | Security enhancement middleware that adds a special response header. | | -| [Request Logging](xref:fundamentals/logging/index?view=aspnetcore-6.0) | Provides support for logging HTTP requests and responses. | | +| [Request Logging](xref:fundamentals/http-logging/index) | Provides support for logging HTTP requests and responses. | | | [W3C Request Logging](https://www.w3.org/TR/WD-logfile.html) | Provides support for logging HTTP requests and responses in the [W3C format](https://www.w3.org/TR/WD-logfile.html). | | | [Response Caching](xref:performance/caching/middleware) | Provides support for caching responses. | | | [Response Compression](xref:performance/response-compression) | Provides support for compressing responses. | | diff --git a/aspnetcore/fundamentals/minimal-apis/includes/minimal-apis7.md b/aspnetcore/fundamentals/minimal-apis/includes/minimal-apis7.md index 610abcd6b6c0..6576aa687509 100644 --- a/aspnetcore/fundamentals/minimal-apis/includes/minimal-apis7.md +++ b/aspnetcore/fundamentals/minimal-apis/includes/minimal-apis7.md @@ -25,7 +25,7 @@ The following table lists some of the middleware frequently used with Minimal AP | [Forwarded Headers](xref:fundamentals/middleware/index?view=aspnetcore-6.0#forwarded-headers-middleware-order) | Forwards proxied headers onto the current request. | | | [HTTPS Redirection](xref:security/enforcing-ssl?view=aspnetcore-6.0) | Redirects all HTTP requests to HTTPS. | | | [HTTP Strict Transport Security (HSTS)](xref:fundamentals/middleware/index?view=aspnetcore-6.0#middleware-order) | Security enhancement middleware that adds a special response header. | | -| [Request Logging](xref:fundamentals/logging/index?view=aspnetcore-6.0) | Provides support for logging HTTP requests and responses. | | +| [Request Logging](xref:fundamentals/http-logging/index) | Provides support for logging HTTP requests and responses. | | | [Request Timeouts](xref:performance/timeouts) | Provides support for configuring request timeouts, global default and per endpoint. | `UseRequestTimeouts` | | [W3C Request Logging](https://www.w3.org/TR/WD-logfile.html) | Provides support for logging HTTP requests and responses in the [W3C format](https://www.w3.org/TR/WD-logfile.html). | | | [Response Caching](xref:performance/caching/middleware) | Provides support for caching responses. | | diff --git a/aspnetcore/fundamentals/minimal-apis/includes/minimal-apis8.md b/aspnetcore/fundamentals/minimal-apis/includes/minimal-apis8.md index 9fec711135a0..2f6faf591e2d 100644 --- a/aspnetcore/fundamentals/minimal-apis/includes/minimal-apis8.md +++ b/aspnetcore/fundamentals/minimal-apis/includes/minimal-apis8.md @@ -25,7 +25,7 @@ The following table lists some of the middleware frequently used with Minimal AP | [Forwarded Headers](xref:fundamentals/middleware/index?view=aspnetcore-6.0#forwarded-headers-middleware-order) | Forwards proxied headers onto the current request. | | | [HTTPS Redirection](xref:security/enforcing-ssl?view=aspnetcore-6.0) | Redirects all HTTP requests to HTTPS. | | | [HTTP Strict Transport Security (HSTS)](xref:fundamentals/middleware/index?view=aspnetcore-6.0#middleware-order) | Security enhancement middleware that adds a special response header. | | -| [Request Logging](xref:fundamentals/logging/index?view=aspnetcore-6.0) | Provides support for logging HTTP requests and responses. | | +| [Request Logging](xref:fundamentals/http-logging/index) | Provides support for logging HTTP requests and responses. | | | [Request Timeouts](xref:performance/timeouts) | Provides support for configuring request timeouts, global default and per endpoint. | `UseRequestTimeouts` | | [W3C Request Logging](https://www.w3.org/TR/WD-logfile.html) | Provides support for logging HTTP requests and responses in the [W3C format](https://www.w3.org/TR/WD-logfile.html). | | | [Response Caching](xref:performance/caching/middleware) | Provides support for caching responses. | | diff --git a/aspnetcore/fundamentals/minimal-apis/includes/minimal-apis9.md b/aspnetcore/fundamentals/minimal-apis/includes/minimal-apis9.md index df02103e293e..d187af699869 100644 --- a/aspnetcore/fundamentals/minimal-apis/includes/minimal-apis9.md +++ b/aspnetcore/fundamentals/minimal-apis/includes/minimal-apis9.md @@ -25,7 +25,7 @@ The following table lists some of the middleware frequently used with Minimal AP | [Forwarded Headers](xref:fundamentals/middleware/index?view=aspnetcore-6.0#forwarded-headers-middleware-order) | Forwards proxied headers onto the current request. | | | [HTTPS Redirection](xref:security/enforcing-ssl?view=aspnetcore-6.0) | Redirects all HTTP requests to HTTPS. | | | [HTTP Strict Transport Security (HSTS)](xref:fundamentals/middleware/index?view=aspnetcore-6.0#middleware-order) | Security enhancement middleware that adds a special response header. | | -| [Request Logging](xref:fundamentals/logging/index?view=aspnetcore-6.0) | Provides support for logging HTTP requests and responses. | | +| [Request Logging](xref:fundamentals/http-logging/index) | Provides support for logging HTTP requests and responses. | | | [Request Timeouts](xref:performance/timeouts) | Provides support for configuring request timeouts, global default and per endpoint. | `UseRequestTimeouts` | | [W3C Request Logging](https://www.w3.org/TR/WD-logfile.html) | Provides support for logging HTTP requests and responses in the [W3C format](https://www.w3.org/TR/WD-logfile.html). | | | [Response Caching](xref:performance/caching/middleware) | Provides support for caching responses. | | From d2f447c3356e5abda0f6d9a10c8e19100bc1d68e Mon Sep 17 00:00:00 2001 From: Wade Pickett Date: Tue, 17 Mar 2026 15:51:56 -0700 Subject: [PATCH 3/9] Apply suggestions from code review Minor fixes for missing periods and commas. Co-authored-by: Wade Pickett --- .../fundamentals/minimal-apis/includes/minimal-apis6.md | 2 +- .../fundamentals/minimal-apis/includes/minimal-apis7.md | 4 ++-- .../fundamentals/minimal-apis/includes/minimal-apis8.md | 2 +- .../fundamentals/minimal-apis/includes/minimal-apis9.md | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/aspnetcore/fundamentals/minimal-apis/includes/minimal-apis6.md b/aspnetcore/fundamentals/minimal-apis/includes/minimal-apis6.md index a1c89eaccbbb..f33cd28e982d 100644 --- a/aspnetcore/fundamentals/minimal-apis/includes/minimal-apis6.md +++ b/aspnetcore/fundamentals/minimal-apis/includes/minimal-apis6.md @@ -3,7 +3,7 @@ This document: * Provides a quick reference for Minimal APIs. -* Is intended for experienced developers. For an introduction, see +* Is intended for experienced developers. For an introduction, see . The Minimal APIs consist of: diff --git a/aspnetcore/fundamentals/minimal-apis/includes/minimal-apis7.md b/aspnetcore/fundamentals/minimal-apis/includes/minimal-apis7.md index 6576aa687509..76c4c200eee9 100644 --- a/aspnetcore/fundamentals/minimal-apis/includes/minimal-apis7.md +++ b/aspnetcore/fundamentals/minimal-apis/includes/minimal-apis7.md @@ -3,7 +3,7 @@ This document: * Provides a quick reference for Minimal APIs. -* Is intended for experienced developers. For an introduction, see +* Is intended for experienced developers. For an introduction, see . The Minimal APIs consist of: @@ -38,7 +38,7 @@ The following sections cover request handling: routing, parameter binding, and r ## Routing -A configured `WebApplication` supports `Map{Verb}` and where `{Verb}` is a camel-cased HTTP method like `Get`, `Post`, `Put` or `Delete`: +A configured `WebApplication` supports `Map{Verb}` and where `{Verb}` is a camel-cased HTTP method like `Get`, `Post`, `Put`, or `Delete`: [!code-csharp[](~/fundamentals/minimal-apis/7.0-samples/WebMinAPIs/Program.cs?name=snippet_r1)] diff --git a/aspnetcore/fundamentals/minimal-apis/includes/minimal-apis8.md b/aspnetcore/fundamentals/minimal-apis/includes/minimal-apis8.md index 2f6faf591e2d..c02aeaef722a 100644 --- a/aspnetcore/fundamentals/minimal-apis/includes/minimal-apis8.md +++ b/aspnetcore/fundamentals/minimal-apis/includes/minimal-apis8.md @@ -38,7 +38,7 @@ The following sections cover request handling: routing, parameter binding, and r ## Routing -A configured `WebApplication` supports `Map{Verb}` and where `{Verb}` is a camel-cased HTTP method like `Get`, `Post`, `Put` or `Delete`: +A configured `WebApplication` supports `Map{Verb}` and where `{Verb}` is a camel-cased HTTP method like `Get`, `Post`, `Put`, or `Delete`: [!code-csharp[](~/fundamentals/minimal-apis/7.0-samples/WebMinAPIs/Program.cs?name=snippet_r1)] diff --git a/aspnetcore/fundamentals/minimal-apis/includes/minimal-apis9.md b/aspnetcore/fundamentals/minimal-apis/includes/minimal-apis9.md index d187af699869..05b9334a4f09 100644 --- a/aspnetcore/fundamentals/minimal-apis/includes/minimal-apis9.md +++ b/aspnetcore/fundamentals/minimal-apis/includes/minimal-apis9.md @@ -38,7 +38,7 @@ The following sections cover request handling: routing, parameter binding, and r ## Routing -A configured `WebApplication` supports `Map{Verb}` and where `{Verb}` is a camel-cased HTTP method like `Get`, `Post`, `Put` or `Delete`: +A configured `WebApplication` supports `Map{Verb}` and where `{Verb}` is a camel-cased HTTP method like `Get`, `Post`, `Put`, or `Delete`: [!code-csharp[](~/fundamentals/minimal-apis/7.0-samples/WebMinAPIs/Program.cs?name=snippet_r1)] From 6473d7514c3a192862555264e62399dff8b02e3a Mon Sep 17 00:00:00 2001 From: Wade Pickett Date: Tue, 17 Mar 2026 16:33:04 -0700 Subject: [PATCH 4/9] Combine quick reference and introduction notes --- aspnetcore/fundamentals/minimal-apis/includes/minimal-apis6.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/aspnetcore/fundamentals/minimal-apis/includes/minimal-apis6.md b/aspnetcore/fundamentals/minimal-apis/includes/minimal-apis6.md index f33cd28e982d..e7f8d2cd18d8 100644 --- a/aspnetcore/fundamentals/minimal-apis/includes/minimal-apis6.md +++ b/aspnetcore/fundamentals/minimal-apis/includes/minimal-apis6.md @@ -2,8 +2,7 @@ This document: -* Provides a quick reference for Minimal APIs. -* Is intended for experienced developers. For an introduction, see . +* Provides a quick reference for Minimal APIs. For a guided introduction, see . The Minimal APIs consist of: From b443c0f50a422acfacd1843c1309d3d54a90455d Mon Sep 17 00:00:00 2001 From: Wade Pickett Date: Tue, 17 Mar 2026 16:35:10 -0700 Subject: [PATCH 5/9] Revise introduction for Minimal APIs reference Updated the introduction to clarify the purpose of the document and removed redundant bullet points. --- .../fundamentals/minimal-apis/includes/minimal-apis7.md | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/aspnetcore/fundamentals/minimal-apis/includes/minimal-apis7.md b/aspnetcore/fundamentals/minimal-apis/includes/minimal-apis7.md index 76c4c200eee9..5560d250a273 100644 --- a/aspnetcore/fundamentals/minimal-apis/includes/minimal-apis7.md +++ b/aspnetcore/fundamentals/minimal-apis/includes/minimal-apis7.md @@ -1,9 +1,6 @@ :::moniker range="= aspnetcore-7.0" -This document: - -* Provides a quick reference for Minimal APIs. -* Is intended for experienced developers. For an introduction, see . +This document provides a quick reference for Minimal APIs. For a guided introduction, see . The Minimal APIs consist of: From 0e8452e0c362ab2be581b838b7ccbe6cb0c35675 Mon Sep 17 00:00:00 2001 From: Wade Pickett Date: Tue, 17 Mar 2026 16:35:41 -0700 Subject: [PATCH 6/9] Revise introduction for Minimal APIs reference Updated the introductory text for Minimal APIs documentation. --- .../fundamentals/minimal-apis/includes/minimal-apis6.md | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/aspnetcore/fundamentals/minimal-apis/includes/minimal-apis6.md b/aspnetcore/fundamentals/minimal-apis/includes/minimal-apis6.md index e7f8d2cd18d8..059731711457 100644 --- a/aspnetcore/fundamentals/minimal-apis/includes/minimal-apis6.md +++ b/aspnetcore/fundamentals/minimal-apis/includes/minimal-apis6.md @@ -1,8 +1,6 @@ :::moniker range="= aspnetcore-6.0" -This document: - -* Provides a quick reference for Minimal APIs. For a guided introduction, see . +This document provides a quick reference for Minimal APIs. For a guided introduction, see . The Minimal APIs consist of: From c5ef38d5735b72ff9abb9c7cd7a1581e0fbc3513 Mon Sep 17 00:00:00 2001 From: Wade Pickett Date: Tue, 17 Mar 2026 16:36:16 -0700 Subject: [PATCH 7/9] Refine introduction of Minimal APIs document Removed redundant points and clarified the document's purpose. --- .../fundamentals/minimal-apis/includes/minimal-apis8.md | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/aspnetcore/fundamentals/minimal-apis/includes/minimal-apis8.md b/aspnetcore/fundamentals/minimal-apis/includes/minimal-apis8.md index c02aeaef722a..3b339b93c2b2 100644 --- a/aspnetcore/fundamentals/minimal-apis/includes/minimal-apis8.md +++ b/aspnetcore/fundamentals/minimal-apis/includes/minimal-apis8.md @@ -1,9 +1,6 @@ :::moniker range="= aspnetcore-8.0" -This document: - -* Provides a quick reference for Minimal APIs. -* Is intended for experienced developers. For an introduction, see . +This document provides a quick reference for Minimal APIs. For a guided introduction, see . The Minimal APIs consist of: From c637f106d946e436e8f457e2787db61522d9ca0c Mon Sep 17 00:00:00 2001 From: Wade Pickett Date: Tue, 17 Mar 2026 16:36:42 -0700 Subject: [PATCH 8/9] Update minimal-apis9.md --- .../fundamentals/minimal-apis/includes/minimal-apis9.md | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/aspnetcore/fundamentals/minimal-apis/includes/minimal-apis9.md b/aspnetcore/fundamentals/minimal-apis/includes/minimal-apis9.md index 05b9334a4f09..96a426f41ef1 100644 --- a/aspnetcore/fundamentals/minimal-apis/includes/minimal-apis9.md +++ b/aspnetcore/fundamentals/minimal-apis/includes/minimal-apis9.md @@ -1,9 +1,6 @@ :::moniker range="= aspnetcore-9.0" -This document: - -* Provides a quick reference for Minimal APIs. -* Is intended for experienced developers. For an introduction, see . +This document provides a quick reference for Minimal APIs. For a guided introduction, see . The Minimal APIs consist of: From b131ca706b324f786d4c6201542b0386f88a1a6a Mon Sep 17 00:00:00 2001 From: Wade Pickett Date: Tue, 17 Mar 2026 16:37:26 -0700 Subject: [PATCH 9/9] Revise Minimal APIs document introduction Updated the description of the Minimal APIs document to clarify its purpose and target audience. --- aspnetcore/fundamentals/minimal-apis.md | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/aspnetcore/fundamentals/minimal-apis.md b/aspnetcore/fundamentals/minimal-apis.md index cfe6b4c60aa2..c7e516f6433a 100644 --- a/aspnetcore/fundamentals/minimal-apis.md +++ b/aspnetcore/fundamentals/minimal-apis.md @@ -25,10 +25,7 @@ Editorial note: This file is a quick reference summary: :::moniker range=">= aspnetcore-10.0" -This document: - -* Provides a quick reference for Minimal APIs. -* Is intended for experienced developers. For an introduction, see . +This document provides a quick reference for Minimal APIs. For a guided introduction, see . The Minimal APIs consist of: