OperationResultTools.AspNetCore
1.0.40
dotnet add package OperationResultTools.AspNetCore --version 1.0.40
NuGet\Install-Package OperationResultTools.AspNetCore -Version 1.0.40
<PackageReference Include="OperationResultTools.AspNetCore" Version="1.0.40" />
paket add OperationResultTools.AspNetCore --version 1.0.40
#r "nuget: OperationResultTools.AspNetCore, 1.0.40"
// Install OperationResultTools.AspNetCore as a Cake Addin #addin nuget:?package=OperationResultTools.AspNetCore&version=1.0.40 // Install OperationResultTools.AspNetCore as a Cake Tool #tool nuget:?package=OperationResultTools.AspNetCore&version=1.0.40
OperationResults
A set of lightweight libraries to totally decouple operation results and actual application responses.
Core library
Installation
The library is available on NuGet. Just search for OperationResultTools in the Package Manager GUI or run the following command in the .NET CLI:
dotnet add package OperationResultTools
ASP.NET Core integration library (Controller-based projects)
Note: This is the library to use if you're working with Controller.
This library provides HttpContext extension methods to automatically map Operation Results (that may come, for sample, from a business layer) to HTTP responses, along with the appropriate status codes.
A full sample is available in the Sample folder. Search for the registration in the Program.cs file and the usage in Controllers folder.
Installation
The library is available on NuGet. Just search for OperationResultTools.AspNetCore in the Package Manager GUI or run the following command in the .NET CLI:
dotnet add package OperationResultTools.AspNetCore
ASP.NET Core integration library (Minimal API projects)
Note: This is the library to use if you're working with Minimal APIs.
This library provides HttpContext extension methods to automatically map Operation Results (that may come, for sample, from a business layer) to HTTP responses, along with the appropriate status codes.
A full sample is available in the Samples folder. Search for the registration and the usage in Program.cs file.
Installation
The library is available on NuGet. Just search for OperationResultTools.AspNetCore.Http in the Package Manager GUI or run the following command in the .NET CLI:
dotnet add package OperationResultTools.AspNetCore.Http
Contribute
The project is constantly evolving. Contributions are welcome. Feel free to file issues and pull requests on the repo and we'll address them as we can.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net6.0 is compatible. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 is compatible. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
-
net6.0
- OperationResultTools (>= 1.0.29)
-
net7.0
- OperationResultTools (>= 1.0.29)
-
net8.0
- OperationResultTools (>= 1.0.29)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
1.0.40 | 143 | 10/21/2024 |
1.0.38 | 143 | 9/23/2024 |
1.0.37 | 201 | 6/17/2024 |
1.0.35 | 399 | 2/23/2024 |
1.0.30 | 326 | 12/13/2023 |
1.0.27 | 645 | 4/13/2023 |
1.0.25 | 329 | 3/6/2023 |
1.0.24 | 427 | 1/9/2023 |
1.0.22 | 442 | 12/20/2022 |
1.0.20 | 418 | 12/2/2022 |
1.0.17 | 379 | 11/16/2022 |
1.0.13 | 364 | 11/9/2022 |
1.0.12 | 542 | 10/4/2022 |
1.0.6 | 439 | 9/20/2022 |
1.0.4 | 434 | 9/17/2022 |