Daily Shaarli

All links of one day in a single page.

June 23, 2022

Adding appsettings.json to .NET Core Console App – bitScry

UPDATE: It appears that there’s now a “Worker Service” template available (thanks Hobby Developer) which scaffolds Dependency Injection, configuration and logging for you. If you wnat a long running service then that’s probably the best option but if you want an intermitantly triggered executable that does a defined task and then closes my solution is still probably preferable.