How to Use AspNet.Identity core in My Sql database
I am developing one application using asp dot net core 2 using MySql database.Please help me How can i use Asp Net Identity in MySqlDatabase.
I am developing one application using asp dot net core 2 using MySql database.Please help me How can i use Asp Net Identity in MySqlDatabase.
I use ASP.NET Identity 2.0 and MVC. I need to logged user’s name,surname,email etc.. in view. How can get it? I can get just @User.Identity but there no my user class’s property.
I’m trying to find a way to disable a user in Identity 2.0 and can’t seem to find any info on it.
I’m using Identity 2.1 to handle the user roles in my asp.net application. So far so good, i created new context extending from IdentityDBContext, extending the IdentityUser and IdentityRole to add a couple of new fields. However, whenever im trying to add a user to a specific role using the UserManager im getting The entity type IdentityRole is not part of the model for the current context.. So there seem to be something wrong with the user-role relationship, here is my code so far for reference:
I have an ASP.Net MVC5 application, using the Identity “out of the box” template, as per ASP.Net Identity 2.0.0. I need to upgrade it to use the newer code that is in the latest ASP.Net MVC template, namely the use of the SignInManager class.
I’m trying to rename the identity tables to Roles, Users, UserRoles, UserLogins and UserClaims. I partially succeeded doing and using the command Update-Table updates my database.