I have been reviewing the official Kickstart Project documentation for implementing navigation using the INavigation
interface and NavigationService
. However, I am facing issues with the approach provided in the documentation. In the sample project "Dancing Goat," navigation is implemented using a repository, which seems like a different approach. Could someone help clarify which method is more reliable? Is the repository-based method from "Dancing Goat" a more practical solution, or should I focus on implementing navigation with INavigation
and NavigationService
as described in the documentation?
Additionally, I noticed that in the "Dancing Goat" example project, the navigation is rendered using the <vc:navigation-menu />
tag, while in Kentico, there is a tag helper implementation like <vc:navigation-menu navigation-menu-code-name="MainNavigation" />
. The latter uses the navigation-menu-code-name
attribute to specify the code name of the navigation menu. Can someone explain how this tag helper works in Kentico? What is the significance of the navigation-menu-code-name
attribute, and how does it affect navigation rendering in Kentico?