I'm currently using bootstrap CSS. I have a header page where all the page links are displayed, and I want to show the LOGGED IN USER'S NAME IN THE TOP RIGHT CORNER.
<li class="nav-item"><a class="nav-link text-dark">Home</a></li>
<li class="nav-item"><a class="nav-link text-dark">Link1</a></li>
<li class="nav-item"><a class="nav-link text-dark">Link2</a></li>
<li class="nav-item"><a class="nav-link text-dark">Link3</a></li>
<li class="nav-item"><a class="nav-link text-dark">Logout</a></li>
<li class="nav-item">
<a class="nav-link text-dark" href="#">Hello @Context.Session.GetString("UserName")</a>
</li>