title: Application Variables in ASP.NET Core 2.0
body: <p>How would I go about setting and accessing application-wide variables in ASP.NET Core 2.0? </p>
  
  <p><strong>Details:</strong>
  I have a variable, let's call it CompanyName, which resides in the database and is used on literally every page.  I don't want to hit the database every time I need to display the CompanyName. 100 years ago, I would have set <code>Application["CompanyName']=CompanyName</code> but I understand that this is not the way to do things in .NET Core. What would be the alternative?</p>