CardboardBox.Extensions.AspNetCore 2.0.0

dotnet add package CardboardBox.Extensions.AspNetCore --version 2.0.0                
NuGet\Install-Package CardboardBox.Extensions.AspNetCore -Version 2.0.0                
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="CardboardBox.Extensions.AspNetCore" Version="2.0.0" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add CardboardBox.Extensions.AspNetCore --version 2.0.0                
#r "nuget: CardboardBox.Extensions.AspNetCore, 2.0.0"                
#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 CardboardBox.Extensions.AspNetCore as a Cake Addin
#addin nuget:?package=CardboardBox.Extensions.AspNetCore&version=2.0.0

// Install CardboardBox.Extensions.AspNetCore as a Cake Tool
#tool nuget:?package=CardboardBox.Extensions.AspNetCore&version=2.0.0                

Cardboard Box Extensions - ASP.Net Core

A collection of extensions for ASP.net core web-api projects.

The library is available as a NuGet package.

The library is built on top of the CardboardBox.Extensions and provides additional functionality for ASP.Net Core projects.

  • BaseController - A base controller class that provides response boxing using the Boxed classes from the CardboardBox.Extensions library.
    • ProducesBoxAttribute - Short hand for ProducesResponseTypeAttribute(typeof(Boxed), 200)
    • ProducesBoxAttribute<T> - Short hand for ProducesResponseTypeAttribute(typeof(Boxed<T>), 200)
    • ProducesArrayAttribute<T> - Short hand for ProducesResponseTypeAttribute(typeof(BoxedArray<T>), 200)
    • ProducesPagedAttribute<T> - Short hand for ProducesResponseTypeAttribute(typeof(BoxedPaged<T>), 200)
    • ProducesErrorAttribute - Short hand for ProducesResponseTypeAttribute(typeof(BoxedError), 500)
  • JSON Web Tokens - The library provides a set of classes to help with JWT token generation and validation.
    • JwtToken - A class that represents a JWT token that can be used to generate and parse tokens.
    • JwtExtensions - A helper class of extensions for working with JWT tokens, claims, and other related functionality.
    • JwtTokenResult - A class that represents the result of the token parsing process.
Product Compatible and additional computed target framework versions.
.NET 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. 
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
2.0.0 90 11/11/2024