Skip to content

[Announcement] : Removed DefaultHttpContext extensibility #6534

Closed
@davidfowl

Description

@davidfowl

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    breaking-changeThis issue / pr will introduce a breaking change, when resolved / merged.

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions