no dogma blog
no dogma blog
Blog Posts
Podcast
Web API Lambda Course
Polly Course
Photos
Contact
Support this Site
About
RSS
Light
Dark
Automatic
C#
Fast .NET CLI Downloader
I often download large files like Linux distros, these can take a while, so I wrote a fast downloader that splits the file into multiple parts and downloads them in parallel.
Mar 25, 2026
#
CLI
,
Downloader
,
C#
,
.NET
A Simple .NET CLI Web Server
I got a little tired of running
python -m http.server
every time I wanted to serve some files, so I wrote a simple .NET CLI web server.
Mar 24, 2026
#
CLI
,
WebServer
,
C#
,
.NET
Kafka CLI in C#
Here is a C# CLI for Kafka to produce and consume messages, and list, create, and delete topics.
Feb 26, 2026
#
Kafka
,
C#
,
CLI
,
Confluent
Command Line Interface Producer for Kafka in C#
This is a follow-up to my CLI consumer for Kafka in C#. Here is a simple CLI producer in C#.
Feb 6, 2026
#
Confluent
,
Kafka
,
C#
,
CLI
Command Line Interface Consumer for Kafka in C#
I used to use the Confluent CLI to consume messages from Kafka, but recently it stopped working for me. So I wrote my own simple CLI consumer in C#.
Feb 4, 2026
#
Confluent
,
Kafka
,
C#
,
CLI
Morse Code Messages with C#
Just for the sheer joy of it, here is a simple C# program that encodes Morse code messages and plays them on Windows and Linux.
Sep 17, 2025
#
C#
,
dotNet
,
Audio
Sorting Strings when the Embedded Number has a Variable Number of Digits
Sorting strings that contain numbers gets a little more complicated when the number has a variable number of digits. You can end up with a list like this - 1, 10, 11, 12, 2, 3, 4…
Jul 19, 2025
#
C#
,
Sorting
,
LINQ
Create a Task and Start it Later
I usually want to run a task immediately, but there are times when I want to create a task, but not start it until later. This post will show you how to do defer execution of a task.
Mar 14, 2025
#
C#
,
dotNet
,
Task
,
Async
,
Asynchronous
Killing a Worker Application from a BackgroundService
There are a few ways to kill a host application from a BackgroundService. In this post I’ll show what is probably the most correct way.
Feb 18, 2025
#
C#
,
.NET
,
BackgroundService
,
Worker
Making a Non Blocking Synchronous Call Inside a Background Service
This post shows you how to use a synchronous call in a background service without blocking the application or other background services.
Nov 7, 2024
#
C#
,
HostedService
,
BackgroundService
,
Async
,
Asynchronous
,
Sync
,
Synchronous
»
Cite
×