MvcSiteMapProvider icon indicating copy to clipboard operation
MvcSiteMapProvider copied to clipboard

SiteMap Diagnostic Utility

Open NightOwl888 opened this issue 10 years ago • 5 comments

This idea came from https://github.com/waynebrantley in #119.

Implement an httpmodule that can be plugged in for development with url of sitemaps.axd. That would give a full diagnostic view of the tree and relationships.

Technically, I think it should be a regular view that uses routing similar to the way ELMAH works. It should also by default be available only on the local machine, but be configurable so it can use authentication to gain access.

NightOwl888 avatar Jul 29 '13 12:07 NightOwl888

Perhaps something that plugs into Glimpse? http://getglimpse.com

maartenba avatar Jul 29 '13 13:07 maartenba

Perhaps something that plugs into Glimpse? http://getglimpse.com

Sounds like it might be an option. Keep the ideas coming.

NightOwl888 avatar Jul 29 '13 13:07 NightOwl888

What is the data we want to see in the plugin? Current thinking:

  • List of sitemaps
  • Full tree for every site map

maartenba avatar Jul 30 '13 11:07 maartenba

Nice Idea! It reminds me of a module from attributerouting: http://attributerouting.net/#debugging

Jogai avatar Sep 06 '13 14:09 Jogai

What is the data we want to see in the plugin? Current thinking:

List of sitemaps Full tree for every site map

I think that we should probably add current matching route and current matching node to the list (and the special cases when there is no match on route or node).

It should also be really easy to view the route data of each of the nodes in a list so it is easy to understand why your node isn't matching the incoming route. Perhaps we could even use percentages and color codes to show how close the node is to matching the current route in the list.

Nodes that are URL based should be represented differently so it is clear that they will never match a route, but can match the URL.

It should also be easy to tell if the node is not clickable.

This idea was born out of a little utility to determine what the current route looks like when typing the URL into the browser. http://haacked.com/archive/2008/03/13/url-routing-debugger.aspx/

NightOwl888 avatar Feb 20 '14 14:02 NightOwl888