-
Notifications
You must be signed in to change notification settings - Fork 79
Open
Labels
3.0.0Announcements related to ASP.NET Core 3.0Announcements related to ASP.NET Core 3.0AnnouncementBreaking changeDocumentedThe breaking change has been published to the .NET Core docsThe breaking change has been published to the .NET Core docsMigrated
Milestone
Description
As part of performance improvements made to ASP.NET Core 3.0 (dotnet/aspnetcore#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<DefaultHttpContext>
in your unit tests, we recommend using Mock<HttpContext>
instead.
Please discuss this on dotnet/aspnetcore#6534
[This announcement has been migrated to: dotnet/docs#14771]
Metadata
Metadata
Assignees
Labels
3.0.0Announcements related to ASP.NET Core 3.0Announcements related to ASP.NET Core 3.0AnnouncementBreaking changeDocumentedThe breaking change has been published to the .NET Core docsThe breaking change has been published to the .NET Core docsMigrated