Back to Practical Aspnetcore

New Routing - Obtaining an Endpoint from your Middleware

projects/endpoint-routing/new-routing-10/README.md

latest178 B
Original Source

New Routing - Obtaining an Endpoint from your Middleware

Use the brand new HttpContext.GetEndPoint extension method to examine the current endpoint that is being executed.