I'm trying to display a small panel during debugging in my application with various miscellaneous functionality. One thing i want it to contain is information about the current route.
I tried to look at Controller.RouteData
but some of the properties were null.
RouteData.Route - null
RouteData.RouteHandler - null
RouteData.Values - has expected values corresponding to the URL
How do I get the value of 'Route' ?
I did see this post about URL debugging, but I don't think that helps because although I'm writing a debugging console I want the 'runtime' values and don't want to put in an extra layer of abstraction.