Compze.Abstractions 0.6.0-alpha

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

Compze.Abstractions

Foundational abstractions for the Compze framework.

What is Compze?

Compze is a .NET framework for building expressive domains through Teventive programming and Typermedia APIs. Learn more

What's in this package?

  • Entity and identity types — EntityId and the Entity<> base class
  • Time abstractions — IUtcTimeTimeSource, and the testing time source that overrides it
  • Configuration — IConfigurationParameterProvider, the extension point a host fills to answer connection-string and parameter lookups

The tessage type system (ITessage, ITevent, ITommand, ITuery and the full hierarchy) is not here — it lives in Compze.Tessaging.Abstractions.

Installation

dotnet add package Compze.Abstractions

License

Apache-2.0

Product Compatible and additional computed target framework versions.
.NET net11.0 is compatible. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (19)

Showing the top 5 NuGet packages that depend on Compze.Abstractions:

Package Downloads
Compze.Tessaging

Messaging infrastructure for the Compze framework including command, query, and event handling.

Compze.Tessaging.Abstractions

The tessage type system: the ITessage hierarchy Compze routes by type — tevents, tommands and tueries, the delivery-guarantee and transactional markers that classify them, the base types implementing them, and the validation holding tessage types to those rules. Depend on this to declare an application's tessages without depending on the Tessaging engine that delivers them.

Compze.Teventive

The Teventive programming model for the Compze framework: taggregates, tevents and tevent dispatching.

Compze.Sql.MySql

MySQL support for the Compze framework: declares the MySql domain database that Compze endpoints join. Also carries the MySQL plumbing the Compze.*.MySql feature backends share.

Compze.Sql.PostgreSql

PostgreSQL support for the Compze framework: declares the PgSql domain database that Compze endpoints join. Also carries the PostgreSQL plumbing the Compze.*.PostgreSql feature backends share.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
0.9.1-alpha 0 12/5/2026
0.9.0-alpha 52 12/5/2026
0.8.1-alpha 464 12/4/2026
0.8.0-alpha 1,349 12/2/2026
0.7.0-alpha 200 12/1/2026
0.6.0-alpha 740 12/1/2026
0.5.2-alpha 496 11/29/2026
0.5.1-alpha 300 11/28/2026
0.5.0-alpha 1,133 11/26/2026
0.4.1-alpha 233 11/25/2026
0.4.0-alpha 743 11/14/2026
0.3.0-alpha 472 7/24/2026
0.2.0-alpha 245 7/15/2026
0.1.0-alpha 429 6/4/2026

- **`EntityId` carries a `TypeConverter`, to and from the text of its `Guid`,** so what reads types through `TypeDescriptor` reads one from that text, such as Newtonsoft reading a dictionary keyed by ids, or ASP.NET Core binding a route value.
- **`[RemovedMembers("Discount")]` names the members a type no longer has,** which what Compze's serializers stored of it may still hold: they skip a stored member of such a name, where they refuse any other member the type doesn't have. A type also skips the members its base types name.
- **`TentityId` and `TaggregateId` are gone: every entity, tentity and taggregate is identified by an `EntityId`.** Replace both with `EntityId`, and `TaggregateId.New()` with `EntityId.New()`. Identity belongs to the entity: what a tentity or a taggregate adds says nothing about it.
- **`EntityId` is sealed, and derives from nothing: Compze's three id types, `EntityId`, `TessageId` and `EndpointId`, are unrelated,** so an id of one kind can't be passed, compared or stored as one of another, and `entityId == tessageId` doesn't compile. Ids that derived from `EntityId`, `TentityId` or `TaggregateId` become `EntityId`s.
- **`EntityId<TPrimitive>`, `ValueWrapper<TValue>`, `IEntity<TKeyType>` and `Entity<TEntity, TKey>` are gone:** an entity's id is an `EntityId`, of a `Guid`. `IEntity.Id` is an `EntityId`, and `Entity<TEntity>` is the one base class.
- **`EntityIdJsonConverter` is internal:** `EntityId` still carries it, and System.Text.Json writes an `EntityId` as before, but no id type of your own derives from `EntityId` to carry it.
- **Two ids are equal only when they are of the same type and value.** They were equal when the type of one derived from the other's, so ids of three types could each equal the next and not the last, and a `HashSet` held one or two of them depending on the order they were added in.
- **Requires newer minor versions of other Compze packages:** Compze.DependencyInjection 0.13.0-alpha (was 0.12.0-alpha), Compze.TypeIdentifiers 0.4.0-alpha (was 0.3.0-alpha). Upgrading to this version upgrades each package listed here too, so their changelogs apply to this upgrade as well.