Skip to content

Latest commit

 

History

History
40 lines (23 loc) · 694 Bytes

README.md

File metadata and controls

40 lines (23 loc) · 694 Bytes

AspnetCoreIdentity2.1

Create, edit, list and delete users.

Create, edit, list and delete roles.

Add users to role.

Remove users from role.

Login, register and logout.

Authanticate and authorize

With Asp.net Core 2.1 Identity Management.

Firstly you shold set connection string in appsetting.json:

{
  "ConnectionStrings": {
    "IdentityContext": "Server=(localdb)\\MSSQLLocalDB;Database=CoreIdentityDb;Trusted_Connection=True;MultipleActiveResultSets=true"
  }
}



After run below commands in terminal in your project directory to auto migrate your Identity tables:

dotnet ef migrations add InitialCreate

dotnet ef database update