Similar to Get all registered routes in ASP.NET Core, but for .NET Framework (classic).
How to do it in classic ASP.NET?
This will be useful to compare legacy WebAPI and .NET 6 API
FYI: If someone is looking for updated code for .NET 6, here it is: https://github.com/ardalis/AspNetCoreRouteDebugger/pull/13