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.
Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

App.razor 723B

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