© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•2y ago•
3 replies
Pesqoo

✅ Identity without ApiEndpoints

Hello, is it possible to use Identity without the services.AddIdentityApiEndpoints?
Right now I use
services.AddIdentityApiEndpoints<User>()
    .AddEntityFrameworkStores<RecipeDbContext>();
services.AddIdentityApiEndpoints<User>()
    .AddEntityFrameworkStores<RecipeDbContext>();

but if i use it like this to not use the endpoints
services.AddIdentity<User, IdentityRoles>()
    .AddEntityFrameworkStores<RecipeDbContext>();
services.AddIdentity<User, IdentityRoles>()
    .AddEntityFrameworkStores<RecipeDbContext>();


I get an error that the service IEmailSender cannot be found. But I do not even want to send emails?!
C# banner
C#Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

✅ Identity Help
C#CC# / help
13mo ago
identity blazor
C#CC# / help
2y ago
Identity struggle
C#CC# / help
2y ago
Identity problem
C#CC# / help
2y ago