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 (5)

Showing the top 5 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

Kemen.Utility.Log

Library Log Pusintek

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 2,727 7/11/2023
5.0.0-rc-03 18,119 8/25/2021
5.0.0-rc-02 1,507 8/13/2021
5.0.0-rc 1,506 8/4/2021
4.5.1 161,616 7/11/2023
4.5.0 1,006,639 3/9/2021
4.4.0 19,753 2/4/2021
4.3.2 13,981 1/12/2021
4.3.1 77,666 9/23/2020
4.3.0 21,997 8/3/2020
4.2.2 70,886 6/4/2020
4.2.1 1,914 6/3/2020
4.2.0 2,338 6/2/2020
4.2.0-rc 1,775 5/23/2020
4.1.0 28,942 4/19/2020
4.1.0-rc2 1,882 3/17/2020
4.1.0-rc 1,650 3/16/2020
4.0.1 65,724 3/15/2020
4.0.0 8,305 3/3/2020
4.0.0-rc 1,871 2/26/2020
3.0.0 24,248 2/2/2020
2.1.0 50,804 11/9/2019
2.0.2 2,186 11/6/2019
2.0.1 4,177 10/17/2019
2.0.0-rc2 1,713 10/15/2019
2.0.0-rc 1,669 10/14/2019
1.2.0 2,033 10/7/2019
1.1.0 1,895 10/4/2019
1.0.0 3,324 9/23/2019
1.0.0-rc 775 9/14/2019

See project repo for release notes.