Tag - identity core 2

Retrieve Identity username, email and other information in ASP.NET Core

94 views   0 comments last modified about 5 months ago identity core 2

The identity system in ASP.NET has evolved over time. If you are using ASP.NET Core, you probably found User property is an instance of ClaimsPrincipal in Controller or Razor views. Thus to retrieve the information, you need to utilize the claims.

View detail