.NET 8 will have route syntax colour highlighting for all routes including those in minimal APIs, MVC, Web APIs, Razor Pages and Blazor.
The highlighting relies on the StringSyntax attribute (which was originally released in .NET 7) being applied in the code base.
A small but pretty cool UX enhancement I think 💪🏻 …
Example from James Newton-King below …