Nabs.Scenarios
8.0.86
See the version list below for details.
dotnet add package Nabs.Scenarios --version 8.0.86
NuGet\Install-Package Nabs.Scenarios -Version 8.0.86
<PackageReference Include="Nabs.Scenarios" Version="8.0.86" />
paket add Nabs.Scenarios --version 8.0.86
#r "nuget: Nabs.Scenarios, 8.0.86"
// Install Nabs.Scenarios as a Cake Addin #addin nuget:?package=Nabs.Scenarios&version=8.0.86 // Install Nabs.Scenarios as a Cake Tool #tool nuget:?package=Nabs.Scenarios&version=8.0.86
Nabs Scenarios Library
This package contains a set of contracts that are essential for propagating application-wide state.
- TenantIsolationStrategy - Indicates the tenant isolation applied to the application.
- IApplicationContext - Provides access to the application context.
- ITenantContext - Provides access to the tenant context.
- ITenantEntity - Provides access to the tenant entity. All EFCore Entity types that need to be identified as tenant-specific should implement this interface.
Some common scenarios are supported:
- List Items
- Get Item
- Create Item
- Update Item
- Delete Item
- Soft Delete Item
- Restore Item
CQRS Support with MediatR:
It takes a dependency on MediatR with abstractions to assist with some common scenarios such as:
In addition to the the command and query segregation, it also provides the ability to segregate I/O and business logic. The abstractions provide a way to chain I/O operations and business logic (BL) operations in a pipeline.
E.g.:
List Items ⇒ Load Data (I/O) → Mapping Data (BL) → Return Data
Get Item ⇒ Load Data (I/O) → Validate Data (BL) → Return Data
Create Item ⇒ Validate Request (BL) ⇒ Load Data (I/O) → Validate Data (BL) → Save Data (I/O) → Return Data
The SQL Save Data will do all the SQL related exception handling.
Orleans Grains Support:
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net8.0 is compatible. 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. |
-
net8.0
- MediatR (>= 12.3.0)
- Nabs (>= 8.0.86)
- Nabs.ActivityFramework (>= 8.0.86)
- Nabs.Projections (>= 8.0.86)
NuGet packages (3)
Showing the top 3 NuGet packages that depend on Nabs.Scenarios:
Package | Downloads |
---|---|
Nabs.Persistence
Package Description |
|
Nabs.Tests.DatabaseTests
Package Description |
|
Nabs.Tests.PubSubTests
Package Description |
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
9.0.89 | 124 | 11/29/2024 |
8.0.86 | 156 | 6/10/2024 |
8.0.85 | 117 | 6/9/2024 |
8.0.84 | 134 | 6/9/2024 |
8.0.83 | 127 | 6/3/2024 |
8.0.81 | 122 | 6/3/2024 |
8.0.80 | 154 | 5/23/2024 |
8.0.79 | 151 | 4/21/2024 |
8.0.78 | 151 | 4/21/2024 |
8.0.76 | 144 | 4/21/2024 |
8.0.75 | 125 | 4/20/2024 |
8.0.74 | 149 | 3/28/2024 |
8.0.73 | 141 | 3/28/2024 |
8.0.72 | 153 | 3/27/2024 |
8.0.71 | 168 | 3/15/2024 |
8.0.60 | 167 | 2/8/2024 |
8.0.59 | 143 | 2/3/2024 |
8.0.58 | 143 | 2/3/2024 |
8.0.57 | 144 | 1/31/2024 |
8.0.56 | 125 | 1/31/2024 |
8.0.53 | 129 | 1/27/2024 |
8.0.51 | 121 | 1/27/2024 |