-
Notifications
You must be signed in to change notification settings - Fork 24.9k
Closed
Labels
Source - Docs.msDocs Customer feedback via GitHub IssueDocs Customer feedback via GitHub Issuedoc-enhancement
Description
The first code snippet shows
app.UseHttpLogging();
being called immediately after
var app = builder.Build();
All following snippets invoke
app.UseHttpLogging();
after
app.UseStaticFiles();
I believe it would be good that official documentation also suggests the correct position for this kind of middleware in the pipeline.
Document Details
⚠ Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.
- ID: 7c772b2a-5d37-84af-624c-9022efe0758b
- Version Independent ID: b39594cc-9d1c-611c-e3e7-8755d74253a6
- Content: HTTP Logging in .NET Core and ASP.NET Core
- Content Source: aspnetcore/fundamentals/http-logging/index.md
- Product: aspnet-core
- Technology: aspnetcore-fundamentals
- GitHub Login: @jkotalik
- Microsoft Alias: jukotali
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Source - Docs.msDocs Customer feedback via GitHub IssueDocs Customer feedback via GitHub Issuedoc-enhancement