General.Backend.Shared
1.1.1
dotnet add package General.Backend.Shared --version 1.1.1
NuGet\Install-Package General.Backend.Shared -Version 1.1.1
<PackageReference Include="General.Backend.Shared" Version="1.1.1" />
<PackageVersion Include="General.Backend.Shared" Version="1.1.1" />
<PackageReference Include="General.Backend.Shared" />
paket add General.Backend.Shared --version 1.1.1
#r "nuget: General.Backend.Shared, 1.1.1"
#:package General.Backend.Shared@1.1.1
#addin nuget:?package=General.Backend.Shared&version=1.1.1
#tool nuget:?package=General.Backend.Shared&version=1.1.1
This project contains elements common to most backend projects. Error handling, robust request handling, standardized requests and responses, a generic interface to implement the repository pattern and a generic class for Core handling.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net10.0
- Microsoft.Extensions.Logging.Abstractions (>= 10.0.6)
- Polly (>= 8.6.6)
- System.Security.Cryptography.Xml (>= 10.0.6)
- System.ServiceModel.Http (>= 10.0.652802)
NuGet packages (2)
Showing the top 2 NuGet packages that depend on General.Backend.Shared:
| Package | Downloads |
|---|---|
|
General.Backend.RepositoryPattern
The GenericRepository abstract class implements a generic data repository with the most commonly used methods for creating, updating and retrieving data. |
|
|
General.Frontend.Shared
This package contains common elements for most FrontEnd projects with Blazor WebAssembly and Radzen. It includes a generic interface to implement the repository sponsor, an abstract class to implement it and 2 classes to handle generic grids. |
GitHub repositories
This package is not used by any popular GitHub repositories.
- Replace IMapper dependency with abstract MapToResponse, MapListToResponse, and MapToEntity
methods in GenericCore, removing the AutoMapper package entirely
- Fix bug where GetAllAsync/GetByFilterAsync/GetByDynamicFilterAsync mapped the full tuple
instead of result.PageRecords
- ErrorHandler: prevent internal exception details from leaking to clients; fix structured
logging placeholders; return 400 BadRequest for validation errors instead of 500
- ResilientRequestHandler: set ExceptionsAllowedBeforeBreaking default to 3 (was 0, broke Polly)
- ResponseService: change records default from 1 to 0
- GenericCore.UpdateAsync: fix wrong service name in validation error ("AddAsync" -> "UpdateAsync")
- GenericCore.AddAsync: remove redundant new T() instantiation
- Bump dependencies to .NET 10 targets