79449632

Date: 2025-02-18 21:19:37
Score: 0.5
Natty:
Report link

It's kind of confusing, but the problem (as of writing this) is that the AddIdentity extension method used to register the identity services isn't included in the Microsoft.Extensions.DependencyInjection package (even though the API docs show it is oddly enough). It is part of the Microsoft.AspNetCore.Identity package. Add that package to your project and once you import it via a using statement then the method will be available to use to register the desired services.

Reasons:
  • Has code block (-0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Snap