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

A Newsletter Subscription Service Pt. 1 - Requirements and Subscription Page
While perusing other people's blogs I noticed a lot of them have a subscription service which allows users to sign up to have an email sent to them weekly with the posts from that blog. I decided to...

Saturday, 21 September 2024 19:06

//

11 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

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

Background Translations Pt. 3
In previous articles, we have discussed the importance of translation in the context of web applications. We have also explored the use of the EasyNMT library to perform translations in an ASP.NET...

Sunday, 25 August 2024 03:20

//

10 minute read

logo

©2024 Scott Galloway