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.
選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。

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>