-
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
update for 2.1 : Account confirmation and password recovery in ASP.NET Core #6632
Comments
Thanks @Alienroid ... I'll add this to our sample update tracking issue (#5495). |
Has this been updated? I cannot figure out how to override Identity.UI.EmailSender using 2.1 EDIT: Whoops, the RegisterModel just needed to be updated to use that service instead in the using statements. |
Updated the ConfigureServices method to solve the issue dotnet#6632
The instructions and the snapshot for creating a web project using visual studio for ASP.NET Core 1.x are wrong because is selecting .NET Core 2.0 |
Sorry if this is a dumb question, but how do you guys manage the sample apps when making changes because of version change? Do you create a complete sample app? if so, how do you ensure that will be attached to the right doc? I want to take care of this changes, but I'm completely sure about the strategy |
Each sample app is versioned to the latest release (at the time the sample is updated) for 1.x or 2.x (and 3.x in the future).
When a new major version releases, yes, we create a new physical sample. However, that physical sample might be the previous sample version just updated for the new release.
We reference the "samples" folder inside a folder named after the topic folder in GitHub. See some of our topics in GH to see how they're laid out, but best for you to look at linked PRs on #5495. We have inconsistencies in the repo generally. 😢 I'm working to iron this out now as I address these and get them all on the same page for folder naming.
It's complicated 😅 ... but doable. Some of these are MVC apps or even console apps, and we're moving them to Razor Pages. Sometimes the work to convert to Razor Pages pushed off to a new issue. Some of these are even 1.x-era xproj/project.json-based samples. Today, I'm doing both a 2.1 update and a shiny new Razor Pages app for the app/session state topic. If you look at #5495 and study the linked PRs on the ones I've already done, you'll see the patterns. Feel free to ask if you have any questions. This particular topic, https://docs.microsoft.com/aspnet/core/security/authentication/accconfirm, could get a little thorny because the sample is supplying 1.1 code only ... and it's MVC ... not Razor Pages like we'd prefer it to be. The intention of the topic is that the dev will walk-through and build a new app from scratch. If we want to retain the 1.x steps here (unlikely), then we'd isolate these 1.x code blocks from the new 2.1 code blocks using "moniker-ranges." If we just drop the 1.x experience (likely), then it will be easier in that the whole sample can just be converted to 2.1 and the sample code blocks will only show 2.1 code from the one sample. Either way tho ... it really should go to a Razor Pages experience start-to-finish. @Rick-Anderson Do you know if you want to retain the 1.1 bits from the Account confirmation and password recovery topic? ... and we are taking this one to Razor Pages, too, correct? |
Ok, so I guess I'll start reviewing the linked PRs and then I'll start
developing a 2.1/razor sample app to cover this topic? Or do you guys have
other priority that I could be more helpful?
El mar., 12 jun. 2018 a las 11:49, Luke Latham (<[email protected]>)
escribió:
… how do you guys manage the sample apps when making changes because of
version change?
Each sample app is versioned to the latest release (at the time the sample
is updated) for 1.x or 2.x (and 3.x in the future).
Do you create a complete sample app?
When a new major version releases, yes, we create a new physical sample.
However, that physical sample might be the previous sample version just
updated for the new release.
How do you ensure that will be attached to the right doc?
We reference the "samples" folder inside a folder named after the topic
folder in GitHub. See some of our topics in GH to see how they're laid out,
but best for you to look at linked PRs on #5495
<#5495>. We have inconsistencies in
the repo generally. 😢 I'm working to iron this out now as I address
these and get them all on the same page for folder naming.
I want to take care of this changes, but I'm completely sure about the
strategy.
It's complicated 😅 ... but doable. Some of these are MVC apps or even
console apps, and we're moving them to Razor Pages. Sometimes the work to
convert to Razor Pages pushed off to a new issue. Some of these are even
1.x-era xproj/project.json-based samples. Today, I'm doing both a 2.1
update and a shiny new Razor Pages app for the app/session state topic.
If you look at #5495 <#5495> and
study the linked PRs on the ones I've already done, you'll see the
patterns. Feel free to ask if you have any questions.
This particular topic,
https://docs.microsoft.com/aspnet/core/security/authentication/accconfirm,
could get a little thorny because the sample is supplying 1.1 code only ...
and it's MVC ... not Razor Pages like we'd prefer it to be.
The intention of the topic is that the dev will walk-through and build a
new app from scratch. If we want to retain the 1.x steps here (unlikely),
then we'd isolate these 1.x code blocks from the new 2.1 code blocks using
"moniker-ranges." If we just drop the 1.x experience (likely), then it will
be easier in that the whole sample can just be converted to 2.1 and the
sample code blocks will only show 2.1 code from the one sample. Either way
tho ... it really should go to a Razor Pages experience start-to-finish.
@Rick-Anderson <https://github.com/Rick-Anderson> Do you know if you want
to retain the 1.1 bits from the *Account confirmation and password
recovery* topic? ... and we are taking this one to Razor Pages, too,
correct?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#6632 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AMJdhlWpWkuwehp3ke9tfJjRnINyf6AOks5t7_ECgaJpZM4UPOUm>
.
|
There are up-for-grabs issues ... https://github.com/aspnet/Docs/issues?q=is%3Aopen+is%3Aissue+label%3Aup-for-grabs |
Actually, everything is up for grabs. I wouldn't filter on that label. |
@bcisnero This one is high on the priority list. |
😄 Should the label be retired? |
you mean the #6632?
El mar., 12 jun. 2018 a las 15:57, Luke Latham (<[email protected]>)
escribió:
… 😄 Should the label be retired?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#6632 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AMJdhvJGIhDuZjItULFeei0tsVk3c16Qks5t8CsjgaJpZM4UPOUm>
.
|
Yes, this issue |
I'm not Microsoft employee. I just reported the issue. Should I unfollow?
Get Outlook for iOS<https://aka.ms/o0ukef>
…________________________________
From: Rick Anderson <[email protected]>
Sent: Tuesday, June 12, 2018 2:00:30 PM
To: aspnet/Docs
Cc: Alienroid; Mention
Subject: Re: [aspnet/Docs] update for 2.1 : Account confirmation and password recovery in ASP.NET Core (#6632)
Yes, this issue
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub<#6632 (comment)>, or mute the thread<https://github.com/notifications/unsubscribe-auth/AfZQsu93aGyTD_ZJse5A0uciJIj3_YMcks5t8CvugaJpZM4UPOUm>.
|
Seems like these are internal discussion within Microsoft? I just posted the issue and the workaround/solution…
Sent from Mail<https://go.microsoft.com/fwlink/?LinkId=550986> for Windows 10
…________________________________
From: Luke Latham <[email protected]>
Sent: Tuesday, June 12, 2018 2:05:14 PM
To: aspnet/Docs
Cc: Alienroid; Mention
Subject: Re: [aspnet/Docs] update for 2.1 : Account confirmation and password recovery in ASP.NET Core (#6632)
Should I unfollow?
You mean because of the volume of messages?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub<#6632 (comment)>, or mute the thread<https://github.com/notifications/unsubscribe-auth/AfZQsnxNQnidsK7xjdvVCCpk87YFPGHhks5t8C0KgaJpZM4UPOUm>.
|
No discussions in the repo issues are internal. Sometimes devs unsubscribe from notifications if there's a lot of talk on the issue or PR and they don't want to get the pings. |
I wish there was a better way to ask this questions without creating that amount of traffic :) |
@bcisnero We haven't traditionally retained the prior sample for tutorials. However, this one is authored by @Rick-Anderson, so he'll make the final call on keeping or dropping the current sample. |
Understood.
Thanks,
Ben.
El vie., 15 jun. 2018 a las 14:04, Luke Latham (<[email protected]>)
escribió:
… @bcisnero <https://github.com/bcisnero> We haven't traditionally retained
the prior sample for tutorials. However, this one is authored by
@Rick-Anderson <https://github.com/Rick-Anderson>, so he'll make the
final call on keeping or dropping the current sample.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#6632 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AMJdhiBsaHW2zvhL7qbG3_qOjZEfMFpQks5t9AVMgaJpZM4UPOUm>
.
|
Fixed in #7614 |
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: