Oxpecker 0.3.0
See the version list below for details.
dotnet add package Oxpecker --version 0.3.0
NuGet\Install-Package Oxpecker -Version 0.3.0
<PackageReference Include="Oxpecker" Version="0.3.0" />
paket add Oxpecker --version 0.3.0
#r "nuget: Oxpecker, 0.3.0"
// Install Oxpecker as a Cake Addin #addin nuget:?package=Oxpecker&version=0.3.0 // Install Oxpecker as a Cake Tool #tool nuget:?package=Oxpecker&version=0.3.0
Oxpecker
Oxpecker is a functional wrapper around ASP.NET Core Endpoint routing (sometimes called Minimal API).
This library is basically a revised version of Giraffe, it mostly sticks to it's successful API (hence the name). Improvements involve changing some core types, performance of template handlers, simplifying handlers and dropping a lot of outdated functionality.
Features:
- Native ASP.NET Core Endpoint routing integration
- ViewEngine with convenient DSL for HTML
- Strongly typed route parameters
- Endpoint handlers and endpoint middlewares, flexible composition
- JSON binding and serialization
- Form binding
- URL parameters binding
- Response caching
- Streaming
- Authorization
- eTag support
- Many useful HttpContext extensions
Documentation:
TBD, for now you can use Giraffe documentation, with the following differences:
routef
parameters should be surrounded with curly braces{}
, this allows using Route constraintsroutef
handler arguments are now curried, not tuplifiedHttpHandler
concept is separated intoEndpointHandler
andEndpointMiddlware
. The difference is that the former doesn't acceptnext
parameter, while the latter does.- Case insensitive functions (
*Ci
) are dropped, since everything is case insensitive by default - Some other route functions are dropped
JSON.ISerializer
only requires one method implemented- Model binding will throw exceptions to be caught in common middleware (see examples/Basic)
- .NET 8 minimal target
- CE-based strongly typed ViewEngine built on class inheritance
- Oxpecker project is planned to be moved to
fsprojects
organization once it reaches 200 stars, expect high quality of maintenance
Product | Versions 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. |
-
net8.0
- FSharp.Core (>= 8.0.101)
- Microsoft.IO.RecyclableMemoryStream (>= 3.0.0)
- Oxpecker.ViewEngine (>= 0.1.0)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on Oxpecker:
Package | Downloads |
---|---|
Oxpecker.OpenApi
OpenApi support for Oxpecker |
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
1.1.2 | 134 | 12/21/2024 |
1.1.1 | 607 | 11/27/2024 |
1.0.0 | 376 | 11/19/2024 |
0.15.0 | 506 | 11/9/2024 |
0.14.3 | 218 | 11/6/2024 |
0.14.2 | 318 | 10/26/2024 |
0.14.1 | 2,505 | 8/23/2024 |
0.14.0 | 152 | 8/22/2024 |
0.13.1 | 247 | 8/13/2024 |
0.13.0 | 378 | 7/17/2024 |
0.12.0 | 126 | 7/16/2024 |
0.11.1 | 185 | 7/8/2024 |
0.11.0 | 120 | 7/5/2024 |
0.10.1 | 1,038 | 5/8/2024 |
0.10.0 | 723 | 4/29/2024 |
0.9.3 | 358 | 4/10/2024 |
0.9.2 | 153 | 4/5/2024 |
0.9.1 | 118 | 4/4/2024 |
0.9.0 | 161 | 3/23/2024 |
0.8.1 | 167 | 2/29/2024 |
0.7.1 | 244 | 2/12/2024 |
0.7.0 | 138 | 2/7/2024 |
0.6.1 | 129 | 2/5/2024 |
0.6.0 | 118 | 2/3/2024 |
0.5.1 | 121 | 1/26/2024 |
0.5.0 | 121 | 1/23/2024 |
0.4.0 | 129 | 1/22/2024 |
0.3.0 | 118 | 1/19/2024 |
0.2.0 | 123 | 1/15/2024 |
0.1.0 | 156 | 1/12/2024 |
Added support for server-side Html rendering