We are going to port the legacy windows application to a large web application for the vertical market. Looking at MVC. Each implementation can have from 50 to 5000 users. Looking for a transfer of navigation on the main page. The application will contain from 200 to 300 menu items, which will lead to more than 500 views. We want to display an ordered navigation menu for each user based on their work permissions. The user can see only 20 items or all available.
Most of the messages that I saw suggest transferring navigation elements to the main page via viewdata installed in the base class of the controller. I understand it.
Each of potentially from 10 to 1000 users will have a different set of permissions.
Does anyone have any solutions that will avoid getting into the database in order to get user menu items on every controller request that is inherited from the base controller?
Is there a caching scheme that will work for each user?
Should navigation be handled in the frame (and not on my choice)?
Is this just the price we will pay for this approach to navigation?
Thanks for any input!
source
share