-
Notifications
You must be signed in to change notification settings - Fork 10.4k
Closed
Labels
✔️ Resolution: AnsweredResolved because the question asked by the original author has been answered.Resolved because the question asked by the original author has been answered.Status: Resolvedarea-networkingIncludes servers, yarp, json patch, bedrock, websockets, http client factory, and http abstractionsIncludes servers, yarp, json patch, bedrock, websockets, http client factory, and http abstractions
Description
Is there an existing issue for this?
- I have searched the existing issues
Describe the bug
Hi
The Microsoft.AspNetCore.Http.EndpointHttpContextExtensions.GetEndpoint extension method for the HttpContext is not in the Microsoft.AspNetCore.Http.Abstractions NuGet
Even though the documentation clearly states that it should be in this nuget package:

Do i miss somehting.
Best Regards
Andi
Expected Behavior
Create empty c# libary project.
Include the NuGet Microsoft.AspNetCore.Http.Abstractions
Try to use the method ´
public static void TestStaticContext(HttpContext context)
{
context.GetEndpoint();
}
Compiletime error:
CS1061:
'HttpContext' does not contain a definition for 'GetEndpoint' and no accessible extension method 'GetEndpoint' accepting a first argument of type 'HttpContext' could be found (are you missing a using directive or an assembly reference?)
Steps To Reproduce
No response
Exceptions (if any)
No response
.NET Version
9.0.302
Anything else?
No response
Metadata
Metadata
Assignees
Labels
✔️ Resolution: AnsweredResolved because the question asked by the original author has been answered.Resolved because the question asked by the original author has been answered.Status: Resolvedarea-networkingIncludes servers, yarp, json patch, bedrock, websockets, http client factory, and http abstractionsIncludes servers, yarp, json patch, bedrock, websockets, http client factory, and http abstractions