static void Main(string[] args) { IExternalTaskClient externalTaskClient = ExternalTaskClientBuilder.Create() .WorkerId("DOT-NET-WORKER").Build(); externalTaskClient.Startup(); Console.ReadLine(); externalTaskClient.Shutdown(); }
static void Main(string[] args) { IExternalTaskClient externalTaskClient = ExternalTaskClientBuilder.Create() .BaseUrl("http://localhost:8080/engine-rest") .WorkerId("MicroserviceTrainingExample") .Build(); externalTaskClient.Startup(); Console.ReadLine(); externalTaskClient.Shutdown(); }