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

Issue

This Content is from Stack Overflow. Question asked by Berk KARASU

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



Solution

This question is not yet answered, be the first one who answer using the comment. Later the confirmed answer will be published as the solution.

This Question and Answer are collected from stackoverflow and tested by JTuto community, is licensed under the terms of CC BY-SA 2.5. - CC BY-SA 3.0. - CC BY-SA 4.0.

people found this article helpful. What about you?