Microsoft.AspNetCore.Identity.EntityFrameworkCore 11.0.0-rc.3.26522.148

About

Microsoft.AspNetCore.Identity.EntityFrameworkCore utilizes Entity Framework Core to provide functionality enabling the storage of user, role, and other identity-related data in a database.

Key Features

  • Provides user and role management
  • Enables secure authentication and authorization mechanisms
  • Allows storage and validatation of user passwords using hashing
  • Tracks email confirmation for user account validation
  • Tracks two-factor authentication to provide an extra layer of security
  • Tracks failed login attempts to help protect against brute-force attacks enabling locking out user accounts after multiple failed login attempts
  • Uses claims to define fine-grained access control policies
  • Seamlessly integrates with Entity Framework Core for data storage and retrieval

How to Use

To use Microsoft.AspNetCore.Identity.EntityFrameworkCore, follow these steps:

Installation

dotnet add package Microsoft.AspNetCore.Identity.EntityFrameworkCore

Configuration

Add the following code to the Program.cs of your ASP.NET Core app:

builder.Services.AddDbContext<ApplicationDbContext>(options =>
    options.UseSqlServer(builder.Configuration.GetConnectionString("DefaultConnection")));

builder.Services.AddDefaultIdentity<ApplicationUser>()
    .AddEntityFrameworkStores<ApplicationDbContext>();

You can replace ApplicationDbContext with your own database context class derived from IdentityDbContext and ApplicationUser with your own user class containing additional properties derived from IdentityUser.

Make sure to configure the connection string via "ConnectionStrings:DefaultConnection" (or whatever you rename it to) so it can connect to your database.

Main Types

The main types provided by Microsoft.AspNetCore.Identity.EntityFrameworkCore include:

  • IdentityDbContext: Provides the database context for storing and managing user, role, and other identity-related data
  • IdentityUserContext: Provides methods and properties for querying and manipulating user information
  • RoleStore: Provides methods for creating, updating, and deleting roles, as well as querying and managing role-related data
  • UserStore: Provides methods for creating, updating, and deleting users, as well as querying and managing user-related data
  • UserOnlyStore: Provides methods for creating, updating, and deleting users, as well as querying and managing user-related data for users without roles

Additional Documentation

For additional documentation and examples, refer to the official documentation on ASP.NET Core Identity.

Feedback & Contributing

Microsoft.AspNetCore.Identity.EntityFrameworkCore is released as open-source under the MIT license. Bug reports and contributions are welcome at the GitHub repository.

Showing the top 20 packages that depend on Microsoft.AspNetCore.Identity.EntityFrameworkCore.

Packages Downloads
FormCMS
A headless CMS with GraphQL API and drag-and-drop page designer.
63
FormCMS
A headless CMS with GraphQL API and drag-and-drop page designer.
61
FormCMS
A headless CMS with GraphQL API and drag-and-drop page designer.
60
FormCMS
A headless CMS with GraphQL API and drag-and-drop page designer.
58
FormCMS
A headless CMS with GraphQL API and drag-and-drop page designer.
56
FormCMS
A headless CMS with GraphQL API and drag-and-drop page designer.
55
FormCMS
AI powered CMS
55
FormCMS
A headless CMS with GraphQL API and drag-and-drop page designer.
54
FormCMS
A headless CMS with GraphQL API and drag-and-drop page designer.
53
Microsoft.AspNetCore.Identity.Service.EntityFrameworkCore
ASP.NET Core Identity Service implementation based on ASP.NET Core Identity.
53
FormCMS
A headless CMS with GraphQL API and drag-and-drop page designer.
52
FormCMS
A headless CMS with GraphQL API and drag-and-drop page designer.
51
FormCMS
A headless CMS with GraphQL API and drag-and-drop page designer.
50

.NET 11.0

