You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Create a new ASP.NET Core 3.1 app with individual authentication.
Scaffold Login and Register pages.
The resend email link in the login page redirects to https://localhost:5001/?page=%2FAccount%2FResendEmailConfirmation, and it just opens the home page.
Scaffold the ResendEmailConfirmation.
The link now is correct and redirects to https://localhost:44337/Identity/Account/ResendEmailConfirmation which generates an error because of extra abstract keyword InvalidOperationException: Can't compile a NewExpression with a constructor declared on an abstract class. (This was already solved before, but the fix seems to be not shipped with .NET Core 3.1).
To summarize, there are 2 problems:
Wrong link before scaffolding ResendEmailConfirmation
Correct link after scaffolding ResendEmailConfirmation but with the extra abstract keyword (which is fixed but not shipped with .NET Core 3.1).
The main problem for me is the first, I don't want to override anything in ResendEmailConfirmation, but I've to scaffold it.
I'm not sure if the two problems are related to each others or not.
The text was updated successfully, but these errors were encountered:
@HaoK, The 3.1 branch in Scaffolding repo contains the ResendEmailConfirmation file, should it be removed, and also remove the link for it in login page?
I opened dotnet/Scaffolding#1375 a days ago to remove the abstract keyword from Scaffolding repo, but as far as I understood from you now, the change in that PR is incorrect, and the file should completely be deleted, is that correct?
https://localhost:5001/?page=%2FAccount%2FResendEmailConfirmation
, and it just opens the home page.https://localhost:44337/Identity/Account/ResendEmailConfirmation
which generates an error because of extraabstract
keywordInvalidOperationException: Can't compile a NewExpression with a constructor declared on an abstract class
. (This was already solved before, but the fix seems to be not shipped with .NET Core 3.1).To summarize, there are 2 problems:
ResendEmailConfirmation
ResendEmailConfirmation
but with the extra abstract keyword (which is fixed but not shipped with .NET Core 3.1).The main problem for me is the first, I don't want to override anything in
ResendEmailConfirmation
, but I've to scaffold it.I'm not sure if the two problems are related to each others or not.
The text was updated successfully, but these errors were encountered: