Multiple alternative sitemap paths to the same resource

Apr 5, 2011 at 8:40 AM


I am trying to use MvcSitemap for my site and I'm stuck with a problem that I need to provide multiple alternative paths to the same resource (controller-action-id).

To elaborate a bit on this let's take the music shop example. While it is fairly nice and easy to see how to use MvcSitemap to provide list of music categorized by genre, it is far from realistic as most music shops offer multiple alternative paths to navigating to a song these usually include but are not limited to:

  • Genre -> song
  • Genre -> Artist -> song
  • Artist -> Album -> song
  • Artist -> Year -> song
  • etc.

What is the "official" way of expressing such varying paths in the MvcSitemap?

Nov 16, 2011 at 8:49 AM


Did you find a solutions for this ?

Nov 22, 2011 at 7:15 AM

There is no support for this in the current implementation. If you would like to see this in a vNext implementation, please create a feature request for it.