Categories
Alpine
Alpine.js
ASP.NET
ASP.NET Core
Blog
C#
Clearing the smoke
DaisyUI
Docker
EasyNMT
Email Newsletter
Entity Framework
FluentEmail
Freelancing
GitHub Actions
Google Auth
Grafana
Hangfire
Highlight.js
HTMX
IHostedService
ImageSharp
Interviewing
introduction
Javascript
Legacy Code
Logging
Markdown
Mermaid
Microsoft
Moq
Nuget
OpenSearch
Polly
Postgres
Prometheus
Razor
Resume
RSS
Seq
Serilog
Tailwind
Umami
Unit Testing
WebAPI
xUnit
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
Switching Themes for Mermaid (Updated)
I use Mermaid.js to create the dope diagrams you see in a few posts. Like the one below.
However something that annoyed me is that it wasn't reactive to switching themes (dark/light) and there seemed...
Thursday, 29 August 2024 05:00
//7 minute read
Adding XSRF for JavaScript
When adding the search box in the prior article, we left out a critical security feature: XSRF protection. This article will cover how to add XSRF protection to the search box.
What is XSRF?
XSRF...
Thursday, 22 August 2024 05:30
//2 minute read