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.

StatusCodeMessage.cs 817B

12345678910111213141516171819202122232425
  1. using ProtoBuf;
  2. using System.Net;
  3. using System.Text;
  4. using System.Threading.Tasks;
  5. namespace GrpcShared.DTO
  6. {
  7. [ProtoContract]
  8. [ProtoInclude(5, typeof(Search.SearchResponse))]
  9. [ProtoInclude(6, typeof(TopItem.TopItemResponse))]
  10. [ProtoInclude(7, typeof(Track.MultipleTrack.MultipleTrackResponse))]
  11. [ProtoInclude(8, typeof(Track.SingleTrack.SingleTrackResponse))]
  12. [ProtoInclude(9, typeof(TrackByID.TrackResponse))]
  13. [ProtoInclude(10, typeof(User.UserInfoResponse))]
  14. [ProtoInclude(11, typeof(Track.CurrentTrackResponse))]
  15. [ProtoInclude(12, typeof(Auth.RefreshTokenResponse))]
  16. public class StatusCodeMessage
  17. {
  18. [ProtoMember(1)]
  19. public HttpStatusCode ResponseMsg { get; set; }
  20. [ProtoMember(2)]
  21. public bool IsSaved { get; set; } = false;
  22. }
  23. }