[Perf] Remove extra array allocation when using request filters with request delegate
Open
area-minimal
- Dominant language
- C#
- Stars
- 38.4k
- Forks
- 10.9k
- Avg merge
- 2d 5h
- Merged PRs (30d)
- 276
Description
Follow up to https://github.com/dotnet/aspnetcore/pull/46020
DefaultEndpointFilterInvocationContext requires a collection be allocated. Ideally, the code to build the pipeline moves to RequestDelegateFactory - https://github.com/dotnet/aspnetcore/issues/46024 - and we can reuse a generated context.
Contributor guide
Assessment
This issue has not been assessed yet.