AutoWrapper.Core 1.0.0-rc

A REST API global exception handler and response wrapper for ASP.NET Core APIs.

This is a prerelease version of AutoWrapper.Core.
There is a newer version of this package available.
See the version list below for details.
This package is considered a SemVer 2.0.0 package as it has a package dependency on SemVer 2.0.0 package(s).
This package will only be available to download with SemVer 2.0.0 compatible NuGet clients, such as Visual Studio 2017 (version 15.3) and above or NuGet client 4.3.0 and above. Read more
Install-Package AutoWrapper.Core -Version 1.0.0-rc
dotnet add package AutoWrapper.Core --version 1.0.0-rc
<PackageReference Include="AutoWrapper.Core" Version="1.0.0-rc" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add AutoWrapper.Core --version 1.0.0-rc
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Features:

  • Handle unexpected errors
  • Handle ModelState validation errors (support both Data Annotation and FluentValidation)
  • A configurable custom API exception
  • A consistent response object for Result and Errors
  • A detailed Result response
  • A detailed Error response
  • A configurable HTTP StatusCodes
  • Add Swagger support
  • Add Logging support for Request, Response and Exceptions
  • Add options in the middleware to set the API version

Features:

  • Handle unexpected errors
  • Handle ModelState validation errors (support both Data Annotation and FluentValidation)
  • A configurable custom API exception
  • A consistent response object for Result and Errors
  • A detailed Result response
  • A detailed Error response
  • A configurable HTTP StatusCodes
  • Add Swagger support
  • Add Logging support for Request, Response and Exceptions
  • Add options in the middleware to set the API version

Release Notes

pre-release for .NET Core 3.x

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated
2.1.0 171 11/9/2019
2.0.2 53 11/6/2019
2.0.1 410 10/17/2019
2.0.0-rc2 39 10/15/2019
2.0.0-rc 39 10/14/2019
1.2.0 152 10/7/2019
1.1.0 73 10/4/2019
1.0.0 391 9/23/2019
1.0.0-rc 42 9/14/2019
Show less