Skip to content

What are we doing with IConnectionEndPointFeature #43786

Open
@BrennanConroy

Description

@BrennanConroy
Member

IConnectionEndPointFeature was added as part of bedrock in #10321.
But it is only implemented and exposed via DefaultConnectionContext which is only used by test projects in our repo.

We should figure out what to do with this feature.

Activity

davidfowl

davidfowl commented on Sep 7, 2022

@davidfowl
Member

We should implement it

added this to the Backlog milestone on Sep 7, 2022
ghost

ghost commented on Sep 7, 2022

@ghost

We've moved this issue to the Backlog milestone. This means that it is not going to be worked on for the coming release. We will reassess the backlog following the current release and consider this item at that time. To learn more about our issue management process and to have better expectation regarding different types of issues you can read our Triage Process.

davidfowl

davidfowl commented on Sep 7, 2022

@davidfowl
Member

I'll do it in .NET 8 planning 😄

hexawyz

hexawyz commented on Jul 24, 2023

@hexawyz
Contributor

I have a usecase where I would like to filter requests based on the endpoint used (using an IEndpointFilter), and it seems the IConnectionEndPointFeature would be a useful tool for this if it was available. (Testing on latest preview in the context of HTTP2/NamedPipe requests: it does not seem to be available, although the relevant information is present in internal classes)

Can we expect this for .NET 8.0, or is it too late?

added
area-networkingIncludes servers, yarp, json patch, bedrock, websockets, http client factory, and http abstractions
and removed on Aug 25, 2023
BrennanConroy

BrennanConroy commented on May 29, 2025

@BrennanConroy
MemberAuthor

Let's try to add this to Kestrel, we already have LocalEndpoint and RemoteEndpoint as fields on the BaseConnectionContext, so seems like we just need to add the feature and expose it in the feature collection.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

area-networkingIncludes servers, yarp, json patch, bedrock, websockets, http client factory, and http abstractions

Type

No type

Projects

No projects

Relationships

None yet

    Development

    Participants

    @davidfowl@BrennanConroy@hexawyz@amcasey@wtgodbe

    Issue actions

      What are we doing with `IConnectionEndPointFeature` · Issue #43786 · dotnet/aspnetcore