I have kind of CMS application that allows to create content pages and specify urls for them.
I’d like to let users enter any url, like:
/Documents/Forms/MyForm
/Documents/Manuals/MyManual
/Events/BBQThisWeek
Then I need to create a route that will check if a content page with the given Url exists in the DB and if yes, will route to controller that handles content pages. If not it’ll continue with default route.
How do I approach this?
Thanks
V.
You will probable have to set-up a custom handler. Take a look at option three on here
You could read from database on action invoker.