KamiSama.Modules.PolicyEngine.Core 10.0.11.1

dotnet add package KamiSama.Modules.PolicyEngine.Core --version 10.0.11.1
                    
NuGet\Install-Package KamiSama.Modules.PolicyEngine.Core -Version 10.0.11.1
                    
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="KamiSama.Modules.PolicyEngine.Core" Version="10.0.11.1" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="KamiSama.Modules.PolicyEngine.Core" Version="10.0.11.1" />
                    
Directory.Packages.props
<PackageReference Include="KamiSama.Modules.PolicyEngine.Core" />
                    
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 KamiSama.Modules.PolicyEngine.Core --version 10.0.11.1
                    
#r "nuget: KamiSama.Modules.PolicyEngine.Core, 10.0.11.1"
                    
#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 KamiSama.Modules.PolicyEngine.Core@10.0.11.1
                    
#: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=KamiSama.Modules.PolicyEngine.Core&version=10.0.11.1
                    
Install as a Cake Addin
#tool nuget:?package=KamiSama.Modules.PolicyEngine.Core&version=10.0.11.1
                    
Install as a Cake Tool

KamiSama.Modules.PolicyEngine.Core

Back to package index

Version: 10.0.0

Description

EF Core data management for policy actions, rules, lists, and their relationships, with scoped CRUD features and modular startup registration. Install one provider, provision the schema separately, and supply evaluation and authorization in the host.

How to use

dotnet add package KamiSama.Modules.PolicyEngine.Core --version 10.0.0

Publication mismatch: 10.0.0 is the current workspace/root documentation version and remains the required repository install command. NuGet returned no published package or version for this package ID when reviewed.

Call AddPolicyEngineModule(moduleSection, databaseSection, providerCallback) on an ExtendedWebApplicationBuilder, select postgresql with AddPostgresqlPolicyEngineDbContext or sqlite with AddSqlitePolicyEngineDbContext, and then call BuildAsync. The callback is nullable but required in normal setup unless the host separately registers the exact configured keyed PolicyEngineDbContext. Service registration binds the empty PolicyEngineOptions, named initialization options, attributed repositories and features, and __EFMigrationsHistory_PolicyEngine; post-build setup resolves a custom initializer or the migration-only default.

This package manages policy-action, policy-rule, rule/action-assignment, policy-list, and polymorphic exact/range item entities. Public CRUD contracts cover only action, rule, and list definitions; there is no list-item or rule/action-assignment feature API, and returned list DTOs omit those relationships. There is no policy evaluator, condition parser, action execution, controller, endpoint, authentication, or authorization integration.

Runtime defects: the attributed ListPolicyActions, DeletePolicyAction, ListPolicyLists, DeletePolicyList, ListPolicyRules, and DeletePolicyRule classes do not implement their declared service interfaces. Service-provider validation can fail during BuildAsync; without validation, resolving those six contracts fails. Name uniqueness uses a case-insensitive read-before-write check with no model-level unique index, and mutations save immediately without a feature-level transaction. Provider packages contain no migrations, so the default migration stage cannot provision PolicyEngine tables; provision a compatible schema separately or supply migrations/custom initialization before using the repositories. Protect every exposed operation with host authentication and authorization.

Namespaces

Types

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 (2)

Showing the top 2 NuGet packages that depend on KamiSama.Modules.PolicyEngine.Core:

Package Downloads
KamiSama.Modules.PolicyEngine.Postgresql

PostgreSQL EF Core context registration for PolicyEngine data management; this package currently contains no PolicyEngine migrations.

KamiSama.Modules.PolicyEngine.Sqlite

SQLite EF Core context registration for PolicyEngine data management; this package currently contains no PolicyEngine migrations.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
10.0.11.1 37 8/15/2026