Soenneker.Documents.Named 11.0.2817

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

alternate text is missing from this package README image alternate text is missing from this package README image alternate text is missing from this package README image alternate text is missing from this package README image

Soenneker.Documents.Named

Provides a document model with an additional serialized Name field.

Installation

dotnet add package Soenneker.Documents.Named

Usage

using Soenneker.Documents.Named;

var document = new NamedDocument
{
    DocumentId = "status-active",
    PartitionKey = "statuses",
    CreatedAt = DateTimeOffset.UtcNow,
    Name = "Active"
};

The model serializes these fields with System.Text.Json:

Property JSON name
DocumentId id
PartitionKey partitionKey
CreatedAt createdAt
ModifiedAt modifiedAt
Name name

Id remains the inherited, serializer-ignored composite convenience value. See Soenneker.Documents.Document for its partition-key and colon parsing rules.

Name is virtual so specialized documents can override it. The class does not initialize or validate names, identifiers, or timestamps; populate and validate them before persistence.

Use INamedDocument when APIs should accept any document carrying the same identity, timestamp, and name contract.

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 (3)

Showing the top 3 NuGet packages that depend on Soenneker.Documents.Named:

Package Downloads
Soenneker.AutoFaker.Overrides.Documents.Named

An AutoFaker (AutoBogus) override for the NamedDocument object

Soenneker.Extensions.Documents.Named

A collection of helpful NamedDocument extension methods

Soenneker.Documents.Typed.Named

A generic document type for containers that have multiple types of documents that have a name

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
11.0.2817 164 11/11/2026
11.0.2816 171 11/11/2026
11.0.2815 130 11/11/2026
11.0.2814 150 11/11/2026
11.0.2813 74 11/11/2026
11.0.2812 168 11/10/2026
11.0.2811 386 11/3/2026
11.0.2809 187 11/2/2026
11.0.2808 105 11/2/2026
11.0.2806 333 10/26/2026
11.0.2805 173 10/26/2026
4.0.2804 592 10/15/2026
4.0.2803 101 10/15/2026
4.0.2802 130 10/14/2026
4.0.2801 167 10/14/2026
4.0.2797 109 10/14/2026
4.0.2796 172 10/14/2026
4.0.2795 112 10/14/2026
4.0.2794 107 10/14/2026
4.0.2793 198 10/13/2026
Loading failed

Updated Multiple NuGet packages