61 references to NotFound
IdentitySample.DefaultUI (2)
Areas\Identity\Pages\Account\Manage\Index.cshtml.cs (2)
55return NotFound($"Unable to load user with ID '{_userManager.GetUserId(User)}'."); 79return NotFound($"Unable to load user with ID '{_userManager.GetUserId(User)}'.");
Microsoft.AspNetCore.Identity.UI (58)
Areas\Identity\Pages\V4\Account\ConfirmEmail.cshtml.cs (1)
53return NotFound($"Unable to load user with ID '{userId}'.");
Areas\Identity\Pages\V4\Account\ConfirmEmailChange.cshtml.cs (1)
55return NotFound($"Unable to load user with ID '{userId}'.");
Areas\Identity\Pages\V4\Account\Manage\ChangePassword.cshtml.cs (2)
101return NotFound($"Unable to load user with ID '{_userManager.GetUserId(User)}'."); 123return NotFound($"Unable to load user with ID '{_userManager.GetUserId(User)}'.");
Areas\Identity\Pages\V4\Account\Manage\DeletePersonalData.cshtml.cs (2)
80return NotFound($"Unable to load user with ID '{_userManager.GetUserId(User)}'."); 92return NotFound($"Unable to load user with ID '{_userManager.GetUserId(User)}'.");
Areas\Identity\Pages\V4\Account\Manage\Disable2fa.cshtml.cs (2)
55return NotFound($"Unable to load user with ID '{_userManager.GetUserId(User)}'."); 71return NotFound($"Unable to load user with ID '{_userManager.GetUserId(User)}'.");
Areas\Identity\Pages\V4\Account\Manage\DownloadPersonalData.cshtml.cs (1)
55return NotFound($"Unable to load user with ID '{_userManager.GetUserId(User)}'.");
Areas\Identity\Pages\V4\Account\Manage\Email.cshtml.cs (3)
115return NotFound($"Unable to load user with ID '{_userManager.GetUserId(User)}'."); 127return NotFound($"Unable to load user with ID '{_userManager.GetUserId(User)}'."); 162return NotFound($"Unable to load user with ID '{_userManager.GetUserId(User)}'.");
Areas\Identity\Pages\V4\Account\Manage\EnableAuthenticator.cshtml.cs (2)
108return NotFound($"Unable to load user with ID '{_userManager.GetUserId(User)}'."); 121return NotFound($"Unable to load user with ID '{_userManager.GetUserId(User)}'.");
Areas\Identity\Pages\V4\Account\Manage\ExternalLogins.cshtml.cs (3)
89return NotFound($"Unable to load user with ID '{_userManager.GetUserId(User)}'."); 112return NotFound($"Unable to load user with ID '{_userManager.GetUserId(User)}'."); 143return NotFound($"Unable to load user with ID '{_userManager.GetUserId(User)}'.");
Areas\Identity\Pages\V4\Account\Manage\GenerateRecoveryCodes.cshtml.cs (2)
63return NotFound($"Unable to load user with ID '{_userManager.GetUserId(User)}'."); 80return NotFound($"Unable to load user with ID '{_userManager.GetUserId(User)}'.");
Areas\Identity\Pages\V4\Account\Manage\Index.cshtml.cs (2)
96return NotFound($"Unable to load user with ID '{_userManager.GetUserId(User)}'."); 108return NotFound($"Unable to load user with ID '{_userManager.GetUserId(User)}'.");
Areas\Identity\Pages\V4\Account\Manage\PersonalData.cshtml.cs (1)
42return NotFound($"Unable to load user with ID '{_userManager.GetUserId(User)}'.");
Areas\Identity\Pages\V4\Account\Manage\ResetAuthenticator.cshtml.cs (2)
58return NotFound($"Unable to load user with ID '{_userManager.GetUserId(User)}'."); 69return NotFound($"Unable to load user with ID '{_userManager.GetUserId(User)}'.");
Areas\Identity\Pages\V4\Account\Manage\SetPassword.cshtml.cs (2)
88return NotFound($"Unable to load user with ID '{_userManager.GetUserId(User)}'."); 111return NotFound($"Unable to load user with ID '{_userManager.GetUserId(User)}'.");
Areas\Identity\Pages\V4\Account\Manage\TwoFactorAuthentication.cshtml.cs (2)
81return NotFound($"Unable to load user with ID '{_userManager.GetUserId(User)}'."); 97return NotFound($"Unable to load user with ID '{_userManager.GetUserId(User)}'.");
Areas\Identity\Pages\V4\Account\RegisterConfirmation.cshtml.cs (1)
67return NotFound($"Unable to load user with email '{email}'.");
Areas\Identity\Pages\V5\Account\ConfirmEmail.cshtml.cs (1)
53return NotFound($"Unable to load user with ID '{userId}'.");
Areas\Identity\Pages\V5\Account\ConfirmEmailChange.cshtml.cs (1)
55return NotFound($"Unable to load user with ID '{userId}'.");
Areas\Identity\Pages\V5\Account\Manage\ChangePassword.cshtml.cs (2)
101return NotFound($"Unable to load user with ID '{_userManager.GetUserId(User)}'."); 123return NotFound($"Unable to load user with ID '{_userManager.GetUserId(User)}'.");
Areas\Identity\Pages\V5\Account\Manage\DeletePersonalData.cshtml.cs (2)
80return NotFound($"Unable to load user with ID '{_userManager.GetUserId(User)}'."); 92return NotFound($"Unable to load user with ID '{_userManager.GetUserId(User)}'.");
Areas\Identity\Pages\V5\Account\Manage\Disable2fa.cshtml.cs (2)
55return NotFound($"Unable to load user with ID '{_userManager.GetUserId(User)}'."); 71return NotFound($"Unable to load user with ID '{_userManager.GetUserId(User)}'.");
Areas\Identity\Pages\V5\Account\Manage\DownloadPersonalData.cshtml.cs (1)
55return NotFound($"Unable to load user with ID '{_userManager.GetUserId(User)}'.");
Areas\Identity\Pages\V5\Account\Manage\Email.cshtml.cs (3)
115return NotFound($"Unable to load user with ID '{_userManager.GetUserId(User)}'."); 127return NotFound($"Unable to load user with ID '{_userManager.GetUserId(User)}'."); 162return NotFound($"Unable to load user with ID '{_userManager.GetUserId(User)}'.");
Areas\Identity\Pages\V5\Account\Manage\EnableAuthenticator.cshtml.cs (2)
108return NotFound($"Unable to load user with ID '{_userManager.GetUserId(User)}'."); 121return NotFound($"Unable to load user with ID '{_userManager.GetUserId(User)}'.");
Areas\Identity\Pages\V5\Account\Manage\ExternalLogins.cshtml.cs (3)
89return NotFound($"Unable to load user with ID '{_userManager.GetUserId(User)}'."); 112return NotFound($"Unable to load user with ID '{_userManager.GetUserId(User)}'."); 143return NotFound($"Unable to load user with ID '{_userManager.GetUserId(User)}'.");
Areas\Identity\Pages\V5\Account\Manage\GenerateRecoveryCodes.cshtml.cs (2)
63return NotFound($"Unable to load user with ID '{_userManager.GetUserId(User)}'."); 80return NotFound($"Unable to load user with ID '{_userManager.GetUserId(User)}'.");
Areas\Identity\Pages\V5\Account\Manage\Index.cshtml.cs (2)
96return NotFound($"Unable to load user with ID '{_userManager.GetUserId(User)}'."); 108return NotFound($"Unable to load user with ID '{_userManager.GetUserId(User)}'.");
Areas\Identity\Pages\V5\Account\Manage\PersonalData.cshtml.cs (1)
42return NotFound($"Unable to load user with ID '{_userManager.GetUserId(User)}'.");
Areas\Identity\Pages\V5\Account\Manage\ResetAuthenticator.cshtml.cs (2)
58return NotFound($"Unable to load user with ID '{_userManager.GetUserId(User)}'."); 69return NotFound($"Unable to load user with ID '{_userManager.GetUserId(User)}'.");
Areas\Identity\Pages\V5\Account\Manage\SetPassword.cshtml.cs (2)
88return NotFound($"Unable to load user with ID '{_userManager.GetUserId(User)}'."); 111return NotFound($"Unable to load user with ID '{_userManager.GetUserId(User)}'.");
Areas\Identity\Pages\V5\Account\Manage\TwoFactorAuthentication.cshtml.cs (2)
81return NotFound($"Unable to load user with ID '{_userManager.GetUserId(User)}'."); 97return NotFound($"Unable to load user with ID '{_userManager.GetUserId(User)}'.");
Areas\Identity\Pages\V5\Account\RegisterConfirmation.cshtml.cs (1)
67return NotFound($"Unable to load user with email '{email}'.");
Microsoft.AspNetCore.Mvc.RazorPages.Test (1)
PageModelTest.cs (1)
1556var result = pageModel.NotFound("Test Content");