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…
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…
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…
Dev models for Web Applications In my LONG (30 year) history of building web applications there have been many ways to build a web app. Pure HTML 1990-> - the very first (if you ignore BBS / text based systems) mechanism for building web apps was Plain Old…
Docker Compose is a tool for defining and running multi-container Docker applications. With Compose, you use a YAML file to configure your application's services. Then, with a single command, you create and start all the services from your configuration. At…
Tailwind CSS is a utility-first CSS framework for rapidly building custom designs. It is a highly customizable, low-level CSS framework that gives you all of the building blocks you need to build bespoke designs without any annoying opinionated styles you have…
Found through a comment on Jon Galloway's blog (no relation), this site has a whole bunch of nice little client side controls including a particularly nice calendar control. Anyway, thought I'd post the link for future reference :-) - oh and here's Matt…
Well, OK I’m over dramatizing it a tad :) As you may have noticed from my last post I’ve started working of some stuff which is outside my comfort zone. I recently joined a company called cozwecan,working for a chap named @RobertTheGrey, the first project…
Just been reading on Matt Bethers blog on a technique by Már Örlygsson on a great way of doing popups (disclaimer: I know, popups are evil...fall of civilization...STDs etc....), which if you *really* have to use them is just the best way I've seen -…
Just realised how few people use these (quick office poll on the use of Windows-D to minimise all windows...) So, have a look at this shortcut key list
 Ok, not a catchy title but it really is what I’ve been up to for the past 3 months. As I wrote before, I’m currently working with the awesome @RobertTheGrey on a project called…
CAUTION: When I say hack I mean it…this is in NO WAY production ready…it’s just a sample at this stage. If it causes your dog to explode, don’t blame me! I thought I’d throw a work in progress online for people to have a play with. This is one of my little pet…
When we were adding WebForm routing to ASP.NET 4 Beta 1, we didn’t have a chance to add in a couple of methods which make working with Routes and Web Forms a lot easier! Note: the code below is ‘similar’ to that which we’re adding ASP.NET 4 Beta 2, *that* code…