AuroraScienceHub.Framework.ValueObjects 10.0.5

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

AuroraScienceHub.Framework.ValueObjects

Domain value objects for building type-safe, immutable domain models in .NET applications.

Overview

Provides strongly-typed value objects that encapsulate domain concepts with built-in validation, parsing, and equality semantics.

Key Features

  • Type Safety - Strongly typed value objects prevent primitive obsession
  • Immutability - Thread-safe, immutable by design
  • Validation - Built-in validation at creation time
  • Parsing Support - ISpanParsable<T> implementation for efficient parsing
  • EF Core Integration - Seamless Entity Framework Core support via value converters

Installation

dotnet add package AuroraScienceHub.Framework.ValueObjects

Value Objects

BlobId

Type-safe identifier for MinIO (S3-compatible) blob storage with S3 bucket naming validation, Guid v7-based object IDs (time-ordered, sortable), and compact Base64Url encoding.

Format: blb_{BucketName}_{ObjectKey} (e.g., blb_avatars_auSaAYDuWXG9JXl7SxAlww)

Usage:

// Create new BlobId
var blobId = BlobId.New("avatars");

// Parse from string
var parsed = BlobId.Parse("blb_documents_bX9KlP2mN4qR8tVwYzA1Bc");

// Access components
Console.WriteLine(blobId.BucketName); // "avatars"
Console.WriteLine(blobId.ObjectKey);   // "auSaAYDuWXG9JXl7SxAlww"
Console.WriteLine(blobId.Value);      // "blb_avatars_auSaAYDuWXG9JXl7SxAlww"

// Try parse
if (BlobId.TryParse(input, out var result))
{
    // Use result
}

EF Core Integration:

public class Document
{
    public int Id { get; set; }
    public BlobId FileId { get; set; }
    public BlobId? ThumbnailId { get; set; }
}

protected override void OnModelCreating(ModelBuilder modelBuilder)
{
    // Automatic conversion for all BlobId properties (nullable and non-nullable)
    modelBuilder.UseValueObjectConversions();
}

License

See LICENSE file in the repository root.

  • AuroraScienceHub.Framework.Entities - Entity interfaces and patterns
  • AuroraScienceHub.Framework.EntityFramework - EF Core extensions and value converters
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.
  • net10.0

    • No dependencies.

NuGet packages (2)

Showing the top 2 NuGet packages that depend on AuroraScienceHub.Framework.ValueObjects:

Package Downloads
AuroraScienceHub.Framework.EntityFramework

Entity Framework Core extensions including custom converters, interceptors, migrations utilities, and storage patterns for DDD entities.

AuroraScienceHub.Framework.Blobs

Unified blob storage abstraction with S3-compatible storage support (MinIO, AWS S3).

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
10.0.5 1,005 4/23/2026
10.0.4 124 4/23/2026
10.0.3 471 2/11/2026
10.0.2 513 1/29/2026
10.0.1 507 12/25/2025
10.0.0 455 12/11/2025