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
dotNet
InfluxDB and C#
InfluxDB is a time-series database that is great for storing and querying time-based data. This post shows how to set it up with Docker and access it from a C# application.
Aug 4, 2025
#
dotNet
,
InfluxDB
Batch Consume with Kafka and .NET
By default, the Confluent Kafka client consumes one message at time, but with a bit of work it can consume batches of messages.
Apr 17, 2025
#
Confluent
,
Kafka
,
dotNet
,
Batch
,
Async
,
Asynchronous
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
Throw ThrowIfCancellationRequested in a Method that Returns a Value when Using a Cancellation Token
When sending a cancellation request to a method that returns a value, you must return a value or throw an exception. Here is how to throw the exception.
Jan 3, 2024
#
C#
,
dotNet
,
Async
,
Asynchronous
,
CancellationToken
Simple Cancellation Token Example
Here is an example of using a cancellation token to stop the execution of a method.
Dec 28, 2023
#
C#
,
dotNet
,
Async
,
Asynchronous
,
CancellationToken
Sending MediatR Notifications Immediately After Saving an Entity with Entity Framework Core
After you save an entity, you may want to send out a notification so other parts of your application can react to the change. This post shows how to do that with MediatR and Entity Framework Core.
May 2, 2023
#
Entity Framework
,
MediatR
,
Notifications
,
dotNet
Using Step Functions to Orchestrate a Series of Lambda Functions
See how to use AWS Step Functions to control the flow of a series of Lambda functions. In this example, the Lambda functions execute quickly, return a result, and trigger the next step.
Apr 7, 2023
#
AWS
,
Step Functions
,
AWS Lambda
,
dotNet
Triggering a .NET Lambda Function from an Amazon SQS Queue
.NET Lambda functions can be triggered when messages arrive in an SQS queue. There are a few steps to set this up, read on to see how.
Apr 6, 2023
#
AWS
,
AWS Lambda
,
Amazon SQS
,
dotNet
Turning off Tracking for Find and FindAsync in Entity Framework
Find/FindAsync is a popular way to retrieve a single entity using its primary key with Entity Framework, but by default Entity Framework tracks that entity for changes. This post shows how to turn off tracking for Find/FindAsync.
Apr 4, 2023
#
Entity Framework
,
dotNet
,
Change Tracker
Accessing Objects Just After they are Saved by Entity Framework
Here is a way to access objects just after they are saved by Entity Framework and have had a primary key assigned to them.
Apr 2, 2023
#
dotNet
,
Entity Framework
,
Change Tracker
»
Cite
×