Fix Request Logging link in Minimal APIs middleware table#36888
Merged
Conversation
…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>
Copilot
AI
changed the title
[WIP] [ISSUE-1] Fix Request Logging link in minimal APIs reference
Fix Request Logging link in Minimal APIs middleware table
Mar 17, 2026
wadepickett
reviewed
Mar 17, 2026
wadepickett
reviewed
Mar 17, 2026
wadepickett
reviewed
Mar 17, 2026
wadepickett
reviewed
Mar 17, 2026
wadepickett
reviewed
Mar 17, 2026
Minor fixes for missing periods and commas. Co-authored-by: Wade Pickett <wpickett@microsoft.com>
tdykstra
approved these changes
Mar 17, 2026
Contributor
tdykstra
left a comment
There was a problem hiding this comment.
I have never liked that "for experienced developers" label. To me it sounds like a disguised excuse for poorly written content. This article is really a kind of reference content and should be accessible to almost anyone. I'm not saying you should do anything now but let's keep this in mind for trials of Copilot rewrites to improve readability. 😄
Updated the introduction to clarify the purpose of the document and removed redundant bullet points.
Updated the introductory text for Minimal APIs documentation.
Removed redundant points and clarified the document's purpose.
Updated the description of the Minimal APIs document to clarify its purpose and target audience.
wadepickett
approved these changes
Mar 17, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The "Request Logging" row in the Minimal APIs middleware table links to the general logging article (
xref:fundamentals/logging/index) instead of the HTTP Logging middleware article (xref:fundamentals/http-logging/index). The description and API column (UseHttpLogging) both clearly refer to HTTP Logging middleware, confirming the link target was simply wrong. Present across all version monikers (6.0–10.0).xref:fundamentals/logging/index→xref:fundamentals/http-logging/indexinminimal-apis.mdand include files for versions 6–9?view=aspnetcore-6.0query parameter from the corrected links in include filesms.dateinminimal-apis.mdOriginal prompt
This section details on the original issue you should resolve
<issue_title>Minimal APIs quick reference for .net 8 - Request Logging link leads to incorrect page</issue_title>
<issue_description>### Description
In the section ASP.NET Core Middleware clicking on Request Logging link leads to a general logging topic for ASP.NET Core 6.0
I believe it should lead to a respective HTTP Logging middleware topic at HTTP logging in ASP.NET Core
Page URL
https://learn.microsoft.com/en-us/aspnet/core/fundamentals/minimal-apis?view=aspnetcore-8.0
Content source URL
https://github.com/dotnet/AspNetCore.Docs/blob/main/aspnetcore/fundamentals/minimal-apis.md
Document ID
b09824ab-b051-75a1-13b7-b0e281cc46e0
Platform Id
24c01f0e-630a-08a5-698d-9668e1a7b40e
Article author
@wadepickett
Metadata
Related Issues</issue_description>
<agent_instructions>Read both the issue description and the discussion. The discussion contains important instruction suggestions for fixing this issue across topic versions. Also make sure the ms.date on the updated topic is reset to today's date in the proper format</agent_instructions>
Comments on the Issue (you are @copilot in this section)
@wadepickett Thanks @AFayziev! You are correct, the link needs to be changed. The link specified a version and that was left in from versions 7 through 9. We will fix it. @wadepickett ## 🤖 AI Triage SummaryThis preliminary assessment report was run by: @wadepickett
Date: 2026-03-17
Issue: 36884
Model: GitHub Copilot
Issue Analysis: Request Logging link in Minimal APIs middleware table points to incorrect page
✅ Issue Validation
Status: Valid and actionable
📋 Issue Summary
In the "ASP.NET Core Middleware" table of the Minimal APIs quick reference article, the Request Logging row links to the general ASP.NET Core logging topic (
xref:fundamentals/logging/index) instead of the HTTP Logging middleware topic (xref:fundamentals/http-logging/index). This is a mismatch: the description says "Provides support for logging HTTP requests and responses" and the API column referencesUseHttpLogging, both of which clearly refer to HTTP Logging middleware — not the general logging infrastructure. This incorrect link exists across all version monikers (6.0, 7.0, 8.0, 9.0, and 10.0).📁 Potentially Affected Files
aspnetcore/fundamentals/minimal-apis.mdaspnetcore/fundamentals/minimal-apis/includes/minimal-apis9.mdaspnetcore/fundamentals/minimal-apis/includes/minimal-apis8.mdaspnetcore/fundamentals/minimal-apis/includes/minimal-apis7.mdaspnetcore/fundamentals/minimal-apis/includes/minimal-apis6.md](https://github.com/dotnet/AspN...✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.
Internal previews