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.

IIdentityService.cs 767B

1234567891011121314151617181920212223
  1. using GrpcShared.DTO;
  2. using GrpcShared.DTO.Db;
  3. using ProtoBuf.Grpc.Configuration;
  4. using System;
  5. using System.Collections.Generic;
  6. using System.Linq;
  7. using System.Text;
  8. using System.Threading.Tasks;
  9. namespace GrpcShared.Interfaces
  10. {
  11. [Service]
  12. public interface IIdentityService
  13. {
  14. Task<UserResponse> GetTokenByIdAsync(DbRequestMessage id);
  15. Task<List<UserResponse>> ListUsersAsync(VoidMessage msg);
  16. Task<TrackResponse> GetTrackByUserAsync(DbRequestMessage id);
  17. Task<VoidMessage> SaveTrackAsync(SaveTrackRequest track);
  18. Task<VoidMessage> DeleteTrackAsync(DbRequestMessage id);
  19. Task<VoidMessage> SaveUserAsync(UserResponse user);
  20. Task<VoidMessage> DeleteUserAsync(DbRequestMessage user);
  21. }
  22. }