Adding Entity Framework for Blog Posts (Part 2)
You can find all the source code for the blog posts on GitHub Part 2 of the series on adding Entity Framework to a .NET Core project. Part 1 can be found here. Introduction In the previous post, we...

Thursday, 15 August 2024 18:00

//

3 minute read

Adding a C# Client For Umami API
Imtroduction In this post, I will show you how to create a C# client for the Umami reporting API. This is a simple example that demonstrates how to authenticate with the API and retrieve data from...

Wednesday, 14 August 2024 01:27

//

6 minute read

Using ImageSharp.Web with ASP.NET Core
ImageSharp is a powerful image processing library that allows you to manipulate images in a variety of ways. ImageSharp.Web is an extension of ImageSharp that provides additional functionality for...

Tuesday, 13 August 2024 14:16

//

3 minute read

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

Monday, 12 August 2024 00:50

//

4 minute read

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

Sunday, 11 August 2024 04:53

//

6 minute read

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

Friday, 09 August 2024 17:17

//

3 minute read

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

Friday, 09 August 2024 12:50

//

3 minute read

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

Thursday, 08 August 2024 15:53

//

5 minute read

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

Wednesday, 07 August 2024 17:17

//

1 minute read

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

Wednesday, 07 August 2024 13:53

//

3 minute read

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

Wednesday, 07 August 2024 08:15

//

4 minute read

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

Wednesday, 07 August 2024 00:30

//

5 minute read

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

Tuesday, 06 August 2024 21:30

//

2 minute read

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

Tuesday, 06 August 2024 18:50

//

2 minute read

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

Monday, 05 August 2024 08:06

//

6 minute read

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

Saturday, 03 August 2024 13:30

//

7 minute read

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

Friday, 02 August 2024 20:00

//

3 minute read

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

Friday, 02 August 2024 17:00

//

11 minute read

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

Thursday, 01 August 2024 11:36

//

Less than a minute

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

Thursday, 01 August 2024 03:42

//

3 minute read

logo

©2024 Scott Galloway