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 kannst nicht mehr als 25 Themen auswählen Themen müssen mit entweder einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.

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();