[Announcement] : Removed DefaultHttpContext extensibility #6534
Labels
breaking-change
This issue / pr will introduce a breaking change, when resolved / merged.
Milestone
Discussion for aspnet/Announcements#338
As part of performance improvements made to ASP.NET Core 3.0 (#6504), we've removed the extensibility of DefaultHttpContext (it is now sealed). This extensibility was provided initially to allow pooling of the HttpContext but it introduced more complexity than necessary and precluded other optimizations. As a result, we decided to remove this extensibility.
If you're using Mock in your unit tests, we recommend using Mock instead.
The text was updated successfully, but these errors were encountered: