using ClientManager; IHost host = Host.CreateDefaultBuilder(args) .ConfigureServices(services => { services.AddHostedService(); }) .Build(); host.Run();