Nabs.Scenarios 8.0.86

dotnet add package Nabs.Scenarios --version 8.0.86                
NuGet\Install-Package Nabs.Scenarios -Version 8.0.86                
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="Nabs.Scenarios" Version="8.0.86" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Nabs.Scenarios --version 8.0.86                
#r "nuget: Nabs.Scenarios, 8.0.86"                
#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.
// 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 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

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
8.0.86 147 6/10/2024
8.0.85 108 6/9/2024
8.0.84 125 6/9/2024
8.0.83 118 6/3/2024
8.0.81 115 6/3/2024
8.0.80 144 5/23/2024
8.0.79 146 4/21/2024
8.0.78 146 4/21/2024
8.0.76 138 4/21/2024
8.0.75 120 4/20/2024
8.0.74 144 3/28/2024
8.0.73 136 3/28/2024
8.0.72 148 3/27/2024
8.0.71 163 3/15/2024
8.0.60 158 2/8/2024
8.0.59 138 2/3/2024
8.0.58 138 2/3/2024
8.0.57 139 1/31/2024
8.0.56 120 1/31/2024
8.0.53 124 1/27/2024
8.0.51 116 1/27/2024