0
votes

Is there a way to use a classic asp.net sitemap but configure the request routing so it calls an MVC controller and associated action?

For example:

<siteMap>
    <siteMapNode url="~/something.aspx" controller="Home" action="Default" />
</siteMap>

Therefore the url ~/something.aspx would be routed to the Default action on the Home controller.

1

1 Answers

0
votes

why don't you want to try

http://mvcsitemap.codeplex.com/releases/view/60377

This is good written sitemap provider for MVC