G12Consult
Programmer
Hi,
I am developing an asp.net core website and want to know what is the best way to create different layouts for different role types after they login.
I can redirect users to pages no problem after authentication but looking for advice on setup after that.
Should I have a .aspx page for each role type (admin_dashboard.aspx, user_dashboard.aspx ) or seperate folders in the web layout like admin / user.
Am I right in thinking that master pages are mainly styling for around the 'content' pages, so really I guess I need to know how to dynamically change the 'content'. Would each 'content' be a seperate page?
Thanks
Andrew
I am developing an asp.net core website and want to know what is the best way to create different layouts for different role types after they login.
I can redirect users to pages no problem after authentication but looking for advice on setup after that.
Should I have a .aspx page for each role type (admin_dashboard.aspx, user_dashboard.aspx ) or seperate folders in the web layout like admin / user.
Am I right in thinking that master pages are mainly styling for around the 'content' pages, so really I guess I need to know how to dynamically change the 'content'. Would each 'content' be a seperate page?
Thanks
Andrew