MVFC.Pack.IoC 2.0.1

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

MVFC.Pack.IoC

Sobre

O MVFC.Pack.IoC é um pacote (metapackage) para padronizar e acelerar a configuração de inversão de controle (IoC) em aplicações .NET 10. Ele centraliza as ferramentas essenciais para registro de serviços, mediação de comandos/queries e configuração de clientes HTTP.


Instalação (NuGet)

Você pode instalar o pacote diretamente via CLI:

dotnet add package MVFC.Pack.IoC

Como Usar

Sendo um metapackage, ao instalá-lo no seu projeto, todas as bibliotecas subjacentes ficam disponíveis para uso imediato em seu código, sem a necessidade de referenciá-las individualmente no .csproj. O Source Generator do Mediator e o ServiceScan serão ativados automaticamente no projeto consumidor.


Pacotes Inclusos e Versões

Abaixo estão as bibliotecas inclusas neste pacote, bem como suas respectivas versões.

Pacote Versão
MediatR 12.5.0
ServiceScan.SourceGenerator 2.4.1
FluentValidation.DependencyInjectionExtensions 12.1.1
Microsoft.Extensions.Http 10.0.3
Microsoft.Extensions.Http.Resilience 10.3.0

Motivação

Centralizar a configuração de IoC com o MediatR (CQRS), registro automático de serviços (ServiceScan), integração do FluentValidation com DI e criação de clientes HTTP resilientes (HttpClientFactory + Polly).


Licença

Este projeto é licenciado sob a licença Apache License 2.0. Consulte o arquivo LICENSE para obter mais detalhes.

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

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
2.0.1 93 2/23/2026
2.0.0 95 2/23/2026