Blazor & WASM in combination to get statistics from Spotify API for performing the song analysis. With separate microservices for auth, Spotify, user data tracking, and application, connected through gRPC with Polly.
Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.

App.razor 656B

1234567891011121314151617
  1. @using NemAnBlazor.Pages
  2. <Router AppAssembly="@typeof(App).Assembly">
  3. <Found Context="routeData">
  4. <AuthorizeRouteView RouteData="@routeData" DefaultLayout="@typeof(MainLayout)" >
  5. <Authorizing>
  6. <text>Please wait, we are authorizing the user.</text>
  7. </Authorizing>
  8. </AuthorizeRouteView>
  9. <FocusOnNavigate RouteData="@routeData" Selector="h1" />
  10. </Found>
  11. <NotFound>
  12. <PageTitle>Not found</PageTitle>
  13. <LayoutView Layout="@typeof(MainLayout)">
  14. <p role="alert">Sorry, there's nothing at this address.</p>
  15. </LayoutView>
  16. </NotFound>
  17. </Router>