Skip to content

Move ResponseCaching pubternal types to internal #9392

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

Merged
merged 4 commits into from
Apr 16, 2019

Conversation

JunTaoLuo
Copy link
Contributor

@JunTaoLuo JunTaoLuo commented Apr 15, 2019

Addresses ResponseCache portions of #6975. This is a breaking change due to the constructor change of the ResponseCachingMiddleware.

Tested locally with the analyzer to ensure all response caching errors are resolved.

@JunTaoLuo JunTaoLuo added the breaking-change This issue / pr will introduce a breaking change, when resolved / merged. label Apr 15, 2019
@JunTaoLuo JunTaoLuo self-assigned this Apr 15, 2019
@@ -30,17 +31,17 @@ public class ResponseCachingMiddleware
RequestDelegate next,
IOptions<ResponseCachingOptions> options,
ILoggerFactory loggerFactory,
IResponseCachingPolicyProvider policyProvider,
IResponseCachingKeyProvider keyProvider)
ObjectPoolProvider poolProvider)
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Note that it's still necessary to resolve a ObjectPoolProvider from DI for the ResponseCachingKeyProvider (which was for perf). If/When we eventually create supported extension points, we'll need to mark this constructor as obsolete.

@JunTaoLuo
Copy link
Contributor Author

Oops need to update generated code and breaking changes.

@JunTaoLuo JunTaoLuo force-pushed the johluo/internalize-responsecaching-api branch from be31ce7 to ca5dab5 Compare April 15, 2019 20:56
@aspnet-hello
Copy link

This comment was made automatically. If there is a problem contact ryanbrandenburg.

I've triaged the above build. I've created/commented on the following issue(s)
https://github.com/aspnet/AspNetCore-Internal/issues/2266
https://github.com/aspnet/AspNetCore-Internal/issues/2263

@analogrelay
Copy link
Contributor

Don't forget an announcement :).

@JunTaoLuo JunTaoLuo merged commit c2ee82b into master Apr 16, 2019
@JunTaoLuo JunTaoLuo deleted the johluo/internalize-responsecaching-api branch April 16, 2019 22:15
@JunTaoLuo
Copy link
Contributor Author

Announcement: aspnet/Announcements#354

@amcasey amcasey added the area-middleware Includes: URL rewrite, redirect, response cache/compression, session, and other general middlewares label Jun 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-middleware Includes: URL rewrite, redirect, response cache/compression, session, and other general middlewares breaking-change This issue / pr will introduce a breaking change, when resolved / merged.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants