diff --git a/README.md b/README.md index be0b88c..b0265b5 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,7 @@ Each task is a separate `Task`, which sleeps in background for a while, wakes up Ideal, when you don't need to run many/heavy tasks and don't want to use "big" solutions with persistence and other bells and whistles. -Written for **ASP.NET Core 2.1** (support for ASP.NET 5 and ASP.NET Core 1.0 and 2.0 is dropped since v6, use [v5.0.0 release](https://github.com/justdmitry/RecurrentTasks/releases/tag/v5.0.0) if you need support for old frameworks). +Written for **NET Core** (support for ASP.NET 5 and ASP.NET Core 1.0 and 2.0 is dropped since v6, use [v5.0.0 release](https://github.com/justdmitry/RecurrentTasks/releases/tag/v5.0.0) if you need support for old frameworks). [![Build status](https://ci.appveyor.com/api/projects/status/uucaowlbcxybi4v6/branch/master?svg=true)](https://ci.appveyor.com/project/justdmitry/recurrenttasks/branch/master) [![NuGet](https://img.shields.io/nuget/v/RecurrentTasks.svg?maxAge=86400&style=flat)](https://www.nuget.org/packages/RecurrentTasks/) @@ -14,8 +14,9 @@ Written for **ASP.NET Core 2.1** (support for ASP.NET 5 and ASP.NET Core 1.0 and ## Main features +* TargetFrameworks: `netstandard2.0` and `netcoreapp3.1` * Start and Stop your task at any time; -* [`IHostedService`](https://docs.microsoft.com/en-us/dotnet/standard/microservices-architecture/multi-container-microservice-net-applications/background-tasks-with-ihostedservice) implemented for ASP.Net Core 2.1 app lifetime support +* [`IHostedService`](https://docs.microsoft.com/en-us/dotnet/standard/microservices-architecture/multi-container-microservice-net-applications/background-tasks-with-ihostedservice) implemented for NET Core 2.0 (and above) app lifetime support * CancelationToken may be used for Stopping; * First run (after Start) is delayed at random value (10-30 sec, customizable) to prevent app freeze during statup; * Run "immediately" (without waiting for next scheduled time); @@ -96,11 +97,9 @@ Use NuGet package [RecurrentTasks](https://www.nuget.org/packages/RecurrentTasks ### Dependencies -* Microsoft.AspNetCore.Http.Abstractions, v2.1.0 -* Microsoft.Extensions.DependencyInjection.Abstractions, v2.1.0 -* Microsoft.Extensions.Hosting.Abstractions, v2.1.0 -* Microsoft.Extensions.Logging.Abstractions, v2.1.0 -* Microsoft.Extensions.Options, v2.1.0 +* Microsoft.Extensions.DependencyInjection.Abstractions, v2.0.0 (for `netstandard2.0`) / v3.1.0 (for `netcoreapp3.1`) +* Microsoft.Extensions.Hosting.Abstractions, v2.0.0 / v3.1.0 +* Microsoft.Extensions.Logging.Abstractions, v2.0.0 / v3.1.0 ## Testing diff --git a/sample/RecurrentTasks.Sample/RecurrentTasks.Sample.csproj b/sample/RecurrentTasks.Sample/RecurrentTasks.Sample.csproj index 0dd7566..3e08ef9 100644 --- a/sample/RecurrentTasks.Sample/RecurrentTasks.Sample.csproj +++ b/sample/RecurrentTasks.Sample/RecurrentTasks.Sample.csproj @@ -1,6 +1,6 @@  - netcoreapp2.1;netcoreapp3.0 + netcoreapp2.1;netcoreapp3.1 true RecurrentTasks.Sample Exe diff --git a/src/RecurrentTasks/RecurrentTasks.csproj b/src/RecurrentTasks/RecurrentTasks.csproj index bba2b6d..c3ecfff 100644 --- a/src/RecurrentTasks/RecurrentTasks.csproj +++ b/src/RecurrentTasks/RecurrentTasks.csproj @@ -2,16 +2,16 @@ Dmitry Popov, 2016-2019 RecurrentTasks - netstandard2.0;netcoreapp3.0 + netstandard2.0;netcoreapp3.1 RecurrentTasks RecurrentTasks task;job;recurrent;recurring;aspnetcore - https://github.com/justdmitry/RecurrentTasks/releases/tag/v6.2.0 + https://github.com/justdmitry/RecurrentTasks/releases/tag/v6.3.0 https://github.com/justdmitry/RecurrentTasks git https://github.com/justdmitry/RecurrentTasks.git - 6.2.0 + 6.3.0 RecurrentTasks for .NET allows you to run simple recurrent background tasks with specific intervals, without complex frameworks, persistance, etc... just_dmitry @@ -29,13 +29,15 @@ - - + + + - - - + + + + diff --git a/test/RecurrentTasks.Tests/RecurrentTasks.Tests.csproj b/test/RecurrentTasks.Tests/RecurrentTasks.Tests.csproj index 1a4bf23..dda1961 100644 --- a/test/RecurrentTasks.Tests/RecurrentTasks.Tests.csproj +++ b/test/RecurrentTasks.Tests/RecurrentTasks.Tests.csproj @@ -1,6 +1,6 @@  - netcoreapp2.1;netcoreapp3.0 + netcoreapp2.1;netcoreapp3.1 RecurrentTasks.Tests RecurrentTasks.Tests true @@ -29,9 +29,9 @@ - - - + + +