redirect to page .net core code example
Example 1: RedirectToAction net core 3.1 with area
return RedirectToAction("action name", "controller name", new { area = "area name" });
Example 2: how to redirect to extern page in .net core
public ActionResult YourAction()
{
// ...
return Redirect("http://www.example.com");
}