Trying to implement Identity in ASP.NET Core 2.0. Having many problems getting my head around this.
Startup.cs
public class Startup
{
Change public class ApplicationDbContext : IdentityDbContext<ApplicationUser>
to
public class ApplicationDbContext : IdentityDbContext<ApplicationUser, ApplicationRole, Guid>
You will need to have an ApplicationRole class similar to you ApplicationUser class. From what I remember once you specify the key type (in this case Guid, the default being string) you need to include the role and the key type even if you are not using roles.