App.razor 500 B

12345678910111213
  1. <CascadingAuthenticationState>
  2. <Router AppAssembly="@typeof(Program).Assembly" PreferExactMatches="@true">
  3. <Found Context="routeData">
  4. <AuthorizeRouteView RouteData="@routeData" DefaultLayout="@typeof(MainLayout)" />
  5. </Found>
  6. <NotFound>
  7. <LayoutView Layout="@typeof(MainLayout)">
  8. <p>Sorry, there's nothing at this address.</p>
  9. </LayoutView>
  10. </NotFound>
  11. </Router>
  12. </CascadingAuthenticationState>