Muonroi.RuleEngine.CEP
1.0.0-alpha.5
See the version list below for details.
dotnet add package Muonroi.RuleEngine.CEP --version 1.0.0-alpha.5
NuGet\Install-Package Muonroi.RuleEngine.CEP -Version 1.0.0-alpha.5
<PackageReference Include="Muonroi.RuleEngine.CEP" Version="1.0.0-alpha.5" />
<PackageVersion Include="Muonroi.RuleEngine.CEP" Version="1.0.0-alpha.5" />
<PackageReference Include="Muonroi.RuleEngine.CEP" />
paket add Muonroi.RuleEngine.CEP --version 1.0.0-alpha.5
#r "nuget: Muonroi.RuleEngine.CEP, 1.0.0-alpha.5"
#:package Muonroi.RuleEngine.CEP@1.0.0-alpha.5
#addin nuget:?package=Muonroi.RuleEngine.CEP&version=1.0.0-alpha.5&prerelease
#tool nuget:?package=Muonroi.RuleEngine.CEP&version=1.0.0-alpha.5&prerelease
muonroi-building-block
Muonroi Building Block is the .NET foundation of the Muonroi open-core ecosystem: rule engine, decision tables, governance, tenancy, observability, and the commercial extensions that sit on top of the OSS base.
Install
dotnet add package Muonroi.RuleEngine.Core
dotnet add package Muonroi.RuleEngine.SourceGenerators
Quick Example
Annotate rule logic in normal C#:
[MExtractAsRule("HIGH_VALUE_ORDER", DependsOn = new[] { "CREDIT_SCORE" })]
public RuleResult HighValue(OrderContext context, FactBag facts)
{
if (context.Amount <= 1000m) return RuleResult.Failure("Below threshold.");
facts["requiresReview"] = true;
return RuleResult.Success();
}
Generate the registration and wire the engine:
muonroi-rule extract --source src/Rules --output Generated/Rules
muonroi-rule register --rules Generated/Rules --output Generated/RuleEngineRegistrationExtensions.g.cs
using Muonroi.RuleEngine.Generated;
builder.Services.AddRuleEngine<OrderContext>();
builder.Services.AddGeneratedRules();
Result: the rule enters the DI graph without a handwritten registration block, and muonroi-rule verify can catch dependency and rule-code mistakes before runtime.
Package Families
| Area | OSS packages | Commercial packages |
|---|---|---|
| Core | Muonroi.Core.Abstractions, Muonroi.Core, Muonroi.Logging, Muonroi.Logging.Abstractions |
- |
| Governance | Muonroi.Governance.Abstractions, Muonroi.Governance |
Muonroi.Governance.Enterprise |
| Rule engine | Muonroi.RuleEngine.Abstractions, Muonroi.RuleEngine.Core, Muonroi.RuleEngine.SourceGenerators, Muonroi.RuleEngine.DecisionTable, Muonroi.RuleEngine.Testing |
Muonroi.RuleEngine.Runtime.Web, Muonroi.RuleEngine.DecisionTable.Web, Muonroi.RuleEngine.CEP, Muonroi.UiEngine.Catalog |
| Infrastructure | Muonroi.AspNetCore, Muonroi.Tenancy, Muonroi.Observability, Muonroi.Data.* |
Muonroi.Caching.Redis, Muonroi.SignalR, Muonroi.Bff, Muonroi.AuthZ, more |
The boundary rule remains simple:
- OSS packages must not reference commercial packages.
- Commercial packages may reference OSS packages.
See OSS-BOUNDARY.md for the detailed matrix.
What To Read First
- Docs: https://docs.muonroi.com/docs/getting-started/introduction
- Rule engine guide: https://docs.muonroi.com/docs/guides/rule-engine/rule-engine-guide
- Rule source generator deep dive: https://docs.muonroi.com/docs/guides/rule-engine/rule-source-generator
- Decision table guide: https://docs.muonroi.com/docs/guides/rule-engine/decision-table-guide
- Samples index: samples/README.md
Samples
- Quickstart.RuleEngine
- Quickstart.DecisionTable
- FraudDetection
- LoanApproval
- MultiTenantSaaS
- RuleSourceGen
Local Development
dotnet restore Muonroi.BuildingBlock.sln
dotnet build Muonroi.BuildingBlock.sln -c Debug
Useful gates before opening a PR:
pwsh ./scripts/check-modular-boundaries.ps1 -RepoRoot .
dotnet test Muonroi.BuildingBlock.sln -c Debug
Community
- Docs: https://docs.muonroi.com
- Issues: https://github.com/muonroi/muonroi-building-block/issues
- Contributing guide: CONTRIBUTING.md
- Security policy: https://docs.muonroi.com/docs/resources/SECURITY
Discussion templates are prepared under .github/DISCUSSION_TEMPLATE and become active as soon as GitHub Discussions is enabled for the repository.
License
OSS packages are Apache 2.0. Commercial packages are distributed under the Muonroi commercial license and require activation proof in deployed environments.
| Product | Versions 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. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. 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. |
-
net8.0
- Muonroi.Core (>= 1.0.0-alpha.5)
- Muonroi.Core.Abstractions (>= 1.0.0-alpha.5)
- Muonroi.Data.EntityFrameworkCore (>= 1.0.0-alpha.5)
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 |
|---|---|---|
| 1.0.0-alpha.7 | 0 | 3/27/2026 |
| 1.0.0-alpha.5 | 0 | 3/27/2026 |
| 1.0.0-alpha.4 | 0 | 3/27/2026 |
| 1.0.0-alpha.3 | 0 | 3/27/2026 |
| 1.0.0-alpha.2 | 23 | 3/26/2026 |
| 1.0.0-alpha.1 | 39 | 3/8/2026 |