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
<PackageReference Include="Nova.Sessions.Data.Sql" Version="10.3.0" />
<PackageVersion Include="Nova.Sessions.Data.Sql" Version="10.3.0" />
<PackageReference Include="Nova.Sessions.Data.Sql" />
paket add Nova.Sessions.Data.Sql --version 10.3.0
#r "nuget: Nova.Sessions.Data.Sql, 10.3.0"
#:package Nova.Sessions.Data.Sql@10.3.0
#addin nuget:?package=Nova.Sessions.Data.Sql&version=10.3.0
#tool nuget:?package=Nova.Sessions.Data.Sql&version=10.3.0
Nova.Sessions.Data.Sql
Entity Framework Core and SQL Server persistence for Nova session management.
Version 10.3.0
- Persists
Session.Sidin the existingSessions.JtiSQL column. - Requires no database schema migration or column rename.
- New session rows now store the token's stable
sidvalue in that legacy column. - During rollout, invalidate or clear active rows written by older releases; those rows contain per-token
jtivalues 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 retryable503response.
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, andNova.Sessions.AspNetCoretogether to 10.2.0. - Custom
ISessionsUoWimplementations must implementAcquireTransactionLockAsyncwith transaction-scoped ownership and bounded waiting. - Ensure the SQL login used by the application can execute
sys.sp_getapplockin the session database.
| Product | Versions 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. |
-
net10.0
- Microsoft.EntityFrameworkCore.SqlServer (>= 10.0.12)
- Microsoft.Extensions.Configuration (>= 10.0.12)
- Microsoft.Extensions.Configuration.FileExtensions (>= 10.0.12)
- Microsoft.Extensions.Configuration.Json (>= 10.0.12)
- Nova.Abstractions (>= 10.0.2)
- Nova.Core.Data.SqlServer (>= 10.0.2)
- Nova.Model (>= 10.1.0)
- Nova.Sessions.Abstractions (>= 10.3.0)
- Nova.Sessions.Model (>= 10.1.0)
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.
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.