Giraffe.Fixi 0.5.7

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

// Install Giraffe.Fixi as a Cake Tool
#tool nuget:?package=Giraffe.Fixi&version=0.5.7                

Giraffe.Fixi

fixi is a minimalist implementation of generalized hypermedia controls. It can be considered a very slimmed-down version of libraries like htmx.

Getting fixi and Giraffe.Fixi

fixi is designed to be vendored and served with an application. There are instructions on its page that detail how to obtain a copy. Once it is in your project, either ensure it is somewhere like wwwroot, or otherwise add it to your project file so that it will be included in your build.

As you are reading a NuGet package README, we will assume you know how to install this library.

Using

On the server side, this library adds an IsFixiRequest property to HttpContext, which will return true if the request was generated from fixi.

In the view engine, each of fixi's six attributes have counterparts; for example, to generate an fx-action attribute, use _fxAction. Each of these take a string parameter, except for _fxSwap, which requires an instance of FixiSwap; and _fxIgnore, which requires no parameters at all.

Additionally, there are six attributes with the most common HTTP methods; using _fxDelete, _fxHead, _fxGet, _fxPatch, _fxPost, and _fxPut will be quicker (and less error-prone) than _fxMethod "get", for example.

Updating

This library was built in conjunction with fixi v0.5.7. Given the nature of its minimalist API, and the fact that there are no version-specific CDN links, this library will likely continue to work with future versions. (There may be more upgrades for .NET or Giraffe than will be required to change the fixi API.)

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.  net9.0 is compatible.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.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
0.5.7 36 1/29/2025

Initial version