Top "Asp.net-identity-3" questions

The third release of the ASP.

How to create roles in ASP.NET Core and assign them to users?

I am using the ASP.NET Core default website template and have the authentication selected as "Individual User Accounts". How …

c# asp.net asp.net-mvc asp.net-core asp.net-identity-3
'No database provider has been configured for this DbContext' on SignInManager.PasswordSignInAsync

.Net Core 1.0.0 - SDK Preview 2 (x64) .Net Core 1.0.0 - VS "15" Preview 2 (x64) .Net Core 1.0.0 - Runtime (x64) So, we updated …

c# entity-framework asp.net-core asp.net-identity-3
ASP.NET Core Identity: No service for role manager

I have an ASP.NET Core app that uses Identity. It works, but when I am trying to add custom …

asp.net asp.net-core asp.net-core-mvc asp.net-identity-3
How to make EF-Core use a Guid instead of String for its ID/Primary key

When I look at the ASP.NET 3 Identity it uses a string and not a Guid for the unique primary …

c# asp.net-core entity-framework-core asp.net-identity asp.net-identity-3
userManager.AddToRoleAsync() - Error: role does not exist

I'm creating a user registration system using .NET Core, Identity Core, and MVC Core. I'm able to create users and …

c# asp.net-core asp.net-identity asp.net-identity-3
Identity 3 SignInManager.PasswordSignInAsync() doesn't return any result

I am creating web application with Identity 3.0 and have problems with SignInManager PasswordSignInAsync() method. I'm using it just like in …

asp.net asp.net-mvc asp.net-identity asp.net-core asp.net-identity-3
How to register custom UserStore & UserManager in DI

Here is my setup: public class ApplicationUser : IdentityUser<Guid> { } public class ApplicationRole : IdentityRole<Guid> { } public class …

c# asp.net-core asp.net-core-mvc asp.net-identity-3
Add claims when creating a new user

I am creating a new User using ASP.NET Core Identity as follows: new User { Email = "[email protected]", Name = "…

c# asp.net-core asp.net-identity asp.net-identity-3
ASP.NET Core change AccessDenied route

I'm having some trouble with routing AccessDenied, probably Login/Logout path as well. The project is a stripped default one …

asp.net asp.net-core asp.net-mvc-routing asp.net-identity-3
How to get current UserId in Identity 3.0? User.GetUserId returns null

I need to get ID of user that made some request. In previous versions of Identity I could do it …

asp.net asp.net-core asp.net-identity-3