.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
The page you are viewing does not exist in the .NET Standard 2.0+ platform documentation. This link will take you to the parent topic of the current section.
.NET Core 3.0+
The page you are viewing does not exist in the .NET Core 3.0+ platform documentation. This link will take you to the parent topic of the current section.

WebApplication.Redirect Method

Name Parameters Description
Redirect(String) static url Redirects a browser to the specified Uniform Resource Locator (URL).
Redirect(String, Boolean) static url, endResponse Redirects a browser to the specified Uniform Resource Locator (URL).
Redirect(String, Boolean, Boolean) static url, endResponse, useHttpLocationHeader Redirects a browser to the specified Uniform Resource Locator (URL).