Raycynix.Extensions.Exceptions.AspNetCore
1.0.0
dotnet add package Raycynix.Extensions.Exceptions.AspNetCore --version 1.0.0
NuGet\Install-Package Raycynix.Extensions.Exceptions.AspNetCore -Version 1.0.0
<PackageReference Include="Raycynix.Extensions.Exceptions.AspNetCore" Version="1.0.0" />
<PackageVersion Include="Raycynix.Extensions.Exceptions.AspNetCore" Version="1.0.0" />
<PackageReference Include="Raycynix.Extensions.Exceptions.AspNetCore" />
paket add Raycynix.Extensions.Exceptions.AspNetCore --version 1.0.0
#r "nuget: Raycynix.Extensions.Exceptions.AspNetCore, 1.0.0"
#:package Raycynix.Extensions.Exceptions.AspNetCore@1.0.0
#addin nuget:?package=Raycynix.Extensions.Exceptions.AspNetCore&version=1.0.0
#tool nuget:?package=Raycynix.Extensions.Exceptions.AspNetCore&version=1.0.0
Raycynix.Extensions.Exceptions.AspNetCore
Raycynix.Extensions.Exceptions.AspNetCore adds ASP.NET Core middleware integration for Raycynix exceptions.
What it contains
UseRaycynixExceptions(this IApplicationBuilder app)RaycynixExceptionMiddleware
Usage
var builder = WebApplication.CreateBuilder(args);
builder.Services.AddRaycynixExceptions();
var app = builder.Build();
app.UseRaycynixExceptions();
app.Run();
Mapped exceptions are written as structured JSON responses. For example, a mapped validation exception produces an HTTP response body shaped by the core exception package and the ASP.NET Core middleware.
This package depends on Raycynix.Extensions.Exceptions for the core exception mapping and retry services.
| 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
- Raycynix.Extensions.Exceptions (>= 1.0.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
See the repository changelog and release history for package-specific changes and breaking updates.