1234567891011121314151617 |
- using Grpc.Net.Client;
- using Grpc.Net.Client.Web;
- using GrpcShared.Interfaces;
- using SpotifyService.Services;
- using SpotifyWorker;
-
-
- IHost host = Host.CreateDefaultBuilder(args)
- .ConfigureServices(services =>
- {
- services.AddHostedService<Worker>();
-
- })
- .Build();
-
-
- await host.RunAsync();
|