chsakell / Aspnet Core Identity
Licence: mit
ASP.NET Core Identity Series
Stars: ✭ 216
Programming Languages
javascript
184084 projects - #8 most used programming language
Labels
Projects that are alternatives of or similar to Aspnet Core Identity
React Core Boilerplate
Powerful ASP.NET Core 3 templates with React, true server-side rendering and Docker support
Stars: ✭ 169 (-21.76%)
Mutual labels: aspnet-core, aspnet
abp-push
Push Notification System for ASP.NET Boilerplate
Stars: ✭ 16 (-92.59%)
Mutual labels: aspnet, aspnet-core
Identity.dapper
Identity package that uses Dapper instead EntityFramework for use with .NET Core
Stars: ✭ 234 (+8.33%)
Mutual labels: aspnet-core, aspnet
mysql-dotnet-core
ASP.NET Core 5.0 Web Application using MySQL with Entity Framework
Stars: ✭ 95 (-56.02%)
Mutual labels: aspnet, aspnet-core
Smartstore
Open Source ASP.NET Core Enterprise eCommerce Shopping Cart Solution
Stars: ✭ 82 (-62.04%)
Mutual labels: aspnet-core, aspnet
Aspnetboilerplate
ASP.NET Boilerplate - Web Application Framework
Stars: ✭ 10,061 (+4557.87%)
Mutual labels: aspnet-core, aspnet
Mockaco
🐵 HTTP mock server, useful to stub services and simulate dynamic API responses, leveraging ASP.NET Core features, built-in fake data generation and pure C# scripting
Stars: ✭ 213 (-1.39%)
Mutual labels: aspnet, aspnet-core
Awesome Microservices Netcore
💎 A collection of awesome training series, articles, videos, books, courses, sample projects, and tools for Microservices in .NET Core
Stars: ✭ 865 (+300.46%)
Mutual labels: aspnet-core, aspnet
Bootstrap Aspnetcore Starter
DevExpress ASP.NET Core Bootstrap starter
Stars: ✭ 76 (-64.81%)
Mutual labels: aspnet-core, aspnet
Aspnetcore.docs
Documentation for ASP.NET Core
Stars: ✭ 9,940 (+4501.85%)
Mutual labels: aspnet-core, aspnet
Architecture
.NET 6, ASP.NET Core 6, Entity Framework Core 6, C# 10, Angular 13, Clean Code, SOLID, DDD.
Stars: ✭ 2,285 (+957.87%)
Mutual labels: aspnet-core
Dotnetify React Template
Real-time React SPA template using dotNetify.
Stars: ✭ 191 (-11.57%)
Mutual labels: aspnet
Dotnetcore Entityframework Api
Building REST APIs using ASP.NET Core and Entity Framework Core
Stars: ✭ 212 (-1.85%)
Mutual labels: aspnet-core
Aspnet Api Versioning
Provides a set of libraries which add service API versioning to ASP.NET Web API, OData with ASP.NET Web API, and ASP.NET Core.
Stars: ✭ 2,154 (+897.22%)
Mutual labels: aspnet
Smartstorenet
Open Source ASP.NET MVC Enterprise eCommerce Shopping Cart Solution
Stars: ✭ 2,363 (+993.98%)
Mutual labels: aspnet
Webapimongodb
Using MongoDB with ASP.NET Web API and ASP.NET Core to perform CRUD operations and build a NotebookApp
Stars: ✭ 164 (-24.07%)
Mutual labels: aspnet-core
Revo
Event Sourcing, CQRS and DDD framework for C#/.NET Core.
Stars: ✭ 162 (-25%)
Mutual labels: aspnet-core
Aspnetcoreangularsignalr
SignalR ASP.NET Core Angular
Stars: ✭ 163 (-24.54%)
Mutual labels: aspnet-core
Falco
A functional-first toolkit for building brilliant ASP.NET Core applications using F#.
Stars: ✭ 214 (-0.93%)
Mutual labels: aspnet-core
ASP.NET Core Identity Series
The most complete guide for ASP.NET Core Identity
Getting Started
Part 1 -- Introduction to ASP.NET Core Identity library
- Describe ASP.NET Core Identity basic archirecture
- Explain the role and relationship between
Stores
andManagers
and how they function under the hood - Explain what
Claims
,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
Integrate Entity Framework
Part 2 -- Introduce
Microsoft.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 as
UserOnlyStore
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
Deep Dive in authorization
Part 3 -- Explain
Claims-based
authorization by example - Explain
Role-based
authorization by example - Step by step guide for creating custom
Authorization Policy Provider
- Explain how authorization works under the hood
- Explain
Imperative authorization
by example - Associated repository branch: authorization
OAuth 2.0, OpenID Connect & IdentityServer
Part 4 -- Explain how
OAuth 2.0
works (terminology, grant types, tokens) - Explain how
OpenID Connect
works (terminology, tokens, flows) - Learn how to use
IdentityServer
for integratingOAuth 2.0
andOpenID Connect
- Associated repository branch: identity-server
External provider authentication & registration strategy
Part 5 -- Step by step guides for enabling external provider authentication
- Implement an external provider registration strategy
- Associated repository branch: external-authentication
Two-Factor Authentication
Part 6 -- Implement all Two Factor Authentication related tasks:
- Enable/Disable 2FA
- Configure authenticator app (QR Code included)
- Generate/Reset recovery tokens
- Reset authenticator app
- Explore the 2FA code and database schema
- Enhance the security level of 2FA by overriding the default implementation
- Encrypt authenticator key
- Encrypt recovery tokens
- Associated repository branch: two-factor-authentication
To be continued..
Installation instructions
The project is built with ASP.NET Core with Angular on the client side.
-
Basic project setup:
-
cd ./AspNetCoreIdentity
where the package.json file exist npm install
dotnet restore
dotnet build
dotnet run
-
-
Create the AspNetCoreIdentityDb 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
-
-
Create the IdentityServerDb database (skip if you want to run with In memory DB)
- Follow the instructions
In case you don't want to use a real SQL Server Database when running the
AspNetCoreIdentity
project, simply set InMemoryProvider: true in the appsettings.json. This option will use in memory database
In case you don't want to use a real SQL Server Database when running the
IdentityServer
project simply set UseInMemoryStores: true in the relative appsettings.json This option will use in memory database
Follow chsakell's Blog
Microsoft Web Application Development | |||
Donation
You can show your support to this project by making a donation via PayPal
Code released under the License MIT license.
Note that the project description data, including the texts, logos, images, and/or trademarks,
for each open source project belongs to its rightful owner.
If you wish to add or remove any projects, please contact us at [email protected].