GenericServices.StatusGeneric 1.1.0

.NET Standard 2.0
Install-Package GenericServices.StatusGeneric -Version 1.1.0
dotnet add package GenericServices.StatusGeneric --version 1.1.0
<PackageReference Include="GenericServices.StatusGeneric" Version="1.1.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add GenericServices.StatusGeneric --version 1.1.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: GenericServices.StatusGeneric, 1.1.0"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install GenericServices.StatusGeneric as a Cake Addin
#addin nuget:?package=GenericServices.StatusGeneric&version=1.1.0

// Install GenericServices.StatusGeneric as a Cake Tool
#tool nuget:?package=GenericServices.StatusGeneric&version=1.1.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.


This provides a way to return the status of a method/class that you run. It contains two main things

  1. A IReadOnlyList of Errors, which may be empty. If the list is empty, then the IsValid property of the status will be true.
  2. A Message which can be set by you (default value is "Success"), but if it has any errors the Message returns "Failed with nn errors".
  3. The IStatusGeneric<T> version will return a Result which you can set, but returns default(T) if there are errors.

There are various methods to add errors to the Errors list, and a way to combine statuses.

Product Versions
.NET net5.0 net5.0-windows net6.0 net6.0-android net6.0-ios net6.0-maccatalyst net6.0-macos net6.0-tvos net6.0-windows
.NET Core netcoreapp2.0 netcoreapp2.1 netcoreapp2.2 netcoreapp3.0 netcoreapp3.1
.NET Standard netstandard2.0 netstandard2.1
.NET Framework net461 net462 net463 net47 net471 net472 net48
MonoAndroid monoandroid
MonoMac monomac
MonoTouch monotouch
Tizen tizen40 tizen60
Xamarin.iOS xamarinios
Xamarin.Mac xamarinmac
Xamarin.TVOS xamarintvos
Xamarin.WatchOS xamarinwatchos
Compatible target framework(s)
Additional computed target framework(s)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (8)

Showing the top 5 NuGet packages that depend on GenericServices.StatusGeneric:

Package Downloads

Library to help you quickly code Create, Read, Update and Delete (CRUD) accesses in web/mobile/desktop applications using Entity Framework Core.


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


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


A library to provide domain event handling to EF Core.


Services to provide simple soft delete and cascade soft delete in EF Core.

GitHub repositories (5)

Showing the top 5 popular GitHub repositories that depend on GenericServices.StatusGeneric:

Repository Stars
A library to help you quickly code CRUD accesses for a web/mobile/desktop application using EF Core.
This library provides extra authorization and multi-tenant features to an ASP.NET Core application.
Tools for helping in unit testing applications that use Entity Framework Core
Supporting repo to go with book "Entity Framework Core in Action", second edition
Library to run business logic when using Entity Framework Core for database accesses
Version Downloads Last updated
1.1.0 121,848 1/25/2020
1.0.1 14,764 1/25/2020
1.0.0 3,646 11/27/2019

- Updated to provide needed features for GenericBizRunner
     - Added some interfaces and made Message read/write