Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

ASP.NET Core Identity Series

License

NotificationsYou must be signed in to change notification settings

chsakell/aspnet-core-identity

Repository files navigation

The most complete guide for ASP.NET Core Identity

ASP.NET Core Identity Series

LicenseBuild status

  • Introduction to ASP.NET Core Identity library
  • Describe ASP.NET Core Identity basic archirecture
  • Explain the role and relationship betweenStores andManagers and how they function under the hood
  • Explain whatClaims,ClaimsIdentity andClaimsPrincipal entities are and how they are related
  • Step by step guide on how to install and start using the core packages
  • Associated repository branch:getting-started
  • IntroduceMicrosoft.Extensions.Identity.Stores andUserStoreBase store implementations
  • Plug and configure Entity Framework Core with ASP.NET Core Identity and minimum configuration
  • Explain Entity Framework different store implementations such asUserOnlyStore orUserStore
  • Step by step guide for applying migrations and creating Identity's SQL Schema
  • Discuss whether you should use ASP.NET Core Identity with Entity Framework
  • Associated repository branch:entity-framework-integration
  • ExplainClaims-based authorization by example
  • ExplainRole-based authorization by example
  • Step by step guide for creating customAuthorization Policy Provider
  • Explain how authorization works under the hood
  • ExplainImperative authorization by example
  • Associated repository branch:authorization
  • Explain howOAuth 2.0 works(terminology, grant types, tokens)
  • Explain howOpenID Connect works(terminology, tokens, flows)
  • Learn how to useIdentityServer for integratingOAuth 2.0 andOpenID Connect
  • Associated repository branch:identity-server

To be continued..

Installation instructions

The project is built with ASP.NET Core with Angular on the client side.

  1. Basic project setup:
    • cd ./AspNetCoreIdentity where the package.json file exist
    • npm install
    • dotnet restore
    • dotnet build
    • dotnet run
  2. Create theAspNetCoreIdentityDb database(skip if you want to run with In memory DB)
    • cd ./AspNetCoreIdentity where the AspNetCoreIdentity.csproj exist
    • Add-Migration initial_migration ordotnet ef migrations add initial_migration
    • Update-Database ordotnet ef database update
  3. Create theIdentityServerDb database(skip if you want to run with In memory DB)

In case you don't want to use a real SQL Server Database when running theAspNetCoreIdentity project, simply setInMemoryProvider: true in theappsettings.json. This option will use in memory database

In case you don't want to use a real SQL Server Database when running theIdentityServer project simply setUseInMemoryStores: true in the relativeappsettings.json This option will use in memory database

Follow chsakell's Blog

FacebookTwitter
Microsoft Web Application Development
facebooktwitter-small

License

Code released under the MIT license.

About

ASP.NET Core Identity Series

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

[8]ページ先頭

©2009-2025 Movatter.jp