G
Guest
We are designing a site with ASP.net 2.0. The question is regarding the
options avialble in asp.net 2.0 and the best one to use
Scenario
All the pages have a top menu bar and header. (We plan to make it as a
master page). Now the menu in the master page is based on roles that a person
is assigned to (Windows AD group). What is the best option to implement this?
1. Use the default asp.net framework and get the menu based on roles (thru
sitemap). But here there will be a hit to the personalization databse
(aspnetdb) for each page. How much of a performance issue is this?
2. make the menu as a user control and cache it. Is there a way to cache the
menu based on the roles. Can VaryByParam hold multiple parameters (multiple
roles of a user)?
3. Store the menu options available to the user in the user profile . But
then can the profile be refreshed when the role of the person changes (I
believe that profiles are mainly to be used to allow the user what he/she
wants to see rather than what u want to show them based on their roles.
Suggestions? Help?
Thanks!
options avialble in asp.net 2.0 and the best one to use
Scenario
All the pages have a top menu bar and header. (We plan to make it as a
master page). Now the menu in the master page is based on roles that a person
is assigned to (Windows AD group). What is the best option to implement this?
1. Use the default asp.net framework and get the menu based on roles (thru
sitemap). But here there will be a hit to the personalization databse
(aspnetdb) for each page. How much of a performance issue is this?
2. make the menu as a user control and cache it. Is there a way to cache the
menu based on the roles. Can VaryByParam hold multiple parameters (multiple
roles of a user)?
3. Store the menu options available to the user in the user profile . But
then can the profile be refreshed when the role of the person changes (I
believe that profiles are mainly to be used to allow the user what he/she
wants to see rather than what u want to show them based on their roles.
Suggestions? Help?
Thanks!