You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Not sure if I did anything wrong or missed something. Tried to add app.UseStatusCodePagesWithRedirects("/error/{0}"); within Startup.cs under Configure, t gives me a Can't reach this page error. Error Code: INET_E_REDIRECT_FAILED.
Do I need to create a page e.g. 403.cshtml under /Error/ folder?
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.
ID: 0e03fdf4-b19b-17c3-04f4-336ab6d2ee06
Version Independent ID: 38515dfb-91a5-b395-db9d-084bbaf095c8
Thanks @sonichanxiao for mentioning this. Yes, that's correct. Create a view/page for the endpoint. I just so happen to have such a endpoint in a few of my test Razor Pages apps because they use ...
Not sure if I did anything wrong or missed something. Tried to add app.UseStatusCodePagesWithRedirects("/error/{0}"); within Startup.cs under Configure, t gives me a Can't reach this page error. Error Code: INET_E_REDIRECT_FAILED.
Do I need to create a page e.g. 403.cshtml under /Error/ folder?
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.
The text was updated successfully, but these errors were encountered: