[Discussion] Making "pubinternal" types in ResponseCaching internal #9442
Labels
area-middleware
Includes: URL rewrite, redirect, response cache/compression, session, and other general middlesware
Milestone
In ASP.NET Core, pubinternal types are types that are declared as public but put in an .Internal namespace. While these types are public they have no support policy and are subject to breaking changes. Unfortunately accidental use of these types has been common, resulting in breaking changes to these projects and limiting our ability to maintain the framework.
In ASP.NET Core 3.0, we are moving pubinternal types in ResponseCaching to internal. This includes the following types:
In addition, a default implementation for
IResponseCachingPolicyProvider
andIResponseCachingKeyProvider
will no longer be added to services as part ofAddResponseCaching
method. Also, the constructor for ResponseCachingMiddleware has been changed from:to:
If if any changes to these types are critical to your applications, please file an issue in https://github.com/aspnet/Aspnetcore.
The text was updated successfully, but these errors were encountered: