AutoWrapper.Core 5.0.0-rc-03

This is a prerelease version of AutoWrapper.Core.
Install-Package AutoWrapper.Core -Version 5.0.0-rc-03
dotnet add package AutoWrapper.Core --version 5.0.0-rc-03
<PackageReference Include="AutoWrapper.Core" Version="5.0.0-rc-03" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add AutoWrapper.Core --version 5.0.0-rc-03
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: AutoWrapper.Core, 5.0.0-rc-03"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install AutoWrapper.Core as a Cake Addin
#addin nuget:?package=AutoWrapper.Core&version=5.0.0-rc-03&prerelease

// Install AutoWrapper.Core as a Cake Tool
#tool nuget:?package=AutoWrapper.Core&version=5.0.0-rc-03&prerelease
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

This is the 3rd version of the RC release to test out .NET 5 support. Alot of code refactoring has been done for v5 and there are breaking changes. I would really appreciate if you could test it out as well to better improve this project.

Please provide feedback if there are any issues you encountered. Thank you!

Breaking changes

  • This release only supports .NET 5
  • Middleware has been renamed from UseApiResponseAndExceptionWrapper to UseAutoWrapper. Make sure to update your Startup.cs to use the new name.
  • ProblemDetails is now the default exception format
  • UseApiProblemDetailsException has been renamed to DisableProblemDetailsException
  • Removed Newtonsoft.Json dependency and replaced it with System.Text.Json
  • Use the interface IApiResponse model instead of the concrete ApiResponse model for returning responses using the default format. This allows you to add your own properties that will wrapped within the Result property.
  • AutoWrapIgnore and RequestDataLogIgnore attributes now leaves under AutoWrapper.Attributes namespace. The implementation was changed from using IActionFilter to use Attribute, eliminating all the request header logic.
  • The following options has been removed:
    • ApiVersion
    • ReferenceLoopHandling
    • UseCustomSchema

ReferenceLoopHandling and DefaultContractResolver aren't still supported in .NET 5 that's why handling reference loop and ApiResponse property mappings will not be supported when targetting .NET 5. .NET Core 3.1 will still use Newtonsoft.Json and it's only supported by AutoWrapper ⇐ v4.5.0

NuGet packages (4)

Showing the top 4 NuGet packages that depend on AutoWrapper.Core:

Package Downloads
CodeZero

CodeZero is a set of common implementations to help you implementing Clean Architecture, DDD, CQRS, Specification Patterns and another facilities for new modern web applications is an open-source project written in .NET Core.

Shaesk.Auth

This package add auth controller your project auto. check sample project open github.

Lve.Emall.MemberService.Application

Package Description

SartainStudios.Http

Simple http library

GitHub repositories (1)

Showing the top 1 popular GitHub repositories that depend on AutoWrapper.Core:

Repository Stars
proudmonkey/ApiBoilerPlate
A simple yet organized project template for building ASP.NET Core APIs in .NET Core 3.1
Version Downloads Last updated
5.0.0-rc-03 855 8/25/2021
5.0.0-rc-02 149 8/13/2021
5.0.0-rc 109 8/4/2021
4.5.0 63,167 3/9/2021
4.4.0 7,964 2/4/2021
4.3.2 8,308 1/12/2021
4.3.1 29,259 9/23/2020
4.3.0 11,525 8/3/2020
4.2.2 41,758 6/4/2020
4.2.1 340 6/3/2020
4.2.0 600 6/2/2020
4.2.0-rc 408 5/23/2020
4.1.0 10,076 4/19/2020
4.1.0-rc2 453 3/17/2020
4.1.0-rc 224 3/16/2020
4.0.1 23,901 3/15/2020
4.0.0 5,340 3/3/2020
4.0.0-rc 434 2/26/2020
3.0.0 10,188 2/2/2020
2.1.0 34,893 11/9/2019
2.0.2 576 11/6/2019
2.0.1 2,216 10/17/2019
2.0.0-rc2 258 10/15/2019
2.0.0-rc 275 10/14/2019
1.2.0 456 10/7/2019
1.1.0 340 10/4/2019
1.0.0 1,082 9/23/2019
1.0.0-rc 184 9/14/2019

See project repo for release notes.