title: Recommend way to make a UI middleware in aspnet core 1
body: <p>I am trying to make a UI middleware and wanted to know what's the recommended way to go about it. </p>
  
  <p>Should I do a AddMVC again in my middleware and give it a custom route or go by embedding resources. </p>
  
  <p>I tried to make a MVC inside my middleware and I am able to hit the controller with the custom route but not the views in my middleware project. The sample website seems to always only look inside the main MVC views folder. </p>
  
  <p>Let me know if you need more information and I will update the question accordingly. </p>