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.
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

Program.cs 649B

1234567891011121314151617
  1. using gRPCServer.Services;
  2. var builder = WebApplication.CreateBuilder(args);
  3. // Additional configuration is required to successfully run gRPC on macOS.
  4. // For instructions on how to configure Kestrel and gRPC clients on macOS, visit https://go.microsoft.com/fwlink/?linkid=2099682
  5. // Add services to the container.
  6. builder.Services.AddGrpc();
  7. var app = builder.Build();
  8. // Configure the HTTP request pipeline.
  9. app.MapGrpcService<GreeterService>();
  10. app.MapGet("/", () => "Communication with gRPC endpoints must be made through a gRPC client. To learn how to create a client, visit: https://go.microsoft.com/fwlink/?linkid=2086909");
  11. app.Run();