关于[Resolving the current route/endpoint name in ASP.NET Core 3.1]的摘要:
Endpoint routing was first introduced in ASP.NET Core 2.2 with the goal of making routing a cross-cutting concern, decoupling it from the MVC framework. You can find a detailed write-up on endpoint routing here.
原文地址: https://benfoster.io/blog/aspnetcore-3-1-current-route-endpoint-name