Severity Code Description Project File Line Suppression State Error CS1061 'IServiceCollection' does not contain a definition for 'AddDefaultIdentity' and no accessible extension method 'AddDefaultIdentity' accepting a first argument of type 'IServiceCollection' could be found (are you missing a using directive or an assembly reference?) WebHesab C:\Users\DELL\source\repos\WebHesab\WebHesab\Startup.cs 36 Active

using Microsoft.Extensions.DependencyInjection;at the top of yourstartup.csIf you right-click on the red underline, it will tell you how to fix it and even do it for you. - Andy