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
An Apology about my Nuget Package
Well I've been playing with a nuget package for doing paging stuff in ASP.NET and well I never thought there'd be 1.7k downloads. I thoght not making a 1.0 version would make it clear that it was a...
Thursday, 20 March 2025 21:30
//
1 minute read
Working on Legacy Codebases (or a contractor's life)
As a freelance developer one of the skill-sets you need to learn quickly is how to work on existing codebases effectively. I've been lucky to have built a bunch of from--scratch systems; this is a JOY...
Wednesday, 06 November 2024 22:30
//
17 minute read
On Logging in ASP.NET Applications (Part 1...probably)
Logging is OF COURSE a critical part of applications however I often see it misunderstood / misused in ASP.NET applications. This is part post and part manifesto on how to effectively log in ASP.NET...
Sunday, 27 October 2024 17:00
//
10 minute read
Blog Update
You may noticed my frantic frequency of posts (I was at two a day for a while month!) has slowed down of late so I thought I'd give a quick update.
NOTE: Translation seems to have broken along the...
Saturday, 12 October 2024 14:40
//
2 minute read
Resume | Scott Galloway | .NET Developer | Remote
I'm a versatile and accomplished developer and lead with an over 25 year track record building teams and platforms and revitalising startups.
Proficient in C#, ASP.NET, and modern web frameworks, with...
Sunday, 29 September 2024 22:30
//
6 minute read
A Copy Button For Highlight.js
In this site I use Hightlight.js to render code snippets client side. I like this as it keeps my server side code clean and simple. However, I wanted to add a copy button to each code snippet so that...
Saturday, 28 September 2024 14:15
//
5 minute read
Custom Config Section Extensions
It seems like everyone has a version of this code, I first came across this approach from Filip W and recently my old colleague Phil Haack has his version.
Just for completion this is how I do...
Friday, 27 September 2024 06:20
//
4 minute read
Querying Postgres Data in Grafana
In a previous post I detailed how I added Grafana to my docker-compose to provide insights into performance for this site. As I have Umami on here AND self host the database for that in this post I'l...
Thursday, 19 September 2024 19:30
//
2 minute read
Freelancing and disappointment
IF YOU'RE LOOKING FOR A DEVELOPER / LEADER PLEASE CONTACT ME
I've been a freelance developer for more than a decade now (since I left Microsoft really). For the most part it's been perfect for me. I...
Thursday, 19 September 2024 18:30
//
2 minute read