Bummer! This is just a preview. You need to be signed in with an account to view the entire instruction.
- Overview of Adding User Registration 2:56
- Adding the User Registration Page
- Defining Our User Class
- Adding the ApplicationUserManager and ApplicationSignInManager Classes
- Updating Our DI Configuration
- Configuring the Identity OWIN Middleware Component
- Updating the Account Controller
- Updating the Layout Page
- Reviewing User Registration 6:25
- Section Review 5 questions
Well done!
You have completed User Authentication with ASP.NET Identity!
Instruction
Defining Our User Class
Now that we have a "User Registration" page we need a model to represent our users in the database.
There are two ways we can approach this:
Create our own user model class and configure Identity to work with our custom database table
Make use of the IdentityUser class that the Identity Entity Framework NuGet package (Microsoft.AspNet.Identity.EntityFramework) provides
Creating your own us...