Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Multiple master pages in a single application

Is it a good design to have multiple masterpages in an application. I am building a website using Asp.net MVC with different type of users like, admin, employee, general user, etc

And every user once logged in have different type of controls on the website, so I was planning to use different master page for each user.

like image 749
San Avatar asked Oct 15 '22 15:10

San


2 Answers

Yes it is a good design, and make sure to layer them appropriately. Master pages specific to controllers should be placed them in the appropriate view folder.

like image 155
blu Avatar answered Nov 15 '22 05:11

blu


If it makes life easier for you and your users, than I see no reason why not.

like image 28
mxmissile Avatar answered Nov 15 '22 04:11

mxmissile