I creating a .NET Core Worker Service app and need to get the Command-Line arguments passed into the app. I can see the arguments while debugging via the IConfiguration configuration > Providers > CommandLineConfigurationProvider, but don't know how to code it to get the arguments.
Any help is appreciated.