My Blazor Server app won't display the user name

I can’t get my Shared\LoginDisplay.razor to display the user name.

This should work…

			Hello @context.User.Identity.Name
		<a href="@Login" class="btn btn-xs btn-outline-info float-right text-black-50">
			<u>Log in</u> <i class="fas fa-sign-in-alt"></i>

I have followed this blog but to no avail.

The app uses net6.0 framework

When I list my claims, one of the items is…
with the proper value of the user name, but I should get it with @context.User.Identity.Name

hope this makes sense
thanks, john