Skip to content

rjcarneiro/Carneiro.Host

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Carneiro Host

GitHub Nuget Nuget

Lightweight library to handle background services for dotnet core host projects.

Nuget Package

You can download this package directly from Nuget.org.

How to use

var options = Options.Create<GenericHandlerSettings>(new GenericHandlerSettings
{
    Timeout = new GenericHandlerTimeoutSettings
    { 
        Min = 5,
        Max = 30
    }
});

Settings on your config

On your appsettings.json, set your config:

"GenericBackgroundService": {
    "Timeout" : {
        "Min": 10,
        "Max": 30
    }
}

Changelogs

[3.0.0] - 2019-09-28

  • Migrate to dotnet core 3.0.0;

[1.0.1] - 2019-01-17

  • First release;

Team

Ricardo Carneiro