Skip to content

Conversation

@twsouthwick
Copy link
Member

This was initially moved into the startup filter to be added early on in the request pipeline because it was thought it was needed there for output caching. However, that does not seem to be the case (test has been added for that). So, now it can be moved into the standard UseSystemWebAdapters() so that it will be only added on requests that needed it (i.e. if the pipeline has been branched and UseSystemWebAdapters() is not added).

Fixes #405

This was initially moved into the startup filter to be added early on in the request pipeline because it was thought it was needed there for output caching. However, that does not seem to be the case (test has been added for that). So, now it can be moved into the standard `UseSystemWebAdapters()` so that it will be only added on requests that needed it (i.e. if the pipeline has been branched and `UseSystemWebAdapters()` is not added).
@twsouthwick twsouthwick requested a review from Tratcher October 4, 2023 00:21
@twsouthwick twsouthwick enabled auto-merge (squash) October 4, 2023 17:29
@twsouthwick twsouthwick merged commit 9dc120c into main Oct 4, 2023
@twsouthwick twsouthwick deleted the move-httpapplication-into-main branch October 4, 2023 17:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

HttpApplicationMiddleware is used even not setting app.UseSystemWebAdapters

3 participants