Innovabit.DotNet.Interceptors.Validation.Abstractions 1.0.0.96

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

Innovabit.DotNet.Interceptors.Validation.Abstractions

Attribute-driven argument validation for the Innovabit.DotNet.Interceptors suite. This is the base package; pick a provider (...Validation.DataAnnotations or ...Validation.FluentValidation) for the actual validation rules.

What it provides

  • [Validate] — validates a method's arguments before it runs.
  • [ValidateParameter] — marks which parameters to validate.
  • IParameterValidator — the provider-agnostic validation abstraction.
  • ValidationInterceptor — throws ParameterValidationException when any argument is invalid.

Install

dotnet add package Innovabit.DotNet.Interceptors.Validation.Abstractions

Then add a provider, e.g. Innovabit.DotNet.Interceptors.Validation.DataAnnotations.

Usage

public class UserService : IUserService
{
    [Validate]
    public Task CreateAsync([ValidateParameter] CreateUserRequest request) { ... }
}

[Validate] exposes ValidateNestedObjects (default true). When validation fails a ParameterValidationException is thrown, carrying the failures per parameter.

Part of

The Innovabit.DotNet.Interceptors suite — github.com/Innovabit/dotnet-interceptors.

Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  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 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 (2)

Showing the top 2 NuGet packages that depend on Innovabit.DotNet.Interceptors.Validation.Abstractions:

Package Downloads
Innovabit.DotNet.Interceptors.Validation.DataAnnotations

Package for data validation using interceptor.

Innovabit.DotNet.Interceptors.Validation.FluentValidation

Package for data validation with FluentValidation using interceptor.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.0.0.96 135 9/12/2026
1.0.0.95 161 9/5/2026
1.0.0.94 127 9/5/2026
1.0.0.93 125 9/5/2026
1.0.0.90 163 8/17/2026
1.0.0.89 141 8/15/2026
1.0.0.88 129 8/15/2026
1.0.0.87 134 8/13/2026
1.0.0.86 145 8/13/2026
1.0.0.85 129 8/13/2026
1.0.0.84 123 8/13/2026
1.0.0.83 121 8/13/2026
1.0.0.82 124 8/13/2026
1.0.0.81 128 8/13/2026
1.0.0.80 127 8/12/2026
1.0.0.79 125 8/12/2026
1.0.0.78 127 8/12/2026
1.0.0.77 124 8/12/2026
1.0.0.76 122 8/12/2026
1.0.0.75 136 8/12/2026
Loading failed