Muonroi.Governance
2.0.1
See the version list below for details.
dotnet add package Muonroi.Governance --version 2.0.1
NuGet\Install-Package Muonroi.Governance -Version 2.0.1
<PackageReference Include="Muonroi.Governance" Version="2.0.1" />
<PackageVersion Include="Muonroi.Governance" Version="2.0.1" />
<PackageReference Include="Muonroi.Governance" />
paket add Muonroi.Governance --version 2.0.1
#r "nuget: Muonroi.Governance, 2.0.1"
#:package Muonroi.Governance@2.0.1
#addin nuget:?package=Muonroi.Governance&version=2.0.1
#tool nuget:?package=Muonroi.Governance&version=2.0.1
Muonroi.Governance
Core policy enforcement and software licensing mechanisms.
Overview
Implements core governance mechanics including LicenseGuard, MPolicyDecisionService, and LicenseVerifier to protect features and enforce usage policies.
Features
- License Protection: Use
LicenseGuardto restrict access based on active licenses. - Policy Decisions: Make runtime rules with
MPolicyDecisionService. - Validation: Background checking via
LicenseConfigurationValidationHostedService.
Installation
dotnet add package Muonroi.Governance
Quick Start
builder.Services.AddLicenseServices();
builder.Services.AddPolicyDecisionServices();
public class PremiumFeature(LicenseGuard guard)
{
public void Execute()
{
guard.EnsureActive(LicenseEnums.Premium);
// Premium logic
}
}
Ecosystem Combinations
Muonroi.Governance + Muonroi.Governance.Enterprise
The base LicenseGuard here can be enhanced by registering an EnterpriseLicenseGuardEnhancer to include anti-tamper checking in enterprise deployments.
Samples
Find complete running examples in the ../../samples/ directory.
License
This project is licensed under the terms of the applicable Muonroi license.
| 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 (>= 2.0.1)
- Muonroi.Core.Abstractions (>= 2.0.1)
- Muonroi.Governance.Abstractions (>= 2.0.1)
- Muonroi.Tenancy.Core (>= 2.0.1)
NuGet packages (4)
Showing the top 4 NuGet packages that depend on Muonroi.Governance:
| Package | Downloads |
|---|---|
|
Muonroi.AspNetCore
ASP.NET Core integration: auto-CRUD controllers, middleware pipeline, license protection, and Muonroi hosting extensions. |
|
|
Muonroi.BuildingBlock.All
Metapackage for Muonroi Building Block - Includes all sub-packages for a complete infrastructure setup. |
|
|
Muonroi.Governance.Enterprise
Package Description |
|
|
Muonroi.Pdf.Governance
CSS policy enforcement and HTML/CSS parsing adapters for Muonroi PDF rendering. |
GitHub repositories
This package is not used by any popular GitHub repositories.