Which of the following is an essential property to set on the user object before calling the 'CreateAsync' method in ASP.NET Core Identity?
- FirstName
- IsAdmin
- PhoneNumber
An essential property to set on the user object before calling the CreateAsync method in ASP.NET Core Identity is the Email property. The email address is typically used as a unique identifier for the user and is required for account recovery and communication purposes.
Loading...
Related Quiz
- Your team is implementing a Continuous Integration (CI) pipeline for an ASP.NET Core application. What is the main reason for integrating automated tests into this CI pipeline?
- How do Razor tag helpers differ from HTML helpers in ASP.NET Core?
- The project.json file was prevalent in ASP.NET Core versions prior to _________.
- Your manager wants to prevent users from using their username as their password. Which feature in ASP.NET Core Identity helps with this requirement?
- You have just started with ASP.NET Core and are looking at some code. You notice @Model.Name. In the context of Razor views, what is the @Model referencing?