AFF.ValidadorCore 1.5.1

dotnet add package AFF.ValidadorCore --version 1.5.1
NuGet\Install-Package AFF.ValidadorCore -Version 1.5.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="AFF.ValidadorCore" Version="1.5.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add AFF.ValidadorCore --version 1.5.1
#r "nuget: AFF.ValidadorCore, 1.5.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.
// Install AFF.ValidadorCore as a Cake Addin
#addin nuget:?package=AFF.ValidadorCore&version=1.5.1

// Install AFF.ValidadorCore as a Cake Tool
#tool nuget:?package=AFF.ValidadorCore&version=1.5.1

AFF.DomainValidation

This is a simple library cross cutting to DDD, but you can use to any project.

The main idea of that library is to create a concept and a standart of implementation for treatment of the message. Since we have a class of the validate data, that same class can use to validate other many interation moments of the same data.

See the example project which is in console. In it we’ll find a person entity (EntityPerson), a service class (ServicePerson) to manage the CRUD and another class for data validation (ValidationPerson). In the validation class we have the main validate, the method Validate, but is possible to add other methods of validation to the person entity, such as example, DeleteValidation, that will validate the possibility of delete the chosen registry.

When all messages are centralized in the class, that facilitates control of show for any project that is under developement. And based on the status pattern, the control how the messages will be displayed become easier.

Download the example project and see better the implementation of the Validation.

References

  • System

Pre-requisites

  • .Net Framework 4.5 or more
Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  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. 
.NET Core netcoreapp3.0 is compatible.  netcoreapp3.1 was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • .NETCoreApp 3.0

    • No dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.5.1 601 11/15/2019