Skip to content

Instantly share code, notes, and snippets.

@manoj-choudhari-git
Created April 14, 2021 18:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save manoj-choudhari-git/2452e329dff3ce10ef8adf7798b1956b to your computer and use it in GitHub Desktop.
Save manoj-choudhari-git/2452e329dff3ce10ef8adf7798b1956b to your computer and use it in GitHub Desktop.
Index View for showing configuration value from appsettings.json
@{
ViewData["Title"] = "Home Page";
}
<div class="text-center">
<h1 class="display-4">Welcome on @ViewData["Mode"] Environment</h1>
<p>Learn about <a href="https://docs.microsoft.com/aspnet/core">building Web apps with ASP.NET Core</a>.</p>
</div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment