Return url is required

Question: There is this annoying error in Asp.Net Core MVC that says Return Url is required. How do you solve for this error?


Please Login to see the rest of the answer

Answer: Add the asp-route-returnUrl="NameOfController" to the link that is taking you to the register Area Page. This should resolve your error.


Write an Article
If you log in, you will be notified when someone leaves a comment.

Other users would like to know if this solution helped you.


© 2022 - ErnesTech - Privacy