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
BackgroundService
Using the Confluent Kafka Consumer in a Non-Blocking Way in .NET and C#
The Consume method of the Kafka Confluent library for C# is synchronous, this post shows you how to use it in a non-blocking way.
Nov 17, 2024
#
Confluent
,
Kafka
,
Asynchronous
,
Synchronous
,
BackgroundService
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
,
Synchronous
,
Asynchronous
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
Running a Hosted Service in a Console Application
This is a simple example of running a hosted service in a console application. You might want to do this if you need to run a background task in a console application.
May 29, 2024
#
HostedService
,
BackgroundService
,
console
Doing Background Work with a Hosted Service in Web API
Adding a background service to Web API is easy to do, here’s how. (Not saying you should do this!)
May 23, 2024
#
Web API
,
HostedService
,
BackgroundService
Cite
×