HerrGeneral.ReadSide 1.7.0

dotnet add package HerrGeneral.ReadSide --version 1.7.0
                    
NuGet\Install-Package HerrGeneral.ReadSide -Version 1.7.0
                    
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="HerrGeneral.ReadSide" Version="1.7.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="HerrGeneral.ReadSide" Version="1.7.0" />
                    
Directory.Packages.props
<PackageReference Include="HerrGeneral.ReadSide" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add HerrGeneral.ReadSide --version 1.7.0
                    
#r "nuget: HerrGeneral.ReadSide, 1.7.0"
                    
#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.
#:package HerrGeneral.ReadSide@1.7.0
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=HerrGeneral.ReadSide&version=1.7.0
                    
Install as a Cake Addin
#tool nuget:?package=HerrGeneral.ReadSide&version=1.7.0
                    
Install as a Cake Tool

HerrGeneral.ReadSide

Overview

HerrGeneral.ReadSide provides lightweight contracts for projection updates and side-effect processing.

Key Interfaces

  1. IHandleSyncProjection<in TEvent>: Synchronous in-transaction projection handler. Runs before IUnitOfWork.Commit(). If an exception is thrown, the transaction is rolled back.

    public class OrderSummaryProjection : IHandleSyncProjection<OrderPlacedEvent>
    {
        public void Handle(OrderPlacedEvent @event)
        {
            // Update database view within the same active transaction
        }
    }
    
  2. IHandlePostProjection<in TEvent>: Post-transaction eventual consistency projection handler. Runs strictly after IUnitOfWork.Commit() succeeds. Exceptions are traced and isolated.

    public class CustomerAnalyticsProjection : IHandlePostProjection<OrderPlacedEvent>
    {
        public void Handle(OrderPlacedEvent @event)
        {
            // Update external search index or eventual read model
        }
    }
    
  3. IHandleSideEffect<in TEvent>: Post-transaction side-effect handler for external integrations, notifications, and event broadcasting.

    public class SendOrderConfirmationEmail : IHandleSideEffect<OrderPlacedEvent>
    {
        public void Handle(OrderPlacedEvent @event)
        {
            // Send confirmation email via SMTP
        }
    }
    
  4. IProjectionEventHandler<in TEvent>: Retained for backward compatibility. Inherits from IHandlePostProjection<in TEvent>.

NuGet Package

Product 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on HerrGeneral.ReadSide:

Package Downloads
HerrGeneral.Core

Core mediator, pipeline, and concurrency framework for HerrGeneral CQRS library

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.7.0 117 10/7/2026
1.6.0 117 10/5/2026
1.5.1-alpha.0.30 71 10/5/2026
1.3.0 761 12/1/2025
1.2.1-alpha.0.2 423 11/30/2025
1.0.1-alpha.0.3 404 11/20/2025
0.1.26-rc 360 11/11/2025
0.1.25-rc 275 9/25/2025
0.1.24-rc 220 9/12/2025
0.1.23-rc 266 9/11/2025
0.1.22-rc 261 9/11/2025
0.1.21-rc 190 8/23/2025
0.1.20-rc 332 8/7/2025
0.1.19-rc 325 8/6/2025
0.1.18-rc 162 8/1/2025
0.1.17-rc 258 7/13/2025
0.1.16-rc 194 7/4/2025
0.1.15-rc 262 7/1/2025
0.1.14-rc 214 6/28/2025
0.1.13-rc 221 11/12/2024
Loading failed