Description
ConnectionAdapters have been removed from Kestrel
As part of the move to move pubternal APIs to public, we've removed the concept of an IConnectionAdapter from Kestrel. Connection adapters are being replaced with connection middleware (very similar to http middleware in the ASP.NET Core pipeline but for lower level connections). HTTPS and Connection logging have been moved from connection adapters to connection middleware so those extension methods should continue to work seamlessly (but the guts have been re-implemented). See dotnet/aspnetcore#11412 for more details.
Discuss this issue on dotnet/aspnetcore#11475.
Version introduced
3.0
Old behavior
Kestrel extensibility components were created using IConnectionAdapter.
New behavior
Kestrel extensibility components are now created as middleware.
Reason for change
This is intended to provide a more flexible extensibility architecture.
Recommended action
Convert any implementations of IConnectionAdapter to use the new middleware pattern as shown here.
Category
ASP.NET Core
Affected APIs
Issue metadata
- Issue type: breaking-change