I have the requirement to support different Master pages on my application (ASP.NET MVC). What is the recommended way to:
- Pass the master page name to the view from.
- Store the master page (in session, or something) so it sticks during a user’s visit.
Use a custom base controller and inherit from it instead:
I set my Session variable in the global.asax Session_Start: