Aspnetcore.Identity.EntityFramework 6.0.9 , SignInManager doesn't work

Viewed 19

I'm using Microsoft.AspNetCore.Identity.EntityFrameworkCore 6.0.9 Nuget package and I can't use SignInManager method. Has this method been replaced by another method or am I making a mistake at some point?

I Added this code in Program cs

builder.Services.AddIdentity<AppUser, AppRole>().AddEntityFrameworkStores<AppDbContext>();

Here My Code

SignInManager asks me to install AspNetCore.Identity while UserManager works with nuget package I installed

0 Answers
Related