DEV Community

Discussion on: Building A .NET Core 3 Scheduled Job Worker Service

Collapse
 
lumogox profile image
Luis Molina

Seams like something I can use in my next project!, nice work :)

Do you have any recommendations on how to implement this with logging with a database for .net core 3?

Collapse
 
jamesmh profile image
James Hickey

I think you can inject ILogger<T> into any class you want when using the built-in DI system.

For a database, you could use something like Dapper or integrate EF core into the library (this article might help)?