I have this initial configuration in my route.config.
- routes.MapRoute( name: "ALBUMS", url: "albums/", defaults: new { controller = "Templates", action = "Connections", id= UrlParameter.Optional });
Now how should I specify that anything after /albums/, like
- /albums/bollywood
- /albums/bollywood/hindi
- /albums/tollywood
- /albums/bollywood/hindi/old
- /albums/bollywood/hindi/old/kishore
like this chain goes on. How to configure if url starts with /albums/ , please render routes.MapRoute( name: "ALBUMS", url: "albums/", defaults: new { controller = "Templates", action = "Connections", id= UrlParameter.Optional });
Because I don't have any bollywood,tollywood actions. In actual, I have Welcome controller and action Selected.. thats it. All others are templates.