aspnet / Announcements

Subscribe to this repo to be notified about major changes in ASP.NET Core and Entity Framework Core

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[Breaking change]: Microsoft.AspNetCore.Server.Kestrel.Transport.Libuv and Libuv.dll removed

Tratcher opened this issue · comments

Description

Microsoft.AspNetCore.Server.Kestrel.Transport.Libuv and Libuv.dll have been removed from ASP.NET Core 7.0.0-preview1. See dotnet/aspnetcore#38022 for discussion.

Version

Other (please put exact version in description textbox)

Previous behavior

Microsoft.AspNetCore.Server.Kestrel.Transport.Libuv was obsoleted in 5.0 since its functionality was replaced by the Sockets transport.

New behavior

Microsoft.AspNetCore.Server.Kestrel.Transport.Libuv and its libuv.dll dependency have been removed from ASP.NET Core.

Type of breaking change

  • Binary incompatible: Existing binaries may encounter a breaking change in behavior, such as failure to load/execute or different run-time behavior.
  • Source incompatible: Source code may encounter a breaking change in behavior when targeting the new runtime/component/SDK, such as compile errors or different run-time behavior.

Reason for change

To eliminate ongoing maintenance costs associated with this obsolete component.

Recommended action

Remove project references to Microsoft.AspNetCore.Server.Kestrel.Transport.Libuv. Remove code from Program.cs that calls UseLibuv, the Sockets transport will be used by default.

Affected APIs

UseLibuv
LibuvTransportOptions