-
Notifications
You must be signed in to change notification settings - Fork 25.1k
Closed
Labels
Help wantedUp for grabs. We would accept a PR to help resolve this issueUp for grabs. We would accept a PR to help resolve this issueSource - Docs.msDocs Customer feedback via GitHub IssueDocs Customer feedback via GitHub Issue
Description
Add a new app.Use overload that requires users to pass the HttpContext to the next function which will save 2 per-request allocations over the previous extension method.
Customer Impact
Less per-request allocations when using simple middleware.
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.
- ID: 9898482c-fa54-7ce2-1716-d14fbe03990d
- Version Independent ID: 3926c686-0ccc-f9fe-ca52-0134612a1623
- Content: ASP.NET Core Middleware
- Content Source: aspnetcore/fundamentals/middleware/index.md
- Product: aspnet-core
- Technology: aspnetcore-fundamentals
- GitHub Login: @Rick-Anderson
- Microsoft Alias: riande
Metadata
Metadata
Assignees
Labels
Help wantedUp for grabs. We would accept a PR to help resolve this issueUp for grabs. We would accept a PR to help resolve this issueSource - Docs.msDocs Customer feedback via GitHub IssueDocs Customer feedback via GitHub Issue