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
Locking in CockroachDB, Part 2 - Finding Locked Rows
CockroachDB has an internal table that shows all locked rows. With a simple query, you can find out a lot about what is locked, and maybe the cause.
Sep 24, 2025
#
CockroachDB
,
Transactions
,
Locks
Locking in CockroachDB, Part 1 - Locking Rows and Tables with SELECT FOR UPDATE
With CockroachDB, you can lock rows or whole tables using SELECT FOR UPDATE. This post explains how it works, and how to avoid locking too much data.
Sep 22, 2025
#
CockroachDB
,
Transactions
,
Locks
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
,
Locks
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
«
»
Cite
×