Benevia.Core.Automation 0.10.3

There is a newer prerelease version of this package available.
See the version list below for details.
dotnet add package Benevia.Core.Automation --version 0.10.3
                    
NuGet\Install-Package Benevia.Core.Automation -Version 0.10.3
                    
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="Benevia.Core.Automation" Version="0.10.3" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Benevia.Core.Automation" Version="0.10.3" />
                    
Directory.Packages.props
<PackageReference Include="Benevia.Core.Automation" />
                    
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 Benevia.Core.Automation --version 0.10.3
                    
#r "nuget: Benevia.Core.Automation, 0.10.3"
                    
#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 Benevia.Core.Automation@0.10.3
                    
#: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=Benevia.Core.Automation&version=0.10.3
                    
Install as a Cake Addin
#tool nuget:?package=Benevia.Core.Automation&version=0.10.3
                    
Install as a Cake Tool

Benevia.Core.Automation

Introduction

This package lets a company admin run background work when business records change, with no custom code. A trigger watches one entity type for one kind of change, and its subscribers run in the background. Each run is logged as a subscriber run.

Platform user documentation: Automation

Modules

  • Model - the Trigger, TriggerSubscription, Subscriber and SubscriberRun entities. They implement IAutomationEntity, so a trigger can never watch them and fire itself.
  • Triggers - change detection. TriggerSaveObserver and CommandExecutedListener read committed saves and finished commands. TriggerDetector matches them against the tenant's cached triggers, and queues one firing per active subscriber.
  • Subscribers - the background TriggerWorker, the SubscriberRunner that records each run, the subscriber contract ITriggerSubscriber, and the built-in ApplicationLogTriggerSubscriber.
  • DependencyInjection - the AddCoreAutomation() registration for API hosts.

Architecture

flowchart LR
  Save["Committed save or command"] --> Detect["Triggers: match cached triggers"]
  Detect --> Queue["In-memory queue"]
  Queue --> Worker["Subscribers: worker and runner"]
  Worker --> Run["SubscriberRun row"]

See ARCHITECTURE.md for the rules behind each step.

Setup

Register the package in an API host:

using Benevia.Core.Automation.DependencyInjection;

services.AddCoreAutomation();
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

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
0.10.4-ci.587 0 10/25/2026
0.10.4-ci.586 50 10/23/2026
0.10.4-ci.585 44 10/23/2026
0.10.4-ci.584 36 10/23/2026
0.10.4-ci.583 42 10/23/2026
0.10.4-ci.582 45 10/22/2026
0.10.4-ci.581 45 10/22/2026
0.10.4-ci.580 43 10/22/2026
0.10.4-ci.579 43 10/22/2026
0.10.4-ci.578 104 10/22/2026
0.10.4-ci.577 46 10/22/2026
0.10.4-ci.576 106 10/21/2026
0.10.4-ci.575 45 10/21/2026
0.10.4-ci.574 54 10/21/2026
0.10.4-ci.573 58 10/21/2026
0.10.4-ci.572 52 10/21/2026
0.10.4-ci.571 54 10/21/2026
0.10.4-ci.570 45 10/21/2026
0.10.4-ci.569 49 10/21/2026
0.10.3 114 10/16/2026
Loading failed