Nabs.Scenarios 8.0.79

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.PubSubTests

Package Description

Nabs.Tests.DatabaseTests

Package Description

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
8.0.79 105 4/21/2024
8.0.78 107 4/21/2024
8.0.76 95 4/21/2024
8.0.75 95 4/20/2024
8.0.74 107 3/28/2024
8.0.73 94 3/28/2024
8.0.72 95 3/27/2024
8.0.71 121 3/15/2024
8.0.60 122 2/8/2024
8.0.59 81 2/3/2024
8.0.58 95 2/3/2024
8.0.57 81 1/31/2024
8.0.56 81 1/31/2024
8.0.53 103 1/27/2024
8.0.51 89 1/27/2024