AutoWrapper.Core 5.0.0-rc-03

This is a prerelease version of AutoWrapper.Core.
There is a newer prerelease version of this package available.
See the version list below for details.
dotnet add package AutoWrapper.Core --version 5.0.0-rc-03
NuGet\Install-Package AutoWrapper.Core -Version 5.0.0-rc-03
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<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
#r "nuget: AutoWrapper.Core, 5.0.0-rc-03"
#r directive can be used in F# Interactive and Polyglot Notebooks. 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

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

Product Compatible and additional computed target framework versions.
.NET net5.0 is compatible.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (4)

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

Package Downloads
MarketingBox.Sdk.Common

Package Description

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

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-04 1,640 7/11/2023
5.0.0-rc-03 14,138 8/25/2021
5.0.0-rc-02 1,465 8/13/2021
5.0.0-rc 1,467 8/4/2021
4.5.1 63,011 7/11/2023
4.5.0 785,021 3/9/2021
4.4.0 18,733 2/4/2021
4.3.2 13,742 1/12/2021
4.3.1 72,258 9/23/2020
4.3.0 19,245 8/3/2020
4.2.2 67,282 6/4/2020
4.2.1 1,874 6/3/2020
4.2.0 2,297 6/2/2020
4.2.0-rc 1,737 5/23/2020
4.1.0 22,132 4/19/2020
4.1.0-rc2 1,816 3/17/2020
4.1.0-rc 1,601 3/16/2020
4.0.1 60,278 3/15/2020
4.0.0 8,222 3/3/2020
4.0.0-rc 1,837 2/26/2020
3.0.0 22,415 2/2/2020
2.1.0 49,022 11/9/2019
2.0.2 2,146 11/6/2019
2.0.1 4,129 10/17/2019
2.0.0-rc2 1,664 10/15/2019
2.0.0-rc 1,626 10/14/2019
1.2.0 1,989 10/7/2019
1.1.0 1,854 10/4/2019
1.0.0 2,987 9/23/2019
1.0.0-rc 689 9/14/2019

See project repo for release notes.