title: Show appsettings.json value in cshtml file in .NET Core
body: <p>I need to show value from the <code>appsettings.json</code> in a <code>.cshtml</code> file in ASP.NET Core 3.1 as we do in ASP.NET MVC like below:</p>
  <pre><code>@(System.Configuration.ConfigurationManager.AppSettings[&quot;SessionExpire&quot;])
  </code></pre>
  <p>Can you help how to implement this in ASP.NET Core 3.1 MVC ?</p>