cloudscribe/cloudscribe.Web.Navigation

cloudscribe.Web.Navigation with Database

Closed this issue · 1 comments

Hi,
there is a way to use cloudscribe.Web.Navigation to take element from Database instead of XML or json?

Thank you for your support.

Netclick

Hi @Netclick19 it does sound like you are trying to reproduce what cloudscribe SimpleContent might give you already - have you checked it out? But perhaps you have an existing database that you cannot alter.
Yes, you could implement your own menu builder from any storage or service you like - see the section "Support for Nested Tree Builders" on https://www.cloudscribe.com/cloudscribe-web-navigation
You would still need to plug that tree builder into a navigation.xml/json, but it could then add your content along with cloudscribe administrative/account menu items.
Perhaps you should use our VS template to spin up a SImpleContent site and study the result? If you choose the NoDb or SQLite options you don't need to connect to an RDBMS.