ModelWrapper 2.0.0

Tool wich enrich the experience of data models manipulation in RestFul APIs for C# WebApi projects.

There is a newer version of this package available.
See the version list below for details.
Install-Package ModelWrapper -Version 2.0.0
dotnet add package ModelWrapper --version 2.0.0
<PackageReference Include="ModelWrapper" Version="2.0.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add ModelWrapper --version 2.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

ModelWrapper - Current version 1.1.0

ModelWrapper is a set of tools for enriching model object manipulation, allowing all data sent to the server to be captured by WrapRequest&lt;TModel>, feeding the model object (TModel) and allowing all other information to be extracted and used by extended functionality. - isilveria.

Purpose

ModelWrapper came up to simplify the use of ViewModels by creating a base class that should be used in the project's ViewModels allowing ViewModel to have all of the entity's original attributes, as well as extend functionality to ViewModel.

Functionalities

WrapRequest&lt;Model> - Base class for request ViewModels that extends all entity properties (TModel) and implements features like HTTP basic verbs.

WrapResponse&lt;Model> - Response ViewModels base class that extends all entity properties (TModel) that have been set to return and implements methods to get typed return data.

Usage

...

GitHub

https://github.com/isilveira/ModelWrapper

Nuget

https://www.nuget.org/packages/ModelWrapper

Package Manager

PM&gt; Install-Package ModelWrapper -Version 1.1.0

.NET CLI

&gt; dotnet add package ModelWrapper --version 1.1.0

Packet

&gt; paket add ModelWrapper --version 1.1.0

ModelWrapper - Current version 1.1.0

ModelWrapper is a set of tools for enriching model object manipulation, allowing all data sent to the server to be captured by WrapRequest&lt;TModel>, feeding the model object (TModel) and allowing all other information to be extracted and used by extended functionality. - isilveria.

Purpose

ModelWrapper came up to simplify the use of ViewModels by creating a base class that should be used in the project's ViewModels allowing ViewModel to have all of the entity's original attributes, as well as extend functionality to ViewModel.

Functionalities

WrapRequest&lt;Model> - Base class for request ViewModels that extends all entity properties (TModel) and implements features like HTTP basic verbs.

WrapResponse&lt;Model> - Response ViewModels base class that extends all entity properties (TModel) that have been set to return and implements methods to get typed return data.

Usage

...

GitHub

https://github.com/isilveira/ModelWrapper

Nuget

https://www.nuget.org/packages/ModelWrapper

Package Manager

PM&gt; Install-Package ModelWrapper -Version 1.1.0

.NET CLI

&gt; dotnet add package ModelWrapper --version 1.1.0

Packet

&gt; paket add ModelWrapper --version 1.1.0

Release Notes

Wrap<TModel, int> removed & Project implemented

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated
2.1.0 167 1/18/2020
2.0.2 84 12/6/2019
2.0.1 89 12/4/2019
2.0.0 70 11/20/2019
1.1.0 155 3/22/2019
1.0.1 139 3/20/2019
1.0.0 141 3/20/2019
1.0.0-beta 266 6/28/2018