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?

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.


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

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


© 2023 - ErnesTech LLC- Privacy