1 2 Next › »
Page 1 of 2 (Total items: 15)
A Whistle-stop Tour of HTMX Extensions and Using HTMX with ASP.NET Core
HTMX is a powerful JavaScript library that allows you to create dynamic web applications with minimal JavaScript. It enables you to make AJAX requests, swap HTML content, and handle events directly in...

Friday, 02 May 2025 20:30

//

15 minute read

An Alpine.js and HTMX 'Clear Query String Parameter(s)' tag helper for ASP.NET Core
Just a quick one, I had a need in a work project for the ability to 'clear' URL parameters from a URL. This is useful when you have a URL with multiple parameters, and you want to remove one or more...

Friday, 25 April 2025 23:00

//

7 minute read

An Auto-Update Partial Updater with Alpine.js and HTMX
So in what's becoming a series, in a work project I wanted to add the ability for a partial to auto-update on a given timescale. Here's how I did it using Alpine.js and HTMX. Requirements So I wanted...

Wednesday, 23 April 2025 19:30

//

7 minute read

Using SweetAlert2 for HTMX Loading indicators (hx-indicator)
On a work project I've been using and abusing HTMX to build an admin UI. As part of this I'm using the lovely SweetAlert2 Javascript library for my confirmation dialogs. It works great but I also...

Monday, 21 April 2025 20:05

//

13 minute read

Showing Toast and Swapping Content with HTMX (And ASP.NET Core)
HTMX is a great library for making your web applications more dynamic and responsive. In this post, I'll show you how to use HTMX to show a toast notification and swap content on the page. One of the...

Saturday, 12 April 2025 13:33

//

8 minute read

Simple Search Using HTMX & EF Core for ASP.NET Core
This is just a quick article as it builds on the others in the full text search series such as the typeahead dropdown and Postgres full text search. In this post, I will show you how to implement a...

Tuesday, 17 September 2024 17:36

//

9 minute read

A Smarter Search Dropdown with HTMX
In a previous post I showed you how to create a search dropdown using Alpine.js and HTMX then I showed how we could enable Cross-Site Request Forgery protection using the AntiforgeryRequestToken in...

Monday, 16 September 2024 22:30

//

5 minute read

HTMX (and a little Alpine.js) for a SPA-like experience in ASP.NET Core
In this site I use HTMX extensively, this is a super easy way to make your site feel more responsive and smoother without having to write a lot of JavaScript. NOTE: I'm not entirely happy with this...

Sunday, 15 September 2024 06:45

//

8 minute read

Simple 'Donut Hole' Caching with HTMX
Donut hole caching can be a useful technique where you want to cache certain elements of a page but not all. However it can be tricky to implement. In this post I will show you how to implement a...

Thursday, 12 September 2024 16:00

//

4 minute read

Adding a Comment System Part 2 - Saving Comments
In the previous part in this series, I set up the database for the comments system. In this post, I'll cover how saving the comments are managed client side and in ASP.NET Core. Add New...

Saturday, 31 August 2024 09:00

//

5 minute read

logo

©2024 Scott Galloway