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#
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
Sharing Data Between BackgroundServices
It’s not immediately obvious how you can share data between background services. In this post, I show ways of achieving this.
Oct 25, 2024
#
C#
,
BackgroundService
,
HostedService
Getting the Running Operating System in C#
It’s not obvious how to get the operating system your C# application is running, but it can be done with a single line of code.
Sep 30, 2024
#
C#
,
.NET
,
Operating System
,
Version
,
Linux
Using Postgres with C#
It’s not a problem to use Postgres C# and .NET. You can also use Entity Framework.
Jun 6, 2024
#
Postgres
,
C#
,
Docker
»
Cite
×