Bummer! This is just a preview. You need to be signed in with an account to view the entire instruction.

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 ...