RSSAmplifier

Blog

Conrad Akunga - Building Software In .NET

I have been writing software professionally in Nairobi, Kenya for over 27 years. And I'm still learning.

conradakunga.comRSS feed ↗15 posts

Latest posts

.NET 11 Preview - Opening Password Protected Zip Archives

In our previous post, “.NET 11 Preview - Generating Password-Protected Zip Archives”, we looked at how to create password protected zip archives in .NET 11, something that for a long time was not possible without external tools and libraries.

.NET 11 Preview - Generating Password-Protected Zip Archives

In some previous posts, “How To Zip A Single File In C# & .NET” and “How To Zip Multiple Files In C# & .NET”, we have looked at how to create zip files, either from a single file, a collection of files, or a directory.

Generating Server-Side Sortable GUIDs for SQL Server

In some previous posts, we have seen the sort of challenges that may arise when generating Guid values for database keys, and in particular, an issue specific to SQL Server Guid sorting.

GuidV7 Considerations for SQL Server

In our previous post, “GuidV7 Considerations for Database Keys,” we looked at how GuidV7 generation for multiple values with the same timestamp presents a challenge: the generated values sort differently, affecting the ordering of clustered indexes.

GuidV7 Considerations for Database Keys

In our previous post, “Beware - GuidV7 Generation In High Throughput Environments Sorting Gotcha”, we looked at a common problem you will get when generating V7 Guid values in volumes, specifically if they happen to be over the same timestamp (in milliseconds).

Beware - GuidV7 Generation In High Throughput Environments Sorting Gotcha

One of the features introduced in .NET 9 was ab ability to generate RFC 9562 complaint Guid values, in the version 7 format.

Primary Constructors - A Practical Approach

In a previous post, “Primary Constructors - And Their Pitfalls,” we looked at primary constructors.

A Practical Solution To The Problem Of Default Parameters

In a previous post, “Beware - The Folly of Default Parameters in SQL Server Stored Procedures”, we looked at a very common gotcha that can trip up developers when using stored procedures.

.NET 11 Preview - Discriminated Unions Support

This is Part 4 of a series on Discriminated Unions.

Creating Multiple Nested Directories In The Terminal

In our previous post, “Creating Multiple Directories In The Terminal”, we looked at how to create multiple directories in the terminal in one command.

Creating Multiple Directories In The Terminal

Suppose we needed to create the following directories in our current path:

Discriminated Unions - Part 3 - Practical Uses

This is Part 3 of a series on Discriminated Unions.

Discriminated Unions - Part 2 - Implementation

This is Part 2 of a series on Discriminated Unions.

How To Resolve A Continuously Restarting Visual Studio When Opening A Project

Recently, I ran into a problem where Visual Studio was stuck in a loop, continuously restarting after trying to open a solution.

Showing Hidden Files & Directories in PowerShell

Generally, when you list files in PowerShell, you get, by default, only the non-hidden files.