MVC routing and site customization

Solarion

Honorary Master
Joined
Nov 14, 2012
Messages
28,059
Reaction score
17,821
I have this request from a client and I am not sure how to implement this. We use one site developed in MVC Core which will be used by several clients who will log into it. It is not live yet. What I am wanting to do is change certain aspects of the site depending on which customer is logging in to it, such as the menu look and feel.

I have searched for a while but I actually don't know how to phrase my question so I'm turning up nothing, but I understand this is a routing concern? Please could you point me in the right direction on how to implement this! TIA :thumbsup::cool:
 
Subdomains?
This sounds like multi tenant. But it depends on what framework you use for the site.
Also depends on how diff the look and feel is. Maybe it is just diff CSS per tenant?
 
Subdomains?
This sounds like multi tenant. But it depends on what framework you use for the site.
Also depends on how diff the look and feel is. Maybe it is just diff CSS per tenant?

It is MVC .NET Core 2.1

The look and feel is not very different, mostly a different color menu with some items removed and others added depending on who is logged in.

It is a multi tenant yes that is the phrase I'm looking for. I will try to get more information tomorrow but this might be on the right track. 4 year

 
It is MVC .NET Core 2.1

The look and feel is not very different, mostly a different color menu with some items removed and others added depending on who is logged in.

It is a multi tenant yes that is the phrase I'm looking for. I will try to get more information tomorrow but this might be on the right track. 4 year

Look at setting css styles via razor on your shared page that checks your tenant. Menus can be controlled via sitemaps, roles and security.
 
Top
Sign up to the MyBroadband newsletter
X