title: MVC Base Controller implementation
body: <p>We are now in the process of rebuilding some legacy WebForm apps using MVC 5. For one in particular the entire site is dynamic and built from returning a lot of markup from a back-end database, and that markup is different based on the domain name returned...</p>
  
  <p>I got to the first stage of this one (the others not so difficult), building a dynamic menu and started scratching my head (and a few other body parts). In WebForms it was easy, MasterPage and code-behind, done and dusted... </p>
  
  <p>After spending most of the day Googling I gather creating a Base Controller is the way to go... But there seems to be very little material showing how this can be achieved... What is out there is followed by a plethora of comments about how the author has got it all wrong and is direct violation of the MVC pattern...</p>
  
  <p>Therefore, the question is, can someone provide a link to some documentation about how I can add a dynamic menu to a _Layout?</p>
  
  <p>Thanks</p>