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.

Program.cs 317B

1234567891011121314151617
  1. using Grpc.Net.Client;
  2. using Grpc.Net.Client.Web;
  3. using GrpcShared.Interfaces;
  4. using SpotifyService.Services;
  5. using SpotifyWorker;
  6. IHost host = Host.CreateDefaultBuilder(args)
  7. .ConfigureServices(services =>
  8. {
  9. services.AddHostedService<Worker>();
  10. })
  11. .Build();
  12. await host.RunAsync();