ASP.NET Core Identity Bulk allows you to perform bulk ASP.NET Core Identity operations.
-
Add the Identity services to your application.
builder.Services.AddIdentity<ApplicationUser, ApplicationRole>();
-
Install the Identity Bulk package.
dotnet add package Tnc1997.AspNetCore.Identity.Bulk
-
Add the Identity Bulk services to your application.
builder.Services.AddIdentity<ApplicationUser, ApplicationRole>() .AddBulk();
-
Install the Identity Entity Framework Core package.
dotnet add package Microsoft.AspNetCore.Identity.EntityFrameworkCore
-
Add the Entity Framework stores to your application.
builder.Services.AddIdentity<ApplicationUser, ApplicationRole>() .AddBulk() .AddEntityFrameworkStores<ApplicationDbContext>();
-
Install the Identity Bulk Entity Framework Core package.
dotnet add package Tnc1997.AspNetCore.Identity.Bulk.EntityFrameworkCore
-
Add the Bulk Entity Framework stores to your application.
builder.Services.AddIdentity<ApplicationUser, ApplicationRole>() .AddBulk() .AddBulkEntityFrameworkStores<ApplicationDbContext>() .AddEntityFrameworkStores<ApplicationDbContext>();