Dehydrator helps you combine ORMs like Entity Framework with REST service frameworks like WebAPI.
By stripping navigational references in your entities down to only their IDs their serialized representation no longer contains redundant or cyclic data. When new or modified deserialized data needs to be persisted Dehydrator takes care of resolving the reference IDs again.
Install this package in your data model. Install Dehydrator.EntityFramework and EntityFramework.WebApi in your controller if you use Entity Framework and WebAPI.
Install-Package Dehydrator -Version 0.12.0
dotnet add package Dehydrator --version 0.12.0
<PackageReference Include="Dehydrator" Version="0.12.0" />
paket add Dehydrator --version 0.12.0
This package is not used by any popular GitHub repositories.