EAC.Infrastructure.Api.Http 0.1.0-rc.4

This is a prerelease version of EAC.Infrastructure.Api.Http.
dotnet add package EAC.Infrastructure.Api.Http --version 0.1.0-rc.4
                    
NuGet\Install-Package EAC.Infrastructure.Api.Http -Version 0.1.0-rc.4
                    
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="EAC.Infrastructure.Api.Http" Version="0.1.0-rc.4" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="EAC.Infrastructure.Api.Http" Version="0.1.0-rc.4" />
                    
Directory.Packages.props
<PackageReference Include="EAC.Infrastructure.Api.Http" />
                    
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 EAC.Infrastructure.Api.Http --version 0.1.0-rc.4
                    
#r "nuget: EAC.Infrastructure.Api.Http, 0.1.0-rc.4"
                    
#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 EAC.Infrastructure.Api.Http@0.1.0-rc.4
                    
#: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=EAC.Infrastructure.Api.Http&version=0.1.0-rc.4&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=EAC.Infrastructure.Api.Http&version=0.1.0-rc.4&prerelease
                    
Install as a Cake Tool

EAC.Infrastructure.Api.Http

Desde 2026-10-09, Native AOT queda fuera del alcance por decisión del usuario. No se declara compatibilidad ni se exige su gate. Las referencias históricas no constituyen soporte vigente; build y tests ordinarios siguen siendo obligatorios.

Negociación HTTP reutilizable para servicios .NET 10: JSON sencillo predeterminado, JSON:API explícito, escritura con metadata de serialización generada y enlaces de paginación deterministas. El paquete no depende de Application, Domain ni del adaptador JSON:API.

AddEacNegotiatedHttp y UseEacNegotiatedHttp concentran configuración JSON, preflight Accept, límites de cuerpo, adaptación de errores y reintento optativo de conflictos confirmados, con delegates explícitos y compatibles con Native AOT. AddEacConfiguredCors y UseEacConfiguredCors conforman una responsabilidad independiente y el host las compone explícitamente cuando requiere CORS.

El desarrollo usa ProjectReference y entrega local-only; este incremento no publica NuGet. No existe versión estable de comparación todavía.

Para rutas binarias, WithBinaryBody declara el límite y los descriptores permitidos. HttpBinaryFormats ofrece JPEG, PNG y WebP como descriptores canónicos explícitos, y los adaptadores pueden definir otros con HttpBinaryFormatDescriptor y HttpBinarySignature. El lector conserva el 413 nativo y expone stream, tipo canónico, longitud y SHA-256. HttpBinaryContentResult escribe una respuesta de stream con ETag, Cache-Control y nosniff configurables.

Validación en Git Bash: bash scripts/ci.sh. El segundo gate publica y ejecuta un consumidor Native AOT local.

Con Eac:Observability:Tracing:DetailLevel igual a Detailed, el boundary crea un span hijo presentation.handler Tipo.Metodo para handlers nombrados. El default Boundary no añade ese detalle; no se trazan rutas ni identificadores.

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 (1)

Showing the top 1 NuGet packages that depend on EAC.Infrastructure.Api.Http:

Package Downloads
EAC.Infrastructure.Api.JsonApi

Native-first JSON:API 1.1 infrastructure adapter for EAC services.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
0.1.0-rc.4 80 10/23/2026

Initial local source-reference implementation. No published stable baseline.