0

There is a nice example, how to use System.Commanline with Host:

https://github.com/dotnet/command-line-api/tree/main/samples/HostingPlayground

I want to start more HostedServices to make some background tasks, but they alse need the command line arguments. How can they get it?

Aaaaaaaa
  • 2,015
  • 3
  • 22
  • 40

0 Answers0