ASP.NET Core Pitfalls - Redirect to Action Keeps Route Parameters

added by DotNetKicks
2/7/2018 3:00:02 PM

1 Kicks, 126 Views

When you redirect after a POST - following the famous Post-Redirect-Get pattern - but your previous view was constructed using a route parameter, then it will be sent to the redirect action as well.