OperationResultTools.AspNetCore 1.0.13

There is a newer version of this package available.
See the version list below for details.
dotnet add package OperationResultTools.AspNetCore --version 1.0.13                
NuGet\Install-Package OperationResultTools.AspNetCore -Version 1.0.13                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="OperationResultTools.AspNetCore" Version="1.0.13" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add OperationResultTools.AspNetCore --version 1.0.13                
#r "nuget: OperationResultTools.AspNetCore, 1.0.13"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install OperationResultTools.AspNetCore as a Cake Addin
#addin nuget:?package=OperationResultTools.AspNetCore&version=1.0.13

// Install OperationResultTools.AspNetCore as a Cake Tool
#tool nuget:?package=OperationResultTools.AspNetCore&version=1.0.13                

OperationResults

Lint Code Base CodeQL License: MIT

A set of lightweight libraries to totally decouple operation results and actual application responses.

Core library

NuGet Nuget

Installation

The library is available on NuGet. Just search OperationResultTools in the Package Manager GUI or run the following command in the Package Manager Console:

Install-Package OperationResultTools

ASP.NET Core integration library

NuGet Nuget

This library provides HttpContext extensions to automatically map Operation Results (that may come, for example, from a business layer) to HTTP responses, along with the appropriate status codes.

A full example is available in the Samples folder. Search for the registration in the Program.cs file and the usage in Controllers.

Installation

The library is available on NuGet. Just search OperationResultTools.AspNetCore in the Package Manager GUI or run the following command in the Package Manager Console:

Install-Package OperationResultTools.AspNetCore

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 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 was computed.  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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

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 101 10/21/2024
1.0.38 134 9/23/2024
1.0.37 186 6/17/2024
1.0.35 386 2/23/2024
1.0.30 321 12/13/2023
1.0.27 633 4/13/2023
1.0.25 322 3/6/2023
1.0.24 421 1/9/2023
1.0.22 438 12/20/2022
1.0.20 412 12/2/2022
1.0.17 373 11/16/2022
1.0.13 356 11/9/2022
1.0.12 532 10/4/2022
1.0.6 431 9/20/2022
1.0.4 426 9/17/2022