Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ApplicationUser must be convertible to microsoft.aspnet.identity.framework.identityuser inorder to use it as parameter TUser #1

Open
hnabih opened this issue Sep 2, 2014 · 0 comments

Comments

@hnabih
Copy link

hnabih commented Sep 2, 2014

Thank you so much for the template. I am not very experienced program however manage to use the template. I am trying to import users information from an old project using SqlMembership, I need to use SQLPasswordHasher which I got from this example: http://www.asp.net/identity/overview/migrations/migrating-an-existing-website-from-sql-membership-to-aspnet-identity.

I am trying to add UserManger:
public MyUserManager ()
: base(new UserStore(new ApplicationDbContext()))
{
this.PasswordHasher = new SQLPasswordHasher();
}
I get the above error.
When I change the public class ApplicationUser : IdentityUser I don't get this error

I would appreciate your suggestions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant