Qowaiv.DomainModel 2.0.0

dotnet add package Qowaiv.DomainModel --version 2.0.0                
NuGet\Install-Package Qowaiv.DomainModel -Version 2.0.0                
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="Qowaiv.DomainModel" Version="2.0.0" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Qowaiv.DomainModel --version 2.0.0                
#r "nuget: Qowaiv.DomainModel, 2.0.0"                
#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.
// Install Qowaiv.DomainModel as a Cake Addin
#addin nuget:?package=Qowaiv.DomainModel&version=2.0.0

// Install Qowaiv.DomainModel as a Cake Tool
#tool nuget:?package=Qowaiv.DomainModel&version=2.0.0                

Qowaiv.DomainModel

Qowaiv Domain Model is a library containing the (abstract) building blocks to set up a Domain-Driven application.

Event Sourcing

Within Qowaiv Domain Model, the choice has been made to only support DDD via Event Sourcing. In short: Event Sourcing describes the state of an aggregate (root) by the (domain) events that occurred within the domain. Getting the current state of an aggregate can always be achieved by replaying these events.

Always Valid

The aggregate should always be valid according to the boundaries of its domain. There are multiple ways to achieve this, but within Qowaiv Domain Model this is guaranteed via an implicitly triggered validator.

When a public method is called that would lead to a new aggregate state, the events describing the change are only added to the event buffer associated with the aggregate if the new state is valid according to the rules specified in the validator.

Aggregate

An aggregate is a cluster of associated objects that we treat as a unit for the purpose of data changes. When implementing an aggregate there are several steps that have to be taken.

Further reading

More info can be found at https://github.com/Qowaiv/qowaiv-domainmodel.

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  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 is compatible. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on Qowaiv.DomainModel:

Package Downloads
Qowaiv.DomainModel.TestTools

Qowaiv implements common, universal domain objects. These types form the base of your domain model.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
2.0.0 1,406 11/19/2024
1.1.2 10,715 7/29/2024
1.1.1 2,997 5/17/2024
1.1.0 603 4/25/2024
1.0.1 15,350 6/12/2023
1.0.0 350 6/8/2023
0.2.0 13,677 7/13/2022
0.1.7 8,051 5/31/2022
0.1.6 22,632 11/6/2021
0.1.5 1,216 9/23/2021
0.1.4 367 9/21/2021
0.1.3 561 9/10/2021
0.1.2 394 9/1/2021
0.1.1 378 8/31/2021
0.1.0 710 8/31/2021 0.1.0 is deprecated because it has critical bugs.
0.0.3 3,418 7/23/2021
0.0.2 2,188 6/15/2021
0.0.1 4,947 4/3/2020
0.0.1-beta0012 486 3/4/2020
0.0.1-beta0011 407 2/21/2020
0.0.1-beta0006 468 12/11/2019
0.0.1-beta0004 510 11/15/2019
0.0.1-beta0003 417 11/4/2019
0.0.1-beta0002 391 8/30/2019
0.0.1-beta0001 400 8/27/2019
0.0.1-alpha0003 444 5/20/2019
0.0.1-alpha0002 448 5/20/2019
0.0.1-alpha0001 434 5/20/2019

V2.0.0
- Add .NET 9.0 target.
- Drop .NET 5.0, NET6.0, NET7.0 targets. (BREAKING)
v1.1.2
- Aggregate: PreProcessEvent in applied scope. #44
v1.1.1
- CommandProcessor made thread-safe. #42
v1.1.0
- Expose supported event types via Aggregate.SupportedEventTypes(). #41
- Publish .NET 8.0.
v1.0.1
- Reintroduce If() on Then(). #40
v1.0.0
- Renamed AggregateRoot to Aggregate. #35 (breaking)
- Re-implemented ImmutableCollection. #34 (breaking)
- EventBuffer and Aggregate Version are of type long. #39 (breaking)
- EventBuffer as struct. #34 (breaking)
- EventBuffer implements IReadOnlyCollection<object> and ICollection<object>. #36
- EventDispatcher without dynamics. #34 (breaking)
- Enable annotations. #31
- Publish .NET 7.0. #29
v0.2.0
- Support pre-processing of events before applying them. #28
v0.1.7
- Introduction of the non-generic DynamicEventDispatcher. #27
v0.1.6
- Enumerables added to the immutable collection should be resolved. #24
v0.1.5
- Extend aggregate with Must guarding constraints. #21
v0.1.4
- Support optional cancellation token on command handler. #20
v0.1.3
- Introduction of CommandHandler<TReturnType>. #16
- Decorate pure methods with attribute. #17
v0.1.2
- Fix issue with iterating EventBuffer.SelectUncommitted multiple times. #16
- Improved API for EventBuffer<T>. #15
v0.1.1
- Bug fix AggregateRoot.FromStorage. #14
v0.1.0
- Update to Qowaiv.Validation.Abstractions v0.1.0.
- AggregateRoot is immutable. #11
v0.0.3
- Conditionally built Event Collection moved to Collections.ImmutableCollection. (breaking)
- EventBuffer made Immutable (potentially breaking)
v0.0.2
- Conditionally built Event Collection
v0.0.1
- Initial release