Orbyss.Foundation.Json.AspNetCore
0.2.3
dotnet add package Orbyss.Foundation.Json.AspNetCore --version 0.2.3
NuGet\Install-Package Orbyss.Foundation.Json.AspNetCore -Version 0.2.3
<PackageReference Include="Orbyss.Foundation.Json.AspNetCore" Version="0.2.3" />
<PackageVersion Include="Orbyss.Foundation.Json.AspNetCore" Version="0.2.3" />
<PackageReference Include="Orbyss.Foundation.Json.AspNetCore" />
paket add Orbyss.Foundation.Json.AspNetCore --version 0.2.3
#r "nuget: Orbyss.Foundation.Json.AspNetCore, 0.2.3"
#:package Orbyss.Foundation.Json.AspNetCore@0.2.3
#addin nuget:?package=Orbyss.Foundation.Json.AspNetCore&version=0.2.3
#tool nuget:?package=Orbyss.Foundation.Json.AspNetCore&version=0.2.3
Orbyss.Foundation.Json.AspNetCore
Select the Orbyss.Foundation.Json.AspNetCore shell feature. It registers a shell-local JsonProfileCatalog
and maps JsonProfileException to Problem Details with safe code and traceId fields (413 for byte limits;
400 for malformed/invalid input). It creates no public endpoints and does not modify global HttpJsonOptions.
Configure the shell's Configuration:Foundation:Json:Profiles:
{
"strict-request": { "Preset": "strict-request", "MaxBytes": 1048576, "MaxDepth": 32 },
"provider-response": { "Preset": "tolerant-response", "MaxBytes": 262144, "Extensions": [] }
}
Endpoints deliberately inject JsonProfileCatalog and call
profiles.Get("strict-request").ReadAsync<MyRequest>(context.Request.Body, context.RequestAborted).
There is no implicit endpoint profile inferred from DTO type. Code registers IJsonProfileExtension through
DI; settings select allowlisted IDs only. Changes require shell recreation. Strict guarantees cannot be
weakened through settings. Response security and authorization remain separate features.
| 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. |
-
net10.0
- Orbyss.Foundation.Json (>= 0.2.3)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.