AFF.DomainValidation 1.5.0

There is a newer version of this package available.
See the version list below for details.
dotnet add package AFF.DomainValidation --version 1.5.0
NuGet\Install-Package AFF.DomainValidation -Version 1.5.0
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.DomainValidation" Version="1.5.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add AFF.DomainValidation --version 1.5.0
#r "nuget: AFF.DomainValidation, 1.5.0"
#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.DomainValidation as a Cake Addin
#addin nuget:?package=AFF.DomainValidation&version=1.5.0

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

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 Framework net45 is compatible.  net451 was computed.  net452 was computed.  net46 was computed.  net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

This package has 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 723 11/15/2019
1.5.0 573 11/15/2019
1.0.1 1,188 1/14/2018
1.0.0 1,176 1/13/2018

v1.5.0.