SmartPipe.Extensions.DataAnnotations 2.2.1

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

SmartPipe.Extensions.DataAnnotations

DataAnnotations validation transforms for SmartPipe.Core.

Installation

dotnet package add SmartPipe.Extensions.DataAnnotations

ValidationTransform<T> keeps the existing public namespace SmartPipe.Extensions.Transforms and combines object/property DataAnnotations validation with fluent Require rules. Validation follows Validator.TryValidateObject and is deliberately non-recursive: nested object properties are not walked.

Rules are mutable during configuration and freeze on initialization or the first execution. Adding a rule after that point throws InvalidOperationException. ToFilter() forwards the pipeline cancellation token to validation and filters invalid items.

The reflection-based TransformAsync and ToFilter APIs carry RequiresUnreferencedCode; use them only when the required DataAnnotations metadata is preserved by the application.

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.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on SmartPipe.Extensions.DataAnnotations:

Package Downloads
SmartPipe.Extensions

Compatibility facade and convenience bundle for SmartPipe.Core and its runtime integration packages. New applications should reference specific SmartPipe.Extensions.* packages. Retained 2.1.2 APIs use type forwarding or the frozen legacy DI/Hosting/Health cluster; removed HTTP/Polly APIs require migration and recompilation.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
2.2.1 159 10/13/2026
2.2.0 974 10/7/2026

SmartPipe 2.2.1 servicing release; package compatibility is validated against 2.2.0. See https://github.com/MrFr3di/SmartPipe-Core/blob/main/CHANGELOG.md for release-wide changes and opt-in Core runtime APIs.