CodeDesignPlus.Net.ValueObjects 0.13.0-beta.12731

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

CodeDesignPlus.Net.ValueObjects

Quality Gate Status Bugs Code Smells Coverage Duplicated Lines (%) Vulnerabilities

Description

The CodeDesignPlus.Net.ValueObjects project is a Domain-Driven Design (DDD) Shared Kernel library that provides enterprise-grade, immutable Value Objects. It is designed to ensure domain consistency, financial precision, and structural integrity across all distributed microservices. By centralizing these core domain primitives, this library prevents logic duplication and guarantees a ubiquitous language across your ecosystem.

Table of Contents

About The Project

In microservice architectures, dealing with concepts like Money, Currency, and Geographical Locations repetitively can lead to severe data anomalies and precision loss (e.g., floating-point rounding errors). The CodeDesignPlus.Net.ValueObjects library solves this by offering strictly encapsulated, mathematically safe, and context-agnostic objects that act as the foundational building blocks for your aggregates and entities.

Key Features

  • Money Pattern: Encapsulates monetary amounts with their respective currencies to prevent cross-currency mathematical operations and financial precision loss (ISO 4217 compliant).
  • Standardized Domain Primitives: Includes robust representations for Currency, Location, and other cross-cutting geographical and financial concepts.
  • Strict Immutability: All Value Objects are completely immutable. Once created, their state cannot be altered, ensuring thread safety and historical accuracy (Snapshot pattern).
  • Value Equality: Implements IEquatable<T> and overrides operators (==, !=) so objects are compared by their structural values, not their memory references.
  • Fail-Fast Validation: Built-in Domain Guards ensure that invalid states (like negative taxes or invalid ISO codes) are rejected at the exact moment of creation.

Installation

To install the package, run the following command:

dotnet add package CodeDesignPlus.Net.ValueObjects

Usage

For more information regarding the library, you can visit our documentation at CodeDesignPlus Doc

Roadmap

Refer to issues for a list of proposed features and known issues.

Roadmap

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b features/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

License

Distributed under the MIT License. See LICENSE for more information.

Contact

CodeDesignPlus - @CodeDesignPlus - wliscano@codedesignplus.com

Project Link: CodeDesignPlus.Net.ValueObjects

Product Compatible and additional computed target framework versions.
.NET net9.0 is compatible.  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. 
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 CodeDesignPlus.Net.ValueObjects:

Package Downloads
CodeDesignPlus.Net.gRpc.Clients.Abstractions

CodeDesignPlus.Net.gRpc.Clients.Abstractions is a library that provides a set of abstractions for building gRPC clients in .NET applications, enabling developers to create efficient and scalable gRPC-based services with ease.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
0.13.0-beta.12737 0 2/27/2026
0.13.0-beta.12736 0 2/27/2026
0.13.0-beta.12734 0 2/27/2026
0.13.0-beta.12733 27 2/26/2026
0.13.0-beta.12731 33 2/26/2026