Persistence

Several NServiceBus features require data to be persisted to storage.

Features that require persistence

Available persistences

Learning persistence

The Learning Persistence simulates saga persistence infrastructure by storing data in the local file system. All files and directories are relative to the current project directory.

In-Memory persistence

A volatile RAM-based storage intended for development purposes only. In-memory persistence can also be used where the storage is not required to persist between process restarts.

SQL persistence

Uses Json.NET to serialize data and store in a SQL database, such as SQL Server or MySQL.

Azure Storage persistence

Persists data to Azure Table storage.

RavenDB persistence

Uses the RavenDB document database for storage.

Service Fabric

A persister built on Azure Service Fabric Reliable Collections.

NHibernate persistence

Uses NHibernate to persist data to an ADO.NET data store, such as SQL Server.

MSMQ

A subscription-only storage build on MSMQ.

Community-maintained persistences

There are several community-maintained persistences that can be seen in the full list of extensions.

Related Articles


Last modified