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 638B

12345678910111213141516
  1. <CascadingAuthenticationState>
  2. <Router AppAssembly="@typeof(App).Assembly">
  3. <Found Context="routeData">
  4. <AuthorizeRouteView RouteData="@routeData" DefaultLayout="@typeof(MainLayout)" >
  5. <NotAuthorized>Sorry nisi autorizovan</NotAuthorized>
  6. </AuthorizeRouteView>
  7. <FocusOnNavigate RouteData="@routeData" Selector="h1" />
  8. </Found>
  9. <NotFound>
  10. <PageTitle>Not found</PageTitle>
  11. <LayoutView Layout="@typeof(MainLayout)">
  12. <p role="alert">Sorry, there's nothing at this address.</p>
  13. </LayoutView>
  14. </NotFound>
  15. </Router>
  16. </CascadingAuthenticationState>