Nova.Sessions.Data.Sql 10.3.0

dotnet add package Nova.Sessions.Data.Sql --version 10.3.0
                    
NuGet\Install-Package Nova.Sessions.Data.Sql -Version 10.3.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="Nova.Sessions.Data.Sql" Version="10.3.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Nova.Sessions.Data.Sql" Version="10.3.0" />
                    
Directory.Packages.props
<PackageReference Include="Nova.Sessions.Data.Sql" />
                    
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 Nova.Sessions.Data.Sql --version 10.3.0
                    
#r "nuget: Nova.Sessions.Data.Sql, 10.3.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 Nova.Sessions.Data.Sql@10.3.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=Nova.Sessions.Data.Sql&version=10.3.0
                    
Install as a Cake Addin
#tool nuget:?package=Nova.Sessions.Data.Sql&version=10.3.0
                    
Install as a Cake Tool

Nova.Sessions.Data.Sql

Entity Framework Core and SQL Server persistence for Nova session management.

Version 10.3.0

  • Persists Session.Sid in the existing Sessions.Jti SQL column.
  • Requires no database schema migration or column rename.
  • New session rows now store the token's stable sid value in that legacy column.
  • During rollout, invalidate or clear active rows written by older releases; those rows contain per-token jti values and otherwise can incorrectly consume the concurrent-session allowance.

Version 10.2.0

  • Implemented transaction-scoped distributed locks with SQL Server sys.sp_getapplock.
  • Lock ownership follows the session-creation transaction, so commit or rollback releases the lock automatically.
  • Added a bounded lock wait and explicit failure when SQL Server cannot acquire the requested lock.
  • Enables consistent session-count checks and session creation across multiple application servers that share the same session database.
  • Reports lock acquisition failure through SessionDependencyUnavailableException, allowing the ASP.NET Core middleware to return a retryable 503 response.

Version 10.2.0 implements the breaking persistence contract introduced by Nova.Sessions.Abstractions 10.2.0 and must be upgraded with it.

Migration from 10.1.x

  • Upgrade Nova.Sessions.Abstractions, Nova.Sessions.Data.Sql, and Nova.Sessions.AspNetCore together to 10.2.0.
  • Custom ISessionsUoW implementations must implement AcquireTransactionLockAsync with transaction-scoped ownership and bounded waiting.
  • Ensure the SQL login used by the application can execute sys.sp_getapplock in the session database.
Product Compatible and additional computed target framework versions.
.NET 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 (1)

Showing the top 1 NuGet packages that depend on Nova.Sessions.Data.Sql:

Package Downloads
Nova.Sessions.AspNetCore

Nova session activation, validation, concurrency control, and security integration for ASP.NET Core applications.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
10.3.0 160 10/21/2026
10.2.0 145 10/9/2026
10.1.0 164 9/23/2026
10.0.2 169 9/13/2026
2.0.3 198 7/14/2026
2.0.1 185 7/5/2026
2.0.0 163 7/5/2026

10.3.0: Uses Session.Sid for stable session correlation while mapping it to the existing Sessions.Jti database column, requiring no database column rename.