EfCore.GenericBizRunner 4.1.0

Library to run business logic when using Entity Framework Core for database accesses

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

EfCore.GenericBizRunner

NOTE: Version 4.1.0 now requires you to install the NuGet package GenericServices.StatusGeneric in any of your assemblies that needs to interact with the GenericBizRunner's status.

EfCore.GenericBizRunner (shortened to GenericBizRunner) is a framework to help build and run business logic when you are using Entity Framework Core for database accesses. Its aim is to totally isolate the business logic from other parts of the application, especially the user presentation/UI layers. It provides the following features:

  • A standard pattern for writing business logic, including helper classes.
  • An anti-corruption layer feature that act as a barrier between the business logic and the user presentation/UI layers.
  • The BizRunner handles the call to EF Core's SaveChanges, with optional validation.
  • A service, known as a BizRunner, that runs your business logic.
  • Very good use of Dependency Injection (DI), making calls to business logic very easy.

EfCore.GenericBizRunner is available as a NuGet package, and on the EfCore.GenericBizRunner GitHub repo. It is an open-source project under the MIT license.

NOTE: Version 4 of GenericBizRunner supports both EF Core >=2.1 and EF Core >=3.0 via NetStandard2.0 and NetStandard2.1 versions.

NOTE: Version 3 of GenericBizRunner changed the way it handles DTOs to make the library more useful in Web APIs - see upgrade guide.

EfCore.GenericBizRunner

NOTE: Version 4.1.0 now requires you to install the NuGet package GenericServices.StatusGeneric in any of your assemblies that needs to interact with the GenericBizRunner's status.

EfCore.GenericBizRunner (shortened to GenericBizRunner) is a framework to help build and run business logic when you are using Entity Framework Core for database accesses. Its aim is to totally isolate the business logic from other parts of the application, especially the user presentation/UI layers. It provides the following features:

  • A standard pattern for writing business logic, including helper classes.
  • An anti-corruption layer feature that act as a barrier between the business logic and the user presentation/UI layers.
  • The BizRunner handles the call to EF Core's SaveChanges, with optional validation.
  • A service, known as a BizRunner, that runs your business logic.
  • Very good use of Dependency Injection (DI), making calls to business logic very easy.

EfCore.GenericBizRunner is available as a NuGet package, and on the EfCore.GenericBizRunner GitHub repo. It is an open-source project under the MIT license.

NOTE: Version 4 of GenericBizRunner supports both EF Core >=2.1 and EF Core >=3.0 via NetStandard2.0 and NetStandard2.1 versions.

NOTE: Version 3 of GenericBizRunner changed the way it handles DTOs to make the library more useful in Web APIs - see upgrade guide.

Release Notes

- Update: Swapped to using GenericServices.StatusGeneric for status. This provides common status handling across my Generic libraries.
     NOTE: You will need to install GenericServices.StatusGeneric NuGet packages in your biz logic etc.

NuGet packages (2)

Showing the top 2 NuGet packages that depend on EfCore.GenericBizRunner:

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

GitHub repositories

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated
4.1.0 9,423 1/25/2020
4.0.0 2,651 10/12/2019
3.0.0 8,027 1/21/2019
2.0.2 1,207 8/22/2018
2.0.1 9,330 7/29/2018
2.0.0 345 7/14/2018
1.1.0 365 6/7/2018
1.0.1 412 2/10/2018
1.0.0 370 1/19/2018