DeveloperExceptionJsonResponse 0.3.2

Middleware extension that returns Exception as HTTP 500 error in the form of JSON response.

Install-Package DeveloperExceptionJsonResponse -Version 0.3.2
dotnet add package DeveloperExceptionJsonResponse --version 0.3.2
<PackageReference Include="DeveloperExceptionJsonResponse" Version="0.3.2" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add DeveloperExceptionJsonResponse --version 0.3.2
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

.NET Core

Developer Exception Json Response Middleware

Returns exceptions in form of JSON response for ASP.NET Core Web API.

Usage

To use the middleware in development environment, update your Configure method of Startup class as below:

if (env.IsDevelopment())
{
  app.UseDeveloperExceptionJsonResponse();
}

.NET Core

Developer Exception Json Response Middleware

Returns exceptions in form of JSON response for ASP.NET Core Web API.

Usage

To use the middleware in development environment, update your Configure method of Startup class as below:

if (env.IsDevelopment())
{
  app.UseDeveloperExceptionJsonResponse();
}

  • .NETCoreApp 3.1

    • No dependencies.

GitHub repositories (0)

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated
0.3.2 71 4/19/2020
0.3.1 59 4/19/2020