Blazor Identity Pages
Hi!
I add manually the Identity by scafolding. Im trying to get to some pages such as Login or Register, but always get a 404 not found.
The same is happening to SignIn.razor (default structure of the blazor project)
It seems a configuration is
Replies (2)
Deleted comment
Hi friend! Thanks for answering.
What i was missing is the @page "/register" on page. Looks like solve!
Thanks!
- Check the Router in App.razor Make sure you have configured the router correctly in the App.razor file. This file typically contains the Router component for routing pages in the Blazor application. Make sure your App.razor looks like this: razor Copy the code <Router AppAssembly="@typeof(Program).Assembly"> <Found Context="routeData"> <RouteView RouteData="routeData" DefaultLayout="@typeof(MainLayout)" /> <FocusOnNavigate RouteData="routeData" Selector="h1" /> </Found> <NotFound> <LayoutView Layout="@typeof(MainLayout)">
Deleted comment