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
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
Clear Specific Cookies in Chrome, Edge, Brave, and Other Chromium-Based Browsers
Chromium based browsers like Chrome, Edge, and Brave make it very difficult to clear cookies for specific sites. Here is the easy way to do it.
Sep 13, 2025
#
Chromium
,
Edge
,
Chrome
,
Brave
,
Cookies
,
Browser
Putting Lazy Tasks in a Cache, and Computing Only Once, When First Requested
This is an update to an earlier post on caching Tasks and only executing them when first accessed. This version uses Lazy<Task
> to hold the Task.
Sep 12, 2025
#
Cache
,
Task
,
MemoryCache
,
Async
,
Asynchronous
,
WebApi
,
Lazy
C# Lambdas Part 3, Setting Parameters Up Front, and Mismatching Func and Action Definitions
Did you know you can define parameters up front in a lambda, and satisfy a Func or Action with a method that doesn’t match the definition of the Func/Action?
Sep 10, 2025
#
Lambda
,
Action
,
Func
Using a Lock in a Web API Action Method
Here’s a simple example of using a lock in a Web API action method.
But you probably shouldn’t
.
Sep 4, 2025
#
Async
,
dotNet
,
WebApi
,
Lock
Statement and Transaction Timeouts in Postgres and CockroachDB
There are multiple timeouts to work with when using Postgres and CockroachDB. These can help prevent single statements from running too long, stop transactions that are idle or taking too long, and release locks.
Aug 13, 2025
#
Postgres
,
CockroachDB
,
Transactions
,
Timeouts
Connecting to a Local CockroachDB from DataGrip or DBeaver
I’ve been using CockroachDB for a while, generally accessing via the command line or from C# applications. When I tried to use via DataGrip, the connection properties were not immediately obvious.
Aug 12, 2025
#
CockroachDB
,
DataGrip
,
DBeaver
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
Using OBS Studio to Record Podcasts for Free
OBS Studio is usually used to record or stream video, but it can be used to record podcasts.
Jul 24, 2025
#
Podcasting
,
OBS Studio
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
»
Cite
×