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文字以内のものにしてください。

IStatsService.cs 480B

12345678910111213141516171819
  1. using GrpcShared.DTO;
  2. using GrpcShared.DTO.TopItem;
  3. using GrpcShared.DTO.Track;
  4. using ProtoBuf.Grpc.Configuration;
  5. using System;
  6. using System.Collections.Generic;
  7. using System.Linq;
  8. using System.Text;
  9. using System.Threading.Tasks;
  10. namespace GrpcShared.Interfaces
  11. {
  12. [Service]
  13. public interface IStatsService
  14. {
  15. Task<CurrentTrackResponse> GetCurrentlyPlayingTrack(TokenMessage token);
  16. Task<TopItemResponse> GetTopItems(TopItemRequest request);
  17. }
  18. }