Nova.Sessions.Abstractions
10.2.0
dotnet add package Nova.Sessions.Abstractions --version 10.2.0
NuGet\Install-Package Nova.Sessions.Abstractions -Version 10.2.0
<PackageReference Include="Nova.Sessions.Abstractions" Version="10.2.0" />
<PackageVersion Include="Nova.Sessions.Abstractions" Version="10.2.0" />
<PackageReference Include="Nova.Sessions.Abstractions" />
paket add Nova.Sessions.Abstractions --version 10.2.0
#r "nuget: Nova.Sessions.Abstractions, 10.2.0"
#:package Nova.Sessions.Abstractions@10.2.0
#addin nuget:?package=Nova.Sessions.Abstractions&version=10.2.0
#tool nuget:?package=Nova.Sessions.Abstractions&version=10.2.0
Nova.Sessions.Abstractions
Shared contracts for Nova session-management middleware and persistence providers.
Version 10.2.0
This is a breaking contract release and must be upgraded together with
Nova.Sessions.Data.Sql and Nova.Sessions.AspNetCore 10.2.0.
- Added a shared
SessionExceptionbase type. - Added distinct exception types for reauthentication-required and session-policy failures.
SessionMustReloginExceptionrepresents a client that must authenticate again.SessionValidationExceptionrepresents an authenticated client rejected by session policy.SessionConfigurationExceptionrepresents incompatible application or token settings.SessionDependencyUnavailableExceptionrepresents a retryable infrastructure failure.ISessionContextBuilder.BuildAsyncreplaces synchronous context construction so implementations can awaitIAuditLogoperations.ISessionsUoW.AcquireTransactionLockAsyncis required for coordinating session creation across application instances.- Nullable repository results are declared explicitly when no matching session exists.
Migration from 10.1.x
- Replace calls and implementations of
ISessionContextBuilder.Buildwith the asynchronousBuildAsynccontract. - Implement
ISessionsUoW.AcquireTransactionLockAsyncin custom persistence providers. The lock must cover the session-count check and creation transaction. - Update custom session exception handling to use the typed
SessionExceptionsubclasses.
| 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
- Nova.Abstractions (>= 10.0.2)
- Nova.Sessions.Model (>= 10.0.2)
NuGet packages (2)
Showing the top 2 NuGet packages that depend on Nova.Sessions.Abstractions:
| Package | Downloads |
|---|---|
|
Nova.Sessions.AspNetCore
Nova session activation, validation, concurrency control, and security integration for ASP.NET Core applications. |
|
|
Nova.Sessions.Data.Sql
Entity Framework Core and SQL Server persistence services for Nova session management. |
GitHub repositories
This package is not used by any popular GitHub repositories.
10.2.0: Breaking contract update. Session-context construction is now asynchronous, session providers must implement transaction-lock acquisition, nullable repository results are explicit, and typed session exceptions distinguish reauthentication, policy, configuration, and dependency failures.