Find your next readFilters
Reset

Page 14 of 42 (Total items: 825)
ASP.NET Core Caching with HTMX

Caching is an important technique to both improve user experience by loading content faster and to reduce the load on your server. In this article I'll show you how to use the built-in caching features of ASP.NET Core with HTMX to cache content on the client…

Adding Entity Framework for Blog Posts (Part 1, Setting up the Database)

Buckle in because this will be a long one! You can see parts 2 and 3 here and here. Introduction While I've been happy with my file based approach to blogging, as an excercise I decided to move to using Postgres for storing blog posts and comments. In this…

Using Docker Compose for Development Dependencies

When developing software traditionally we'd spin up a database, a message queue, a cache, and maybe a few other services. This can be a pain to manage, especially if you're working on multiple projects. Docker Compose is a tool that allows you to define and…

Adding Paging with HTMX and ASP.NET Core with TagHelper

Now that I have a bunch of blog posts the home page was getting rather length so I decided to add a paging mechanism for blog posts. This goes along with adding full caching for blog posts to make this a quick and efficient site. See the Blog Service source…

Using Umami for Local Analytics

One of the things that annoyed me about my current setup was having to use Google Analytics to get visitor data (what little there is of it ??). So I wanted to find something I could self-host that didn't pass data to Google or any other third party. I found…

Guid format string from a string input extension.

Small Posts FTW Small but potentially useful solution to a problem I was having. Namely, how to generate a GUID from a string input where the Guid is always valid but unique for any given input string. I needed this for my RSS feed generator where I wanted to…

Adding a RSS feed with ASP.NET Core

RSS (and Atom) is still the only widely adopted format for syndicating content. It's a simple XML format that can be consumed by a wide range of feed readers. In this post, I'll show you how to add an RSS feed to your ASP.NET Core application. Creating the…

Adding Background Sending for Emails

##Introduction In my previous post I detailed how to send emails using FluentEmail and the SMTP Client. However one issue with this is the delay in sending emails. SMTP servers tend to be slow and can take a while to send emails. This can be annoying for users…

Sending HTML Emails from ASP.NET Core with FluentEmail

This is a fairly simple article but will cover some of the odness of using FluentEmail in ASP.NET Core to send HTML emails I haven't seen elsewhere. The Problem Sending HTML mails is itself kinda simple with SmtpClient, but it's not very flexible and doesn't…

A Blast from the past

This just popped up on Facebook, an old image of me in my office at Microsoft. Office at Microsoft A long long time ago in a country far, far away I was a lowly PMII at Microsoft. I was working on the ASP.NET team and was responsible for the release lifecycle…

A Super Simple Comment System with Markdown

NOTE: WORK IN PROGRESS I've been looking for a simple comment system for my blog that uses Markdown. I couldn't find one that I liked, so I decided to write my own. This is a simple comment system that uses Markdown for formatting. The second part of this will…

Adding Google Auth without ASP.NET Identity Database

In this app I wanted to add a simpple mechanism of allowing login to add comments (and some admin tasks) to the app. I wanted to use Google Auth for this purpose. I did not want to use the ASP.NET Identity database for this purpose. I wanted to keep the app as…

Automatically Translating Markdown Files with EasyNMT

EasyNMT is a locally installable service that provides a simple interface to a number of machine translation services. In this tutorial, we will use EasyNMT to automatically translate a Markdown file from English to multiple languages. You can find all the…

Adding mermaid.js with htmx

Mermaid is a simple diagramming format that takes text-based input and generates diagrams in SVG format. It is a great tool for creating flowcharts, sequence diagrams, Gantt charts, and more. In this tutorial, we will explore how to use Mermaid with htmx to…

Using Markdown for Blogging

Markdown is a lightweight markup language that you can use to add formatting elements to plaintext text documents. Created by John Gruber in 2004, Markdown is now one of the world’s most popular markup languages. On this site I use a super simple approach to…

Making your ASP.NET Core Website a PWA

In this article, I'll show you how to make your ASP.NET Core website a PWA (Progressive Web App). Prerequisites It's really pretty simple see https://github.com/madskristensen/WebEssentials.AspNetCore.ServiceWorker/tree/master ASP.NET Bits Install the Nuget…

Htmx with Asp.Net Core

Using HTMX with ASP.NET Core is a great way to build dynamic web applications with minimal JavaScript. HTMX allows you to update parts of your page without a full page reload, making your application feel more responsive and interactive. It's what I used to…

ImageSharp with Docker

ImageSharp is a great library for working with images in .NET. It's fast, easy to use, and has a lot of features. In this post, I'll show you how to use ImageSharp with Docker to create a simple image processing service. What is ImageSharp? ImageSharp enables…

Clearing the smoke

Cloud free systems for startups. First I am NOT saying that the cloud is somehow evil or unnecessary just that for many startups it can be unnecessary / expensice for either your main or dev / test systems. Why use cloud based services? Admin...this is my…

Using GitHub Actions to build and push a docker image

This is a simple example of how to use GitHub Actions to build and push a docker image to a container registry. Prerequisites A docker file exists for the project you want to build and push. A GitHub repository exists for the project. A container registry…

Page 14 of 42 (Total items: 825)
logo

© 2026 Scott Galloway — Unlicense — All content and source code on this site is free to use, copy, modify, and sell.