title: Get all registered routes in ASP.NET Core
body: <p>I am new to .NET Core. I want to get a list of all registered routes in ASP.NET Core. In ASP.NET MVC we had route table in <code>System.Web.Routing</code>, is there something equivalent in ASP.NET Core? I want to get the routes list in my Controller Action.</p>