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
Posts
Putting Tasks in a Cache, and Computing Only Once, When First Requested
Caches are usually used to store concrete values, but with C# you can store tasks for work you want to perform only once, at the time the key is first requested from the cache.
Mar 19, 2025
#
Cache
,
Task
,
MemoryCache
,
async
,
WebApi
Putting Tasks in a Cache, and Computing Only Once, when Requested
Caches are usually used to store concrete values, but with C# you can store tasks for work you want to perform only once, when the key is first requested from the cache.
Mar 19, 2025
#
Cache
,
Task
,
MemoryCache
,
async
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#
,
.NET
,
Task
,
async
Finding the Command or Entrypoint that Started a Container
You often don’t have the Dockerfile that was used to create the image of the container you are running. But what if you want to know what is run when the container starts?
Mar 5, 2025
#
Docker
,
Container
Using MySQL with Entity Framework
Getting going with MySQL and Entity Framework is very easy, follow this guide to get started.
Feb 28, 2025
#
.NET
,
Entity Framework
,
MySQL
Doing Some Cleanup in a BackgroundService
If you use the Worker Service template in .NET, you may want to do some cleanup when the background service is canceled. In this post, I’ll show you how to do this.
Feb 24, 2025
#
.NET
,
BackgroundService
,
Worker
,
CancellationToken
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
Running Apache Kafka in Docker
A simple command is all that is needed to run Apache Kafka in Docker
Feb 11, 2025
#
Kafka
,
Apache
,
Docker
,
Container
Using .NET on Linux
You can develop, build, and run enterprise .NET applications on Linux. Here is a little info to help you get started.
Feb 7, 2025
#
.NET
,
Linux
MassTransit - Competing Consumers
Simple example of using MassTransit with a single producer and a competing set of consumers.
Feb 3, 2025
#
MassTransit
,
RabbitMQ
,
.NET
»
Cite
×