Akka.Persistence.Sql.Hosting 1.5.2-beta1

Prefix Reserved
This is a prerelease version of Akka.Persistence.Sql.Hosting.
There is a newer version of this package available.
See the version list below for details.
dotnet add package Akka.Persistence.Sql.Hosting --version 1.5.2-beta1
                    
NuGet\Install-Package Akka.Persistence.Sql.Hosting -Version 1.5.2-beta1
                    
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="Akka.Persistence.Sql.Hosting" Version="1.5.2-beta1" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Akka.Persistence.Sql.Hosting" Version="1.5.2-beta1" />
                    
Directory.Packages.props
<PackageReference Include="Akka.Persistence.Sql.Hosting" />
                    
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 Akka.Persistence.Sql.Hosting --version 1.5.2-beta1
                    
#r "nuget: Akka.Persistence.Sql.Hosting, 1.5.2-beta1"
                    
#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=Akka.Persistence.Sql.Hosting&version=1.5.2-beta1&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=Akka.Persistence.Sql.Hosting&version=1.5.2-beta1&prerelease
                    
Install as a Cake Tool

Package Description

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  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 was computed.  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. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos 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 (1)

Showing the top 1 popular GitHub repositories that depend on Akka.Persistence.Sql.Hosting:

Repository Stars
petabridge/akkadotnet-code-samples
Akka.NET professional reference code samples
Version Downloads Last Updated
1.5.44 1,274 6/23/2025
1.5.42 2,846 5/22/2025
1.5.40.1 3,458 4/7/2025
1.5.40 10,278 3/26/2025
1.5.38.1 2,336 3/11/2025
1.5.38 3,996 2/18/2025
1.5.37 14,940 1/23/2025
1.5.35 996 1/20/2025
1.5.30 14,620 10/4/2024
1.5.28 1,738 9/9/2024
1.5.27.1 5,541 8/1/2024
1.5.27 119 7/30/2024
1.5.26 335 7/9/2024
1.5.25 1,984 6/17/2024
1.5.24 350 6/13/2024
1.5.20 3,057 5/10/2024
1.5.13 14,956 9/27/2023
1.5.12 2,004 8/8/2023
1.5.12-beta1 249 8/4/2023
1.5.9-beta1 165 7/20/2023
1.5.4-beta1 1,711 4/26/2023
1.5.2-beta3 258 4/19/2023
1.5.2-beta2 182 4/14/2023
1.5.2-beta1 153 4/11/2023

> **NOTE: This beta release is intended for greenfield projects only.**
>
> Until backward compatibility is properly tested and documented, it is recommended to use this plugin only on new greenfield projects that does not rely on existing persisted data.
Akka.Persistence.Sql is a successor of Akka.Persistence.Linq2Db. It is being retooled to provide a better inter-compatibility with other SQL based Akka.Persistence plugin family.
Currently supported database family:
Microsoft SQL Server
MS SQLite
System.Data.SQLite
PostgreSQL using binary payload
Akka.Hosting Extension Setup**
Assuming a MS SQL Server 2019 setup:
```csharp
var host = new HostBuilder()
.ConfigureServices((context, services) => {
services.AddAkka("my-system-name", (builder, provider) =>
{
builder.WithSqlPersistence(
connectionString: _myConnectionString,
providerName: ProviderName.SqlServer2019)
});
})
```
ProviderName is a string constant defining the database type to connect to, valid values are defined inside `LinqToDB.ProviderName` static class. Refer to the Members of [`LinqToDb.ProviderName`](https://linq2db.github.io/api/LinqToDB.ProviderName.html) for included providers.
HOCON Configuration Setup**
```hocon
akka.persistence {
journal {
plugin = "akka.persistence.journal.sql"
sql {
connection-string = "{database-connection-string}"
provider-name = "{provider-name}"
}
}
snapshot-store {
plugin = "akka.persistence.snapshot-store.sql"
sql {
connection-string = "{database-connection-string}"
provider-name = "{provider-name}"
}
}
}
```
database-connection-string**: The proper connection string to your database of choice.
provider-name**: A string constant defining the database type to connect to, valid values are defined inside `LinqToDB.ProviderName` static class. Refer to the Members of [`LinqToDb.ProviderName`](https://linq2db.github.io/api/LinqToDB.ProviderName.html) for included providers.