API
HttpContext.GetEndpoint
Reads the currently selected endpoint, if any.
Formal Syntax & Structure
csharp syntaxcsharp
var endpoint = ctx.GetEndpoint();Working Example
Example Snippetcsharp
// Documentary fragment; see linked lesson for context.var endpoint = ctx.GetEndpoint();