PocArquitetura.ApplicationDefaults
0.21.15-main.1
This is a prerelease version of PocArquitetura.ApplicationDefaults.
dotnet add package PocArquitetura.ApplicationDefaults --version 0.21.15-main.1
NuGet\Install-Package PocArquitetura.ApplicationDefaults -Version 0.21.15-main.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="PocArquitetura.ApplicationDefaults" Version="0.21.15-main.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="PocArquitetura.ApplicationDefaults" Version="0.21.15-main.1" />
<PackageReference Include="PocArquitetura.ApplicationDefaults" />
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 PocArquitetura.ApplicationDefaults --version 0.21.15-main.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: PocArquitetura.ApplicationDefaults, 0.21.15-main.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 PocArquitetura.ApplicationDefaults@0.21.15-main.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=PocArquitetura.ApplicationDefaults&version=0.21.15-main.1&prerelease
#tool nuget:?package=PocArquitetura.ApplicationDefaults&version=0.21.15-main.1&prerelease
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
PocArquitetura.ApplicationDefaults
Defaults compartilhados para a camada Application em servicos .NET da POC poc-arquitetura.
Use este pacote quando uma camada Application baseada em MediatR e FluentValidation precisar reutilizar o comportamento padrao de validacao do pipeline.
Instalacao
dotnet add package PocArquitetura.ApplicationDefaults
Uso basico
using ApplicationDefaults.Behaviors;
services.AddMediatR(cfg =>
{
cfg.RegisterServicesFromAssembly(typeof(DependencyInjection).Assembly);
cfg.AddOpenBehavior(typeof(ValidationBehavior<,>));
});
services.AddValidatorsFromAssembly(typeof(DependencyInjection).Assembly);
Recursos
- Integracao com MediatR por meio de
IPipelineBehavior<TRequest, TResponse>. - Execucao de validadores FluentValidation registrados para o request.
- Lancamento de
FluentValidation.ValidationExceptionquando houver falhas. - Pipeline behavior reutilizavel para comandos e queries.
Esta e uma biblioteca de estudo/POC. Licenca MIT.
| Product | Versions 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.
-
net10.0
- FluentValidation (>= 12.1.1)
- MediatR (>= 14.2.0)
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 |
|---|---|---|
| 0.21.15-main.1 | 42 | 9/28/2026 |
| 0.21.14-main.1 | 39 | 9/28/2026 |
| 0.21.9-main.1 | 52 | 9/21/2026 |
| 0.21.7-main.1 | 62 | 9/15/2026 |
| 0.21.3-main.2 | 64 | 8/31/2026 |
| 0.21.1-main.8 | 88 | 7/17/2026 |
| 0.21.0-main.16 | 71 | 7/17/2026 |
| 0.20.2-main.4 | 73 | 7/16/2026 |
| 0.19.5-main.40 | 72 | 7/15/2026 |
| 0.19.2-main.7 | 72 | 7/13/2026 |
| 0.18.4-main.8 | 79 | 7/3/2026 |
| 0.18.3-main.2 | 447 | 7/2/2026 |
| 0.18.2-main.4 | 68 | 7/2/2026 |