Version Downloads Last updated
11.0.0-rc.3.26522.148 1 10/27/2026
11.0.0-rc.2.26504.105 11 10/14/2026
11.0.0-rc.1.26425.128 12 09/10/2026
11.0.0-preview.7.26381.103 21 08/14/2026
11.0.0-preview.6.26359.118 26 07/17/2026
11.0.0-preview.5.26302.115 21 06/12/2026
11.0.0-preview.4.26230.115 24 05/14/2026
11.0.0-preview.3.26207.106 44 04/15/2026
11.0.0-preview.2.26159.112 28 03/14/2026
11.0.0-preview.1.26104.118 33 02/13/2026
10.0.14 1 10/26/2026
10.0.13 10 10/14/2026
10.0.12 14 09/09/2026
10.0.11 25 08/13/2026
10.0.10 24 07/18/2026
10.0.9 24 06/12/2026
10.0.8 30 05/14/2026
10.0.7 30 04/22/2026
10.0.6 30 04/16/2026
10.0.5 27 03/14/2026
10.0.4 35 03/11/2026
10.0.3 34 02/13/2026
10.0.2 37 01/15/2026
10.0.1 5 09/30/2026
10.0.0 34 12/16/2025
10.0.0-rc.2.25502.107 32 12/15/2025
10.0.0-rc.1.25451.107 30 12/21/2025
10.0.0-preview.7.25380.108 27 12/23/2025
10.0.0-preview.6.25358.103 28 12/16/2025
10.0.0-preview.5.25277.114 31 01/01/2026
10.0.0-preview.4.25258.110 33 12/16/2025
10.0.0-preview.3.25172.1 27 12/13/2025
10.0.0-preview.2.25164.1 5 10/08/2026
10.0.0-preview.1.25120.3 3 10/18/2026
9.0.22 1 10/26/2026
9.0.21 8 10/14/2026
9.0.20 17 09/09/2026
9.0.19 24 08/13/2026
9.0.18 33 07/18/2026
9.0.17 22 06/12/2026
9.0.16 28 05/14/2026
9.0.15 26 04/16/2026
9.0.14 34 03/12/2026
9.0.13 38 02/16/2026
9.0.12 46 01/15/2026
9.0.11 35 12/12/2025
9.0.10 38 12/15/2025
9.0.9 41 12/20/2025
9.0.8 34 12/16/2025
9.0.7 30 12/20/2025
9.0.6 34 12/20/2025
9.0.5 32 12/13/2025
9.0.4 28 12/15/2025
9.0.3 30 12/13/2025
9.0.2 5 10/08/2026
9.0.1 35 12/13/2025
9.0.0 36 12/13/2025
9.0.0-rc.2.24474.3 4 10/03/2026
9.0.0-rc.1.24452.1 31 12/13/2025
9.0.0-preview.7.24406.2 26 12/21/2025
9.0.0-preview.6.24328.4 31 12/21/2025
9.0.0-preview.5.24306.11 32 12/13/2025
9.0.0-preview.4.24267.6 24 12/13/2025
9.0.0-preview.3.24172.13 27 12/23/2025
9.0.0-preview.2.24128.4 2 10/10/2026
9.0.0-preview.1.24081.5 5 10/05/2026
8.0.33 3 10/26/2026
8.0.32 8 10/17/2026
8.0.31 16 09/09/2026
8.0.30 24 08/12/2026
8.0.29 22 07/18/2026
8.0.28 21 06/12/2026
8.0.27 26 05/14/2026
8.0.26 25 04/16/2026
8.0.25 29 03/12/2026
8.0.24 32 02/12/2026
8.0.23 32 01/15/2026
8.0.22 32 12/16/2025
8.0.21 37 12/14/2025
8.0.20 35 12/14/2025
8.0.19 28 12/20/2025
8.0.18 29 12/21/2025
8.0.17 29 12/20/2025
8.0.16 34 12/20/2025
8.0.15 33 12/13/2025
8.0.14 4 10/08/2026
8.0.13 10 10/10/2026
8.0.12 31 12/15/2025
8.0.11 26 12/17/2025
8.0.10 34 12/23/2025
8.0.8 4 10/02/2026
8.0.7 32 12/15/2025
8.0.6 31 12/13/2025
8.0.5 31 12/20/2025
8.0.4 37 12/13/2025
8.0.3 31 12/16/2025
8.0.2 34 12/20/2025
8.0.1 2 10/12/2026
8.0.0 28 12/13/2025
8.0.0-rc.2.23480.2 4 10/10/2026
8.0.0-rc.1.23421.29 3 10/18/2026
8.0.0-preview.7.23375.9 24 12/13/2025
8.0.0-preview.6.23329.11 33 12/13/2025
8.0.0-preview.5.23302.2 31 12/13/2025
8.0.0-preview.4.23260.4 39 12/13/2025
8.0.0-preview.3.23177.8 6 10/09/2026
8.0.0-preview.2.23153.2 4 10/06/2026
8.0.0-preview.1.23112.2 3 10/09/2026
7.0.20 5 10/03/2026
7.0.19 33 12/13/2025
7.0.18 41 12/13/2025
7.0.17 30 12/15/2025
7.0.16 36 12/13/2025
7.0.15 3 10/18/2026
7.0.14 27 12/16/2025
7.0.13 4 10/09/2026
7.0.12 29 12/17/2025
7.0.11 7 10/02/2026
7.0.10 30 12/15/2025
7.0.9 4 09/29/2026
7.0.8 32 12/13/2025
7.0.7 33 12/13/2025
7.0.5 4 10/08/2026
7.0.4 32 12/14/2025
7.0.3 29 12/14/2025
7.0.2 7 09/28/2026
7.0.1 27 12/13/2025
7.0.0 34 12/13/2025
7.0.0-rc.2.22476.2 7 10/09/2026
7.0.0-rc.1.22427.2 27 12/17/2025
7.0.0-preview.7.22376.6 29 12/21/2025
7.0.0-preview.6.22330.3 3 10/15/2026
7.0.0-preview.5.22303.8 24 12/13/2025
7.0.0-preview.4.22251.1 21 12/16/2025
7.0.0-preview.3.22178.4 30 12/21/2025
7.0.0-preview.2.22153.2 9 10/10/2026
7.0.0-preview.1.22109.13 3 10/08/2026
6.0.36 37 12/21/2025
6.0.35 7 09/28/2026
6.0.33 38 12/15/2025
6.0.32 4 10/09/2026
6.0.31 30 12/21/2025
6.0.30 30 12/13/2025
6.0.29 30 12/13/2025
6.0.28 32 12/13/2025
6.0.27 28 12/18/2025
6.0.26 4 09/29/2026
6.0.25 27 12/13/2025
6.0.24 27 12/13/2025
6.0.23 28 12/15/2025
6.0.22 32 12/13/2025
6.0.21 3 10/08/2026
6.0.20 31 12/13/2025
6.0.19 32 12/15/2025
6.0.18 35 12/14/2025
6.0.16 4 09/27/2026
6.0.15 31 12/16/2025
6.0.14 35 12/15/2025
6.0.13 5 10/09/2026
6.0.12 35 12/15/2025
6.0.11 33 12/15/2025
6.0.10 3 10/07/2026
6.0.9 5 10/09/2026
6.0.8 35 12/13/2025
6.0.7 2 10/09/2026
6.0.6 8 10/04/2026
6.0.5 32 12/15/2025
6.0.4 29 12/13/2025
6.0.3 33 12/20/2025
6.0.2 6 10/08/2026
6.0.1 28 12/13/2025
6.0.0 37 12/20/2025
6.0.0-rc.2.21480.10 3 10/10/2026
6.0.0-rc.1.21452.15 32 12/13/2025
6.0.0-preview.7.21378.6 28 12/13/2025
6.0.0-preview.6.21355.2 3 10/09/2026
6.0.0-preview.5.21301.17 23 01/03/2026
6.0.0-preview.4.21253.5 6 10/15/2026
6.0.0-preview.3.21201.13 26 12/13/2025
6.0.0-preview.2.21154.6 30 12/13/2025
6.0.0-preview.1.21103.6 31 12/13/2025
5.0.17 27 12/21/2025
5.0.16 31 12/15/2025
5.0.15 29 12/21/2025
5.0.14 35 12/15/2025
5.0.13 31 12/21/2025
5.0.12 32 12/13/2025
5.0.11 5 10/09/2026
5.0.10 40 12/13/2025
5.0.9 2 10/01/2026
5.0.8 33 12/20/2025
5.0.7 34 12/13/2025
5.0.6 30 12/15/2025
5.0.5 6 10/05/2026
5.0.4 32 12/15/2025
5.0.3 8 10/04/2026
5.0.2 30 12/20/2025
5.0.1 30 12/13/2025
5.0.0 34 12/14/2025
5.0.0-rc.2.20475.17 4 09/30/2026
5.0.0-rc.1.20451.17 30 12/13/2025
5.0.0-preview.8.20414.8 31 12/14/2025
5.0.0-preview.7.20365.19 26 12/13/2025
5.0.0-preview.6.20312.15 30 12/24/2025
5.0.0-preview.5.20279.2 28 12/13/2025
5.0.0-preview.4.20257.10 4 10/17/2026
5.0.0-preview.3.20215.14 26 12/15/2025
5.0.0-preview.2.20167.3 26 12/15/2025
5.0.0-preview.1.20124.5 30 12/13/2025
3.1.32 26 12/21/2025
3.1.31 3 10/09/2026
3.1.30 36 12/13/2025
3.1.29 34 12/13/2025
3.1.28 30 12/13/2025
3.1.27 34 12/21/2025
3.1.26 32 12/13/2025
3.1.25 32 12/14/2025
3.1.24 33 12/13/2025
3.1.23 3 10/06/2026
3.1.22 30 12/21/2025
3.1.21 39 12/14/2025
3.1.20 28 12/21/2025
3.1.19 31 12/21/2025
3.1.18 27 12/21/2025
3.1.17 3 10/18/2026
3.1.16 29 12/13/2025
3.1.15 26 12/13/2025
3.1.14 30 12/12/2025
3.1.13 26 12/13/2025
3.1.12 2 10/18/2026
3.1.11 10 10/09/2026
3.1.10 4 10/09/2026
3.1.9 37 12/14/2025
3.1.8 31 12/11/2025
3.1.7 3 10/09/2026
3.1.6 4 10/07/2026
3.1.5 28 12/20/2025
3.1.4 32 12/13/2025
3.1.3 27 12/13/2025
3.1.2 31 12/21/2025
3.1.1 28 12/13/2025
3.1.0 31 12/14/2025
3.1.0-preview3.19555.2 31 12/14/2025
3.1.0-preview2.19528.8 30 12/21/2025
3.1.0-preview1.19508.20 3 10/18/2026
3.0.3 28 12/19/2025
3.0.2 34 12/13/2025
3.0.0 4 10/09/2026
3.0.0-rc1.19457.4 30 12/13/2025
3.0.0-preview9.19424.4 28 12/21/2025
3.0.0-preview8.19405.7 4 10/09/2026
3.0.0-preview7.19365.7 2 10/18/2026
3.0.0-preview6.19307.2 35 12/15/2025
3.0.0-preview5-19227-01 27 12/27/2025
3.0.0-preview4-19216-03 31 12/13/2025
3.0.0-preview3-19153-02 28 12/21/2025
3.0.0-preview-19075-0444 32 12/15/2025
3.0.0-preview-18579-0056 31 01/01/2026
2.3.13 18 09/09/2026
2.3.12 22 08/13/2026
2.3.11 28 06/12/2026
2.3.10 23 05/14/2026
2.3.9 38 01/08/2026
2.3.8 39 01/07/2026
2.3.0 1 10/18/2026
2.2.0 28 12/21/2025
2.2.0-preview3-35497 28 12/13/2025
2.2.0-preview2-35157 27 12/14/2025
2.2.0-preview1-35029 40 12/11/2025
2.1.6 3 10/11/2026
2.1.3 36 12/13/2025
2.1.2 27 12/15/2025
2.1.1 4 10/03/2026
2.1.0 30 12/13/2025
2.1.0-rc1-final 28 12/21/2025
2.1.0-preview2-final 24 12/13/2025
2.1.0-preview1-final 2 10/10/2026
2.0.4 35 12/16/2025
2.0.3 32 12/13/2025
2.0.2 3 10/09/2026
2.0.1 36 12/11/2025
2.0.0 34 12/17/2025
2.0.0-preview2-final 33 12/21/2025
2.0.0-preview1-final 30 12/21/2025
1.1.6 31 12/13/2025
1.1.5 27 12/13/2025
1.1.4 34 12/20/2025
1.1.3 31 12/20/2025
1.1.2 28 12/21/2025
1.1.1 3 10/09/2026
1.1.0 7 10/01/2026
1.1.0-preview1-final 34 12/13/2025
1.0.6 31 12/20/2025
1.0.5 30 12/20/2025
1.0.4 33 12/16/2025
1.0.3 6 10/03/2026
1.0.2 28 12/20/2025
1.0.1 28 12/13/2025
1.0.0 35 12/21/2025
1.0.0-rc2-final 31 12/21/2025