-
Notifications
You must be signed in to change notification settings - Fork 25.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
AddIdentity vs. AddDefaultIdentity vs. AddIdentityCore #7633
Comments
Thanks @Rick-Anderson that would be great. Since I wrote this issue, I've stumbled across various conflicting examples that purport to show the calls one would need with AddIdentity to replicate AddDefaultIdentity. In any case, it's a nontrivial amount of code, none of which is clearly explained in the code examples. As an aside, I want to give you guys kudos for the great documentation, with coherent explanations and great examples. In particular, I appreciate the highlighted code in the examples that ties in with the discussion. |
Per Haok |
These pages sometimes say we should use
services.AddDefaultIdentity
, and sometimesservices.AddIdentity
. Reading between the lines, AddIdentity exposes additional options for configuring Identity. But there is no coherent description of the difference between these two methods. We really need a section early in this documentation that presents these two registration methods and information about the follow-on fluent methods that are required and/or optional.Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.
The text was updated successfully, but these errors were encountered: