Fluens.Web 0.5.1

There is a newer version of this package available.
See the version list below for details.
dotnet add package Fluens.Web --version 0.5.1
                    
NuGet\Install-Package Fluens.Web -Version 0.5.1
                    
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="Fluens.Web" Version="0.5.1" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Fluens.Web" Version="0.5.1" />
                    
Directory.Packages.props
<PackageReference Include="Fluens.Web" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Fluens.Web --version 0.5.1
                    
#r "nuget: Fluens.Web, 0.5.1"
                    
#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.
#:package Fluens.Web@0.5.1
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Fluens.Web&version=0.5.1
                    
Install as a Cake Addin
#tool nuget:?package=Fluens.Web&version=0.5.1
                    
Install as a Cake Tool

Fluens.Web

ASP.NET Core base types for Fluens web libraries: Result-to-HTTP mapping, global exception handler, and paged responses.

Installation

dotnet add package Fluens.Web

Usage

fluensBuilder.AddWeb();

// In middleware pipeline
app.UseExceptionHandler(); // GlobalExceptionHandler returns ProblemDetails

ResultExtensions map Result / Result<T> to HTTP responses:

app.MapPost("/orders", async (CreateOrder cmd, ICommandDispatcher dispatcher, CancellationToken ct) =>
{
    var result = await dispatcher.SendAsync(cmd, ct);
    return result.ToHttpResult(); // 204 on success, 4xx/5xx on failure
});

Error mapping: NotFoundError → 404, ValidationError → 400, ConflictError → 409, ForbiddenError → 403, unknown Error → 500.

License

This project is licensed under the MIT License.

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

NuGet packages (7)

Showing the top 5 NuGet packages that depend on Fluens.Web:

Package Downloads
Fluens.Web.Contexts

CorrelationId propagation, context accessors, and consumed message context for ASP.NET Core applications.

Fluens.Web.Api

Endpoint discovery, OpenAPI documentation with Scalar UI, and fixed-window rate limiting for ASP.NET Core minimal APIs.

Fluens.Web.Cors

CORS configuration and middleware setup for Fluens web applications.

Fluens.Web.Auth

JWT Bearer authentication and security headers middleware for Fluens web applications.

Fluens.Web.Modularity

Module discovery, registration, and pipeline configuration for modular web applications.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
0.6.6 78 3/11/2026
0.6.5 131 3/4/2026
0.6.4 124 3/4/2026
0.6.3 137 3/3/2026
0.6.2 141 3/2/2026
0.6.1 142 3/2/2026
0.6.0 133 3/1/2026
0.5.7 136 3/1/2026
0.5.6 132 3/1/2026
0.5.5 136 2/28/2026
0.5.4 132 2/28/2026
0.5.3 140 2/27/2026
0.5.2 132 2/27/2026
0.5.1 137 2/27/2026
0.5.0 140 2/26/2026
0.3.2 141 2/26/2026
0.3.1 141 2/26/2026
0.3.0 145 2/24/2026
0.2.5 138 2/24/2026
0.2.4 137 2/24/2026
Loading failed