We're creating a custom site using Kentico CMS. I'm a front-end developer for the most part but I'm lead on this project. I understand most Routing concepts in ASP.NET MVC but I'm not sure what to do about pages that get added at a Root Level since I won't be creating pages it would be the Content Entry person creating them through the UI. So I'm trying to figure out what kind of approach would be best and if there is an option to write a route that could even handle it?
I'm stumped because generally if you have root level pages you would have to define them:
routes.MapRoute(
name:"About",
url: "about",
new { controller = "Home", action = "About"}
);
But in the context of a CMS any number of pages can be added to the root level. Is there some way to feed it a collection of pages that occur from the root down to create the routes?
I'll be very active with this post as I'm proofing out ideas as I come up with them but I really have no idea where to start looking. If I need to provide more information please let me know.
EDIT: Also, is there a way to make Dynamic Controllers even? Then it could just use the default route for the most part and the controller decide where to send the content.