NewHeap.Platform.Events.Cap 4.4.5

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

<p align="center"> <img src="src/Back-end/Assets/NH_logo.png" width="112" alt="NewHeap logo"> </p>

<h1 align="center">NewHeap Platform</h1>

<p align="center"> <strong>Build serious .NET and Angular products without rebuilding the foundation every time.</strong><br> Secure APIs, data access, identity, durable operations, polished product UI and governed AI—designed as one coherent platform surface. </p>

NewHeap Platform is an opinionated set of reusable .NET 10 and Angular 20 libraries for long-lived business applications. Its goal is simple: let product teams spend their energy on their domain while the difficult cross-cutting behavior remains consistent, testable and operationally honest.

It is not a generated application or an all-or-nothing framework. Adopt the capabilities you need, keep your domain model and migrations in your own application, and follow executable examples that prove the preferred path.

What can you build?

Product outcome NewHeap foundations
Secure management portals Authentication, tenant-aware authorization, typed APIs, collections, forms, modals, localization and a responsive Angular shell
Data-rich business systems Repository and query foundations, projections, filtering, sorting, paging, partial updates, mapping and explicit units of work
Reliable operational workflows Transactional events, idempotent consumers, jobs, notifications and durable background operations with retries, cancellation, suspension and live progress
Media-centric products Authorized folders and files, metadata, thumbnails, HTTP contracts, filesystem or S3-compatible storage and media events
Governed AI experiences Named model profiles, generated tools, authorized context, retrieval and ingestion, budgets, approvals, MCP interoperability, Agent Framework adapters and evaluation seams
Maintainable platform families Shared conventions, provider-specific implementations, reusable test helpers, public API snapshots and versioned guidance for humans and coding agents
flowchart LR
    UI["Angular product UI"] --> API["ASP.NET Core APIs"]
    API --> DOMAIN["Consumer-owned domain"]
    DOMAIN --> DATA["SQL Server / PostgreSQL"]
    DOMAIN --> OPS["Events · jobs · media · notifications"]
    DOMAIN --> AI["Context · tools · agents · approvals"]
    POLICY["Identity · authorization · budgets · audit"] -. constrains .-> API
    POLICY -. constrains .-> OPS
    POLICY -. constrains .-> AI

A lot of batteries. No hidden ownership.

  • Backend foundations — controller contracts, ProblemDetails, Scalar and OpenAPI metadata, provider-neutral repositories, projections, mapping, configuration, logging and health behavior.
  • SQL Server and PostgreSQL — explicit provider packages and real relational evidence where database semantics matter.
  • Angular product building blocks — API services, fluent server-driven collections, lifecycle-safe pages, accessible modals, dropdowns, notifications, background progress and light/dark product shells.
  • Operations that survive a request — transactional outbox patterns, idempotency, leases, retries, fan-out work, checkpoints and resumable approval waits.
  • AI that does not become a security boundary — provider-neutral model clients, data classification, scoped context, bounded inputs, capability discovery, canonical approvals, cost/call budgets and content-free telemetry defaults.
  • Executable guidance — the reference application, consumer guide, atomic rules and distributable development skill are generated from one validated case catalog.

See it running

SampleProjectManagement is executable documentation rather than a collection of disconnected snippets. It runs a real API, PostgreSQL, RabbitMQ and two Angular applications through Aspire.

SampleProjectManagement management portal

<table> <tr> <td width="50%"><img src="docs/assets/readme/sample-workspace.png" alt="SampleProjectManagement workspace board"></td> <td width="50%"><img src="docs/assets/readme/sample-background-operations.png" alt="Durable background operation with nested progress"></td> </tr> <tr> <td align="center"><sub>A focused day-to-day workspace built from the same shared contracts.</sub></td> <td align="center"><sub>Durable, nested work with live progress, retries and idempotent execution.</sub></td> </tr> </table>

Explore the executable sample, its interactive case catalog or the NewHeap consumer guide.

The NewHeap philosophy

  1. Expected outcomes are explicit. Validation, authorization, conflict, concurrency and recoverable workflow outcomes use TaskResult or TaskResult<T>. Callers should not need exceptions for normal control flow.
  2. Exceptions stay exceptional. Cancellation, invalid programmer configuration, corrupt state, lost ownership guarantees and unexpected infrastructure failures remain diagnosable exceptions.
  3. Policy decides; context informs. UI state and AI prompts are never an authorization boundary. Resource access, tenant scope, capabilities, approvals and budgets are enforced by trusted code.
  4. Consumers own their domain. NewHeap owns reusable behavior; applications own their entities, permissions, workflows, migrations and business rules.
  5. Samples are part of the contract. A public capability is not complete until the sample demonstrates it, focused tests verify it and consumer guidance explains the preferred usage.
  6. Operational truth beats happy-path magic. Durable state, idempotency, auditability, safe failure codes and observable progress are designed in from the start.

The complete maintenance contract lives in AGENTS.md.

Start exploring

Install .NET 10, Node.js 22 or later, npm and Docker. Follow the sample setup to run the complete Aspire environment.

Run the backend verification from the repository root:

dotnet test src/Back-end/NewHeap.Platform.sln
dotnet test examples/SampleProjectManagement/src/Back-end/SampleProjectManagement.slnx

The main implementation areas are:

  • src/Back-end/Libraries — reusable .NET libraries and test-support packages;
  • src/Front-end/projects — reusable Angular packages;
  • examples/SampleProjectManagement — executable backend and frontend evidence;
  • guidance and docs/consumer-guide — validated consumer rules;
  • skills and plugins/newheap-platform — versioned development guidance;
  • release/manifest.json — package groups and protected release definitions.

Built for human and AI-assisted development

NewHeap ships the same development contract to maintainers and coding agents. The consumer skill routes foundation, backend, frontend, authentication, database, media, background-processing, runtime-configuration and testing work to focused instructions backed by executable sample cases.

To pin the supported workflow into a consumer repository for Codex:

node tools/guidance/install-consumer-skills.mjs --consumer <consumer-root>

Use --target claude or --target both for the corresponding managed skill directory. See the skill manifest for the complete suite.

Releases, contributing and support

Package groups are defined in release/manifest.json. Reviewed SemVer changes, package creation, anonymous verification and checksummed release artifacts belong to the protected release workflow; packages are not published directly from maintainer workstations. See the release guide.

Read CONTRIBUTING.md before proposing a change. Community support is described in SUPPORT.md; use SECURITY.md for private vulnerability reporting.

Unless otherwise noted, NewHeap-authored software is licensed under the Apache License 2.0. See NOTICE, THIRD-PARTY-NOTICES.md and TRADEMARKS.md.

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
4.4.5 43 9/1/2026
4.4.4 41 9/1/2026
4.4.3 110 9/1/2026
4.4.2 80 9/1/2026
4.4.1 74 8/31/2026
4.4.0 56 8/31/2026
4.3.6 59 8/31/2026
4.3.5 101 8/31/2026
4.3.4 89 8/29/2026
4.3.3 106 8/28/2026
4.3.2 68 8/28/2026
4.3.1 57 8/28/2026
4.3.0 64 8/27/2026
4.2.1 61 8/27/2026
4.2.0 61 8/27/2026
4.1.0 76 8/27/2026
4.0.0 82 8/26/2026
3.1.0 93 8/25/2026
3.0.0 79 8/25/2026
2.2.0 86 8/25/2026
Loading failed