18 references to RedirectToPage
Identity.ExternalClaims (1)
Pages\Account\Login.cshtml.cs (1)
84return RedirectToPage("./LoginWith2fa", new { ReturnUrl = returnUrl, RememberMe = Input.RememberMe });
IdentitySample.DefaultUI (1)
Areas\Identity\Pages\Account\Register.cshtml.cs (1)
106return RedirectToPage("RegisterConfirmation", new { email = Input.Email });
Microsoft.AspNetCore.Identity.UI (12)
Areas\Identity\Pages\V4\Account\ExternalLogin.cshtml.cs (4)
131return RedirectToPage("./Login", new { ReturnUrl = returnUrl }); 137return RedirectToPage("./Login", new { ReturnUrl = returnUrl }); 178return RedirectToPage("./Login", new { ReturnUrl = returnUrl }); 213return RedirectToPage("./RegisterConfirmation", new { Email = Input.Email });
Areas\Identity\Pages\V4\Account\Login.cshtml.cs (1)
138return RedirectToPage("./LoginWith2fa", new { ReturnUrl = returnUrl, RememberMe = Input.RememberMe });
Areas\Identity\Pages\V4\Account\Register.cshtml.cs (1)
152return RedirectToPage("RegisterConfirmation", new { email = Input.Email, returnUrl = returnUrl });
Areas\Identity\Pages\V5\Account\ExternalLogin.cshtml.cs (4)
131return RedirectToPage("./Login", new { ReturnUrl = returnUrl }); 137return RedirectToPage("./Login", new { ReturnUrl = returnUrl }); 178return RedirectToPage("./Login", new { ReturnUrl = returnUrl }); 213return RedirectToPage("./RegisterConfirmation", new { Email = Input.Email });
Areas\Identity\Pages\V5\Account\Login.cshtml.cs (1)
138return RedirectToPage("./LoginWith2fa", new { ReturnUrl = returnUrl, RememberMe = Input.RememberMe });
Areas\Identity\Pages\V5\Account\Register.cshtml.cs (1)
152return RedirectToPage("RegisterConfirmation", new { email = Input.Email, returnUrl = returnUrl });
Microsoft.AspNetCore.Mvc.RazorPages (2)
PageModel.cs (2)
1266=> RedirectToPage(pageName: null, routeValues: routeValues); 1274=> RedirectToPage(pageName, routeValues: null);
Microsoft.AspNetCore.Mvc.RazorPages.Test (1)
PageModelTest.cs (1)
1036var result = pageModel.RedirectToPage(pageName, routeValues);
RazorPagesWebSite (1)
Pages\Redirects\RedirectFromModel.cs (1)
11public IActionResult OnGet() => RedirectToPage("/Pages/Redirects/Redirect", new { id = 12 });