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.
Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

TrackResponse.cs 889B

123456789101112131415161718192021222324252627282930313233343536373839
  1. using GrpcShared.DTO.Track;
  2. using Newtonsoft.Json;
  3. using ProtoBuf;
  4. using System;
  5. using System.Collections.Generic;
  6. using System.Linq;
  7. using System.Text;
  8. using System.Threading.Tasks;
  9. namespace GrpcShared.DTO.TrackByID
  10. {
  11. [ProtoContract]
  12. public class TrackResponse
  13. {
  14. [ProtoMember(1)]
  15. [JsonProperty("album")]
  16. public Album Album { get; set; }
  17. [ProtoMember(2)]
  18. [JsonProperty("artists")]
  19. public Artist[] Artists { get; set; }
  20. [ProtoMember(3)]
  21. [JsonProperty("duration_ms")]
  22. public long DurationMs { get; set; }
  23. [ProtoMember(4)]
  24. [JsonProperty("href")]
  25. public Uri Href { get; set; }
  26. [ProtoMember(5)]
  27. [JsonProperty("id")]
  28. public string Id { get; set; }
  29. [ProtoMember(6)]
  30. [JsonProperty("name")]
  31. public string Name { get; set; }
  32. }
  33. }