CodeDesignPlus.Net.ValueObjects 0.13.0-beta.12741

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.12741
                    
NuGet\Install-Package CodeDesignPlus.Net.ValueObjects -Version 0.13.0-beta.12741
                    
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.12741" />
                    
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.12741" />
                    
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.12741
                    
#r "nuget: CodeDesignPlus.Net.ValueObjects, 0.13.0-beta.12741"
                    
#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.12741
                    
#: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.12741&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=CodeDesignPlus.Net.ValueObjects&version=0.13.0-beta.12741&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 (2)

Showing the top 2 NuGet packages that depend on CodeDesignPlus.Net.ValueObjects:

Package Downloads
CodeDesignPlus.Net.Security.Abstractions

CodeDesignPlus.Net.Security.Abstractions provides essential interfaces and abstract classes for implementing security features in .NET Core applications. This library defines core contracts and abstractions that facilitate a clean and maintainable architecture for authentication, authorization, and other security-related tasks, enabling better testing and extensibility.

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.12758 112 4/26/2026
0.13.0-beta.12757 150 4/25/2026
0.13.0-beta.12756 32 4/25/2026
0.13.0-beta.12755 39 4/25/2026
0.13.0-beta.12754 48 4/24/2026
0.13.0-beta.12753 40 4/24/2026
0.13.0-beta.12751 48 4/23/2026
0.13.0-beta.12748 146 4/22/2026
0.13.0-beta.12745 42 4/22/2026
0.13.0-beta.12744 42 4/22/2026
0.13.0-beta.12743 44 4/22/2026
0.13.0-beta.12741 41 4/21/2026
0.13.0-beta.12740 41 4/21/2026
0.13.0-beta.12738 125 2/27/2026
0.13.0-beta.12737 63 2/27/2026
0.13.0-beta.12736 57 2/27/2026
0.13.0-beta.12734 50 2/27/2026
0.13.0-beta.12733 52 2/26/2026
0.13.0-beta.12731 58 2/26/2026