Skip to content

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

Notifications You must be signed in to change notification settings

mustafaalkan64/AspnetCoreIdentity2.1

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages