Hi,
I've created a new NET 6 MVC project, downloaded the package, modified program.cs with:
builder.Services
.AddIdentity<ApplicationUser, ApplicationRole>()
.AddMongoDbStores();
Created ApplicationUser and ApplicationRole classes
When I start the debug, receive this error on builder.Services.AddIdentity.....
System.InvalidOperationException: 'Type UserManager`1 must derive from UserManager.'
Can anyone help me?
Regards
Stefano