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.

TokenMessage.cs 820B

1234567891011121314151617181920212223242526272829
  1. using GrpcShared.DTO.Search;
  2. using GrpcShared.DTO.TopItem;
  3. using GrpcShared.DTO.Track.MultipleTrack;
  4. using GrpcShared.DTO.Track.SaveTracks;
  5. using GrpcShared.DTO.Track.SingleTrack;
  6. using GrpcShared.DTO.TrackByID;
  7. using ProtoBuf;
  8. using System;
  9. using System.Collections.Generic;
  10. using System.Linq;
  11. using System.Text;
  12. using System.Threading.Tasks;
  13. namespace GrpcShared.DTO
  14. {
  15. [ProtoInclude(5, typeof(TopItemRequest))]
  16. [ProtoInclude(6, typeof(SingleTrackRequest))]
  17. [ProtoInclude(7, typeof(SearchRequest))]
  18. [ProtoInclude(8,typeof(MultipleTrackRequest))]
  19. [ProtoInclude(9,typeof(SaveTracksRequest))]
  20. [ProtoInclude(10,typeof(TrackRequest))]
  21. [ProtoContract(SkipConstructor = true)]
  22. public class TokenMessage
  23. {
  24. [ProtoMember(1)]
  25. public string? Token { get; set; }
  26. }
  27. }