Add Endpoint property to HttpContext and DefaultHttpContext
Fixes #50522
This PR introduces a new HttpContext.Endpoint property, providing direct access to the selected Endpoint associated with the current request.
@onurkanbakirci please edit the top most comment (the PR description) and add
Fixes #50522
so that a successful merge of this PR automatically closes the associated issue. Thanks!
Looks like this PR hasn't been active for some time and the codebase could have been changed in the meantime.
To make sure no conflicting changes have occurred, please rerun validation before merging. You can do this by leaving an /azp run comment here (requires commit rights), or by simply closing and reopening.