EfCore.GenericServices.AspNetCore 4.1.0

A support library to the EfCore.GenericServices and EfCore.GenericBizRunner libraries. It converts IStatusGeneric into ASP.NET Core's ModelState or Web API response

Install-Package EfCore.GenericServices.AspNetCore -Version 4.1.0
dotnet add package EfCore.GenericServices.AspNetCore --version 4.1.0
<PackageReference Include="EfCore.GenericServices.AspNetCore" Version="4.1.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add EfCore.GenericServices.AspNetCore --version 4.1.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

EfCore.GenericServices.AspNetCore

This library provides converters from EfCore.GenericService and EfCore.GenericBizRunner status results to into two ASP.NET Core formats.

  1. ASP.NET Core MVC or Razor pages - copy to ModelState.
  2. ASP.NET Core Web API - form correct HTTP response.

The library also contains code for unit/ntergration testing of code that uses EfCore.GenericService or EfCore.GenericBizRunner in ASP.NET Core controllers. See information at end of the Readme file.

*NOTE: If you are interested in using EfCore.GenericService or EfCore.GenericBizRunner in Web APIs then see the article
"How to write good, testable ASP.NET Core Web API code quickly"
for more information.

EfCore.GenericServices.AspNetCore

This library provides converters from EfCore.GenericService and EfCore.GenericBizRunner status results to into two ASP.NET Core formats.

  1. ASP.NET Core MVC or Razor pages - copy to ModelState.
  2. ASP.NET Core Web API - form correct HTTP response.

The library also contains code for unit/ntergration testing of code that uses EfCore.GenericService or EfCore.GenericBizRunner in ASP.NET Core controllers. See information at end of the Readme file.

*NOTE: If you are interested in using EfCore.GenericService or EfCore.GenericBizRunner in Web APIs then see the article
"How to write good, testable ASP.NET Core Web API code quickly"
for more information.

Release Notes

- Update: Now uses StatusGeneric for status class. This supports the new versions of EfCore.GenericServices, EfCorr.GenericBizRunner, and EfCore.GenericEventRunner.

Showing the top 1 GitHub repositories that depend on EfCore.GenericServices.AspNetCore:

Repository Stars
JonPSmith/PermissionAccessControl2
Version 2 of example application to go with articles on feature and data authorization

Read more about the GitHub Usage information on our documentation.

Version History

Version Downloads Last updated
4.1.0 45 3/18/2020
4.0.0 1,400 10/14/2019
4.0.0-preview001 90 2/28/2020
3.0.2 9,631 9/5/2018
3.0.1 208 8/31/2018
3.0.0 210 8/22/2018
2.0.0 262 8/14/2018
1.2.1 316 7/30/2018
1.2.0 238 7/25/2018
1.1.0 1,161 6/7/2018
1.0.0 324 4/12/2018