mustafaalkan64 / AspnetCoreIdentity2.1

Role, User CRUD, UserToRole Relation, Login and Logout with Asp.net Core Identity 2.1.1

Home Page:HomePage

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

Role, User CRUD, UserToRole Relation, Login and Logout with Asp.net Core Identity 2.1.1

HomePage


Languages

Language:C# 92.9%Language:HTML 6.8%Language:CSS 0.3%Language:JavaScript 0.1%