I\'m following the documentation for using Identity and am trying register a new user (executing the register action), but it fails with the following error:
I found the problem. My ApplicationContext was inheriting from DbContext. I changed it to IdentityDbContext and it works.
ApplicationContext
DbContext
IdentityDbContext