Lightweight library to handle background services for dotnet core host projects.
You can download this package directly from Nuget.org.
var options = Options.Create<GenericHandlerSettings>(new GenericHandlerSettings
{
Timeout = new GenericHandlerTimeoutSettings
{
Min = 5,
Max = 30
}
});
On your appsettings.json, set your config:
"GenericBackgroundService": {
"Timeout" : {
"Min": 10,
"Max": 30
}
}
- Migrate to dotnet core
3.0.0
;
- First release;