π Week 49
How Old Is Your Programming Language (2026 Edition)
[Epiphanies, Languages]
This is an update to last yearβs post, which I am updating annually
π Week 48
Defining Closed Types In C# & .NET
[C#, .NET]
Whenever you use inheritance in your code, you are opening yourself up for some very subtle problems downstream.
Using The Discard Pattern In C# & .NET
[C#, .NET]
Generally, when you have a variable, you probably intend to use it at some point.
Other Ways To Check For NULL In C# & .NET
[C#, .NET]
In our previous post, βIs NULL vs == NULL In C# & .NETβ, we looked at two ways to check for NULL, with a recommendation for the preferred technique, is null.
Is NULL vs == NULL In C# & .NET
[C#, NET]
If you want to check whether an object is null, there are two popular ways of doing it.
The Null Coalescing Operator in C#
[C#]
A bane of software development is having to check (where valid) whether something is null so as to perform subsequent operations.
Getting Version Of the Common Language Runtime In C# & .NET
[C#, .NET]
Recently, while building a small utility, I need to check the version of the .NET runtime that it was running under.
Setting Docker Environment Variables
[Docker]
In a previous post, βSetting Time Zones In Your Docker Containersβ, we looked at how to set the timezone in a container so as to ensure that the host and the container are using the same timezone.
π Week 47
Setting The PostgreSQL TimeZone For Client Applications In C# & .NET
[C#, .NET, PostgreSQL]
In our previous post, βGetting the Server Time in PostgreSQL From A Client In A Different Timezone in C# & .NETβ, we looked at how to get the server time in PostgreSQL and have it correctly displayed in the timezone of the client.
Getting the Server Time in PostgreSQL From A Client In A Different Timezone in C# & .NET
[C#, .NET, PostgreSQL]
In a previous post, βSetting Time Zones In Your Docker Containersβ, we looked at how to set the time zone for the MySQL server.
UTF8 vs ASCII Encoding In C# & .NET
[C#, .NET]
In our previous post, βUTF8 vs Unicode Encoding In C# & .NETβ, we looked at the difference (and the relationship) between UTF8 Encoding and Unicode Encoding.
UTF8 vs Unicode Encoding In C# & .NET
[C#, .NET]
In previous posts, βWhat Is Encoding.Default In C# & .NETβ and βHow to do Mass Base64 Encoding In C# & .NETβ, we looked at the role of encoding and how to achieve it using various encoding classes.
Setting Time Zones In Your Docker Containers
[Docker, PostgreSQL]
If you are not using containers for your infrastructure, I would be surprised. A whole class of problems and complications go away when your infrastructure is a container that can quickly be spun up as needed.
Using Carter to Create A ASP.NET WebAPI With QUERY Support in C# & .NET
[C#, .NET, ASP.NET]
In our previous post, βCreating A Web API Method That Supports QUERY In C# & .NETβ, we looked at how to build a minimal API that can process a HTTP QUERY request,
Sending A HTTP Query Request With A HttpClient In C# & .NET
[C#, .NET]
In our previous post, βCreating A Web API Method That Supports QUERY In C# & .NETβ, we looked at how to write a server-side API to handle an HTTP Query request.
π Archives ...