Is there UI to manage ASP.NET Identity users/roles compatible with ASP.NET 5? Is there UI to manage ASP.NET Identity users/roles compatible with ASP.NET 5? asp.net asp.net

Is there UI to manage ASP.NET Identity users/roles compatible with ASP.NET 5?


Recently, I tested the ASP.NET Web Application template with Individual Authentication and it worked fine with ASP.NET 5.

It is a Razor Pages Library, that you can scaffold if you need to edit the code as detailed here in the documentation: https://docs.microsoft.com/en-us/aspnet/core/security/authentication/scaffold-identity?view=aspnetcore-5.0&tabs=visual-studio

This is the relevant part:

How to scaffold Identity on ASP.NET 5.0

The code in this case is Razor Pages instead of MVC, but you can have both in the same project as far as I understand, and migrating from Razor Pages to MVC should be fairly simple as stated in this GitHub discussion: https://github.com/aspnet/Identity/issues/1825#issuecomment-396342979


Please check out ASP.NET MVC 5 Security And Creating User Rolehttps://code.msdn.microsoft.com/ASPNET-MVC-5-Security-And-44cbdb97

Hopefully this is what you're looking for.


If you want get all of roles and users with UI to manage asp.net Identity.

Try to make new blank asp.net MVC project. Make sure do not click Individual User Account. Then go to Package Manager Console and hit following query on console.

Install-Package Microsoft.AspNet.Identity.Samples -Version 2.2.0-alpha1

This package contains an asp.net MVC application which shows you how to use the features in asp.net Identity. Also compatible with asp.net. You should check default role and users once you connect database with ApplicationDbContext.