title: How to change/create custom FileProvider in .NET Core that's domain dependant (i.e. one web app serving multiple site rendering logics)
body: <p>I'm currently creating a multi-tenant web app using .NET Core. And is facing a problem:</p>
  
  <p>1) The Web App serves different <strong>views</strong> and <strong>logics</strong> based on a set of <strong>domain names</strong>. </p>
  
  <p>2) The views are MVC views and stored in <strong>Azure Blob Storage</strong></p>
  
  <p>3) The multiples sites share the <strong>same .NET Core MVC controllers</strong> therefore only the Razor views are different with small logics. </p>
  
  <p>Questions....
  A) Is that possible?  I created a MiddleWare to manipulate however I couldn't assign FileProviders on context level properly because the file provider should be domain dependant. </p>
  
  <p>B) Or, rather than thinking and attempting through FileProvider, is there any other way to achieve what I want to achieve?</p>
  
  <p>Many thanks!!!</p>