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…
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…
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…
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…
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…
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…
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…
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…
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 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…