-
Notifications
You must be signed in to change notification settings - Fork 25.2k
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
Identity - Update to 2.1 #7131
Comments
You don't have to deal with Razor Pages if you don't want to. Identity UI is just a UI implementation of Identity. It can still be used without Identity UI at all. The documentation is lacking on how to go about doing this. There has been an issue raised for the documentation issues (#6990), and it appears the docs have been updated in the repo, and are just waiting for the next publish. While I'm a fan of Razor Pages, I'm not a fan of how Identity UI uses Areas by default. I'm not a big fan of areas because I find it counter-intuitive for my projects. But you can write your own implementation of the Identity UI. And I think, in a lot of cases, that's probably the best approach anyway. Identity itself hasn't changed much. It's just the default template that has changed. |
No. But it's not difficult to modify to MVC. Scaffold a 2.0 MVC project and you'll be very close.
|
Guys, this is really nonsense. I don't know why you did this. |
This documentation doesn't match the current reality. At step 2, you tell us to add this code to Startup.cs:
But (1) the new project already has a call to
and, (2) the new project doesn't have an ApplicationUser class, so your code doesn't compile. |
Now we get to explore the following the rabbit holes:
Any clarification on what was intended for 2.1's version of this exercise would be a big help. Thanks! |
No need to change from |
when the docs would be updated?,what the hell you doing? |
@pangjianxin Feel free to submit a pull request if you don't feel like progress is moving quickly enough on this. |
Please update the docs, been ripping my hair on how to set this thing up. |
Note to self. 40K PV |
Guys, you can't be serious about completely changing Identity from 2.0 to 2.1 and totally ignoring the docs. Besides, why do we now have to deal with this Razor code behind nonsense in MVC applications instead of controllers? You're totally arbitrarily mixing two different approaches and forcing us to work with this mess - all that without any proper documentation. Is there still a way to scaffold MVC like Identity code when creating a new project?
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: