Pulse.Mqtt.Storage.LiteDB 2.29.0

dotnet add package Pulse.Mqtt.Storage.LiteDB --version 2.29.0
                    
NuGet\Install-Package Pulse.Mqtt.Storage.LiteDB -Version 2.29.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="Pulse.Mqtt.Storage.LiteDB" Version="2.29.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Pulse.Mqtt.Storage.LiteDB" Version="2.29.0" />
                    
Directory.Packages.props
<PackageReference Include="Pulse.Mqtt.Storage.LiteDB" />
                    
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 Pulse.Mqtt.Storage.LiteDB --version 2.29.0
                    
#r "nuget: Pulse.Mqtt.Storage.LiteDB, 2.29.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.
#:package Pulse.Mqtt.Storage.LiteDB@2.29.0
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Pulse.Mqtt.Storage.LiteDB&version=2.29.0
                    
Install as a Cake Addin
#tool nuget:?package=Pulse.Mqtt.Storage.LiteDB&version=2.29.0
                    
Install as a Cake Tool

Pulse.Mqtt.Storage.LiteDB

Durable session and offline-message stores backed by LiteDB. Use it when subscriptions, in-flight QoS state, and queued outbound publishes must survive process restarts.

Install

dotnet add package Pulse.Mqtt.Storage.LiteDB

Configure with dependency injection

builder.Services
    .AddPulseMqttClient("telemetry", configure)
    .UseSessionStore(_ => new LiteDbSessionStore("telemetry-session.db"))
    .UseMessageStore(_ => new LiteDbMessageStore(
        "telemetry-queue.db",
        new OfflineQueueOptions
        {
            Capacity = 10_000,
            Overflow = OverflowPolicy.Block,
            IncludeQos0 = false,
        }));

Configure directly

var options = new ResilientMqttClientOptions
{
    Connect = new MqttConnectPacket
    {
        ClientId = "telemetry-worker",
        CleanStart = false,
        SessionExpiryInterval = 300,
    },
    SessionStore = new LiteDbSessionStore("telemetry-session.db"),
    MessageStore = new LiteDbMessageStore(
        "telemetry-queue.db",
        new OfflineQueueOptions { Capacity = 10_000 }),
};

Plain file paths and LiteDB connection strings are accepted. Store instances are disposable when not owned by the service provider or client lifetime.

Full docs: https://araxis.github.io/pulse-mqtt/packages/storage-litedb

Product Compatible and additional computed target framework versions.
.NET 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 is compatible.  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

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
2.29.0 126 7/9/2026
2.29.0-preview.219 66 7/9/2026
2.29.0-preview.218 61 7/9/2026
2.29.0-preview.217 58 7/6/2026
2.28.0 109 7/6/2026
2.28.0-preview.215 59 7/6/2026
2.28.0-preview.214 64 7/6/2026
2.28.0-preview.213 64 7/6/2026
2.28.0-preview.212 71 7/6/2026
2.28.0-preview.211 59 7/4/2026
2.28.0-preview.210 65 7/4/2026
2.28.0-preview.209 58 7/4/2026
2.28.0-preview.208 69 7/4/2026
2.27.0 117 7/4/2026
2.27.0-preview.206 58 7/4/2026
2.27.0-preview.205 61 7/4/2026
2.27.0-preview.204 79 7/3/2026
2.27.0-preview.203 58 7/3/2026
2.27.0-preview.202 68 7/3/2026
2.27.0-preview.201 61 7/3/2026
Loading failed