That's a really good approach, especially with the use of adding an attribute onto the controller itself. I'll tweak my original long winded approach that I first used when Kentico had full MVC support (Kentico 9), which I have refactored recently for use in Kentico 12.
But looking forward to Kentico adding dynamic routing in Kentico 2020!
Lead Product Evangelist @Kentico, Founding partner @craftbrewingbiz. love to learn / teach web dev & software engineering, collecting vinyl records, mowing my lawn, craft πΊ
Grab a cup of βοΈorπ΅- here's huge slice of @Kentico blog goodness!
Number 10 in my Kentico 12 Design Pattern series shows how to make your MVC routing as dynamic as it was in Portal Engine using NodeAliasPath. π€―π₯π€π
That's a really good approach, especially with the use of adding an attribute onto the controller itself. I'll tweak my original long winded approach that I first used when Kentico had full MVC support (Kentico 9), which I have refactored recently for use in Kentico 12.
But looking forward to Kentico adding dynamic routing in Kentico 2020!
Glad you found this useful. Your blog contains lots of great content!
There is a Kentico slack channel kentico-community.slack.com. You should join and have your blog added to the syndication feed channel there.
Somme other Kentico devs and I were having a discussion on Twitter about this topic - you might find some of their insights helpful as well.