In ASP.NET Core Identity, what is primarily used to add additional properties to the user model?
- ApplicationUser Class
- ApplicationDbContext
- IdentityRoles
- Microsoft.EntityFrameworkCore
In ASP.NET Core Identity, developers typically create a custom class, often named "ApplicationUser," which inherits from the built-in IdentityUser class. This custom class is used to add additional properties to the user model, such as user-specific data that your application requires beyond the default user attributes.
Loading...
Related Quiz
- What is the primary purpose of using attribute routing in ASP.NET Core?
- In which order does ASP.NET Core execute middleware components?
- Consider a scenario where you need to return a partial view from your controller. Which action result should you use?
- How did project.json handle transitive dependencies differently than the NuGet approach in previous ASP.NET versions?
- While browsing through an ASP.NET Core project, you notice that some HTML files have a .cshtml extension. What are these files called in the context of ASP.NET Core?