Giraffe.Htmx.Common 2.0.8

There is a newer prerelease version of this package available.
See the version list below for details.
dotnet add package Giraffe.Htmx.Common --version 2.0.8
                    
NuGet\Install-Package Giraffe.Htmx.Common -Version 2.0.8
                    
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.Htmx.Common" Version="2.0.8" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Giraffe.Htmx.Common" Version="2.0.8" />
                    
Directory.Packages.props
<PackageReference Include="Giraffe.Htmx.Common" />
                    
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 Giraffe.Htmx.Common --version 2.0.8
                    
#r "nuget: Giraffe.Htmx.Common, 2.0.8"
                    
#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 Giraffe.Htmx.Common@2.0.8
                    
#: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=Giraffe.Htmx.Common&version=2.0.8
                    
Install as a Cake Addin
#tool nuget:?package=Giraffe.Htmx.Common&version=2.0.8
                    
Install as a Cake Tool

Giraffe.Htmx.Common

This package contains common code shared between Giraffe.Htmx and Giraffe.ViewEngine.Htmx, and will be automatically installed when you install either one. It also contains htmx as a static web asset, allowing it to be loaded from your local (or published) project.

htmx version: 2.0.8

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.  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 (2)

Showing the top 2 NuGet packages that depend on Giraffe.Htmx.Common:

Package Downloads
Giraffe.Htmx

htmx header extensions and helpers for Giraffe

Giraffe.ViewEngine.Htmx

Extensions to Giraffe View Engine to support htmx attributes and their values

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
4.0.0-alpha6a 126 1/7/2026
2.0.8 203 12/28/2025
2.0.6 369 7/3/2025
2.0.4 661 12/13/2024
2.0.3 530 10/18/2024
2.0.2 572 8/13/2024
2.0.1 237 7/29/2024
2.0.0 3,227 6/18/2024
2.0.0-beta4 268 5/23/2024
2.0.0-beta3 245 4/18/2024
2.0.0-beta1 227 3/19/2024
2.0.0-alpha2 286 2/12/2024
2.0.0-alpha1 256 1/31/2024
1.9.12 2,820 4/18/2024
1.9.11 2,394 3/19/2024
1.9.10 768 1/3/2024
1.9.8 621 11/22/2023
1.9.6 430 9/28/2023
1.9.5 373 8/25/2023
1.9.4 503 7/26/2023
Loading failed

- Adds package-provided script (available via Giraffe.Htmx.Common); use app.MapStaticAssets() for publish support, use builder.UseStaticWebAssets() for non-development/non-published execution
- [View Engine] Deprecates Script.minified and Script.unminified (use Script.cdnMinified and Script.cdnUnminified instead)
- Updates script tags to pull htmx 2.0.8 (no header or attribute changes)
- Adds .NET 10 support

See full release notes, including more info about the package-provided script, at https://git.bitbadger.solutions/bit-badger/Giraffe.Htmx/releases/tag/v2.0.8

NOTE: As of 2.0.6, the CDN for htmx changed from unpkg.com to cdn.jsdelivr.net; sites with Content-Security-Policy headers will want to update their allowed script-src domains accordingly