LocalPost 0.2.0

There is a newer version of this package available.
See the version list below for details.
dotnet add package LocalPost --version 0.2.0
                    
NuGet\Install-Package LocalPost -Version 0.2.0
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="LocalPost" Version="0.2.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="LocalPost" Version="0.2.0" />
                    
Directory.Packages.props
<PackageReference Include="LocalPost" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add LocalPost --version 0.2.0
                    
#r "nuget: LocalPost, 0.2.0"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#addin nuget:?package=LocalPost&version=0.2.0
                    
Install as a Cake Addin
#tool nuget:?package=LocalPost&version=0.2.0
                    
Install as a Cake Tool

LocalPost

NuGet package Code coverage

Simple .NET in-memory background queue (System.Threading.Channels based).

Background tasks

There are multiple ways to run background tasks in .NET. The most common are:

Usage

Installation

For the core library:

dotnet add package LocalPost

AWS SQS, Kafka and other integrations are provided as separate packages, like:

dotnet add package LocalPost.SqsConsumer
dotnet add package LocalPost.KafkaConsumer

.NET 8 asynchronous background services handling

Before version 8 .NET runtime handled start/stop of the services only synchronously, but now it is possible to enable concurrent handling of the services. This is done by setting HostOptions property ConcurrentServiceExecution to true:

See for details:

Similar projects

More complex jobs management / scheduling:

  • Hangfire — background job scheduler. Supports advanced scheduling, persistence and jobs distribution across multiple workers.

Service bus (for bigger solutions):

Inspiration

Product Compatible and additional computed target framework versions.
.NET net6.0 is compatible.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (3)

Showing the top 3 NuGet packages that depend on LocalPost:

Package Downloads
LocalPost.SqsConsumer

Local (in-process) background queue for sending to Amazon SNS.

LocalPost.SnsPublisher

Local (in-process) background queue for sending to Amazon SNS.

LocalPost.KafkaConsumer

Opinionated Kafka consumer library, build to be simple, but yet flexible.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
0.3.0 248 5/14/2025
0.2.0 180 3/12/2025
0.1.0 437 1/1/2023