Modifying a user’s identity
Modifying a user’s identity can be crucial for tailoring your application’s functionality and improving user experience. Having additional identity properties, you can enable more personalized interactions and better manage user-specific information. In many applications, a username is equivalent to a user’s email, and that’s not enough details for displaying personalized greetings, sending customized notifications, or generating reports. But worry not. In Blazor, identity is highly flexible.
Let’s allow a user to fill in their first and last name.
Getting ready
Before extending the user’s identity, do the following:
- In the server-side project, create a
Components
/Recipes
/Recipe05
directory – this will be your working directory - Copy the
Settings
component from the Creating roles recipe or from theComponents
/Recipes
/Recipe03
directory in the GitHub repository - Find the
seed-work...