Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove IMiddleware #4521

Merged
merged 1 commit into from
Oct 5, 2023
Merged

Conversation

Tratcher
Copy link
Member

@Tratcher Tratcher commented Oct 5, 2023

There are two main patterns for implementing AspNetCore middleware, IMiddleware or convention based. The IMiddleware API is only recommended for specific scenarios and is less efficient per-request.
https://learn.microsoft.com/en-us/aspnet/core/fundamentals/middleware/extensibility?view=aspnetcore-7.0

I've converted the middleware to the convention approach that we use throughout aspnetcore.

Microsoft Reviewers: Open in CodeFlow

@Tratcher Tratcher self-assigned this Oct 5, 2023
@Tratcher Tratcher added this to the 8.0-rtm milestone Oct 5, 2023
@joperezr joperezr merged commit fc8fa0a into dotnet:release/8.0 Oct 5, 2023
@Tratcher Tratcher deleted the tratcher/middleware branch October 5, 2023 23:56
@ghost ghost locked as resolved and limited conversation to collaborators Nov 5, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants