Soenneker.Requests.Entities.Named 11.0.335

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

A reusable create-or-update request containing an optional entity ID and a required display name.

Installation

dotnet add package Soenneker.Requests.Entities.Named

Usage

Use NamedEntityRequest directly when an endpoint only needs an ID and name:

using Soenneker.Requests.Entities.Named;

var create = new NamedEntityRequest
{
    Name = "Production"
};

var update = new NamedEntityRequest
{
    Id = "75f11404-9c6f-4b33-b16c-d3ffea59f8f4",
    Name = "Production US"
};

It can also be used as the base for a more specific API contract:

public record SaveEnvironmentRequest : NamedEntityRequest
{
    public string? Region { get; init; }
}

The JSON properties are id and name. Id is optional and, when present, must be a GUID. Name is required and length-limited by the shared Soenneker data constant. Run the request through ASP.NET Core model validation or another data-annotation validator; constructing or deserializing the record does not validate it automatically.

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

Showing the top 1 NuGet packages that depend on Soenneker.Requests.Entities.Named:

Package Downloads
Soenneker.AutoFaker.Overrides.Requests.Entities.Named

An AutoFaker (AutoBogus) override for the NamedEntityRequest object

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
11.0.335 165 11/11/2026
11.0.334 85 11/11/2026
11.0.332 100 11/11/2026
11.0.331 90 11/11/2026
11.0.330 79 11/11/2026
11.0.329 68 11/11/2026
11.0.327 318 11/3/2026
11.0.326 100 11/3/2026
11.0.325 101 11/3/2026
11.0.324 121 11/2/2026
11.0.323 141 10/30/2026
11.0.322 105 10/30/2026
11.0.321 94 10/30/2026
11.0.320 94 10/30/2026
11.0.319 191 10/26/2026
11.0.318 107 10/26/2026
4.0.317 691 10/15/2026
4.0.316 99 10/15/2026
4.0.315 127 10/14/2026
4.0.314 114 10/14/2026
Loading failed

Updated Multiple NuGet packages