Nabs.Scenarios 8.0.79

There is a newer version of this package available.
See the version list below for details.
dotnet add package Nabs.Scenarios --version 8.0.79                
NuGet\Install-Package Nabs.Scenarios -Version 8.0.79                
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.79" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Nabs.Scenarios --version 8.0.79                
#r "nuget: Nabs.Scenarios, 8.0.79"                
#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.79

// Install Nabs.Scenarios as a Cake Tool
#tool nuget:?package=Nabs.Scenarios&version=8.0.79                

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 146 6/10/2024
8.0.85 107 6/9/2024
8.0.84 124 6/9/2024
8.0.83 117 6/3/2024
8.0.81 114 6/3/2024
8.0.80 143 5/23/2024
8.0.79 145 4/21/2024
8.0.78 145 4/21/2024
8.0.76 137 4/21/2024
8.0.75 119 4/20/2024
8.0.74 143 3/28/2024
8.0.73 135 3/28/2024
8.0.72 147 3/27/2024
8.0.71 162 3/15/2024
8.0.60 157 2/8/2024
8.0.59 137 2/3/2024
8.0.58 137 2/3/2024
8.0.57 136 1/31/2024
8.0.56 117 1/31/2024
8.0.53 123 1/27/2024
8.0.51 113 1/27/2024