title: Is it safe to use a DbContext which in turns uses HttpContext in a Blazor Server app?
body: <p>We use this for multi-tenancy stuff. The DbContext generates the connection string based on the request's host.</p>
  
  <p>We are considering to use Blazor Server Side for some new features but we are worried about the fact that because the HttpContext is unreliable inside of a Razor Component's scope, the functioning of our DbContext may be affected too when it is instanciated from the Razor component. </p>
  
  <p>I haven't found any documentation that describes this scenario.</p>
  
  <p>In case the HttpContext does not work properly inside the DbContext, data about customers could be leaked to other customers. This is our main concern.</p>