š Week 46
How to Encode Base64 Data In C# & .NET
[C#, .NET]
A common protocol for encoding data for safe representation as a string is Base64. You typically need this for encoding arbitrary data over a channel that expects text, such as email.
How To Encode An Object For Passing In A URL In C# & .NET
[Web, HTTP, C#, .NET]
In our previous post, āWhat Problem Does HTTP QUERY Solve?ā, we looked at the challenges of submitting large payloads to a web server given the constraints of the GET method, as well as a solution to the same, the QUERY method.
š Week 45
What Problem Does HTTP QUERY Solve?
[HTTP, Web]
When it comes to sending data to a web server over the web, you have a couple of options:
Getting the Total and Available Space In A Drive in C# & .NET
[C#, .NET]
In our previous post, āGetting the Connected Drives in C# & .NETā, we looked at how to get the available drives attached to a computer.
Getting the Connected Drives in C# & .NET
[C#, .NET]
Recently, I needed to access and enumerate all the drives attached to my main computer, a MacBook Pro running macOS Sonoma.
Logging A Plain Message to Serilog in C# & .NET
[C#, .NET]
I have often mentioned that my logging library of choice is Serilog.
Working With Multiple Locales In The Same Application In C# & .NET
[C#, NET]
As outlined in some earlier posts, you can set the locale of the current thread to whichever one you want.
Changing AM/PM Designation Application-Wide to Lowercase in C# & .NET
[C#, .NET]
In our previous post, āDisplaying AM/PM In Lower Case In C# & .NETā, we looked at a quick-and-dirty way to display the time with the am/pm designator in lower case, like this - 06:13 pm.
Displaying AM/PM In Lower Case In C# & .NET
[C#, .NET]
When displaying the time, you have two options:
š Week 44
CurrentCulture vs CurrentUICulture in C# & .NET
[C#, .NET]
In our previous post, āDynamically Changing Date Separators at Runtime in C# & .NETā, and in others, like āDynamically Changing Decimal & Thousand Separators At Runtimeā, we have been modifying the culture that the current thread is running under.
Dynamically Changing Date Separators at Runtime in C# & .NET
[C#, .NET]
In our previous post, āWorking With / The Date Separator In C# & .NETā, we looked at the runtime interpretation of the DateSeparator and how to force display of a particular symbol.
Working With "/" The Date Separator In C# & .NET
[C#, .NET]
When working with DateTime and DateOnly objects, you will inevitably end up outputting them. For this, you will generally need to use /, the date separator.
How To Add Files To The Root Of A Zip File With DotNetZip
[C#, .NET]
I was recently overhauling some code to add a new requirement to generate some files, process them, and add them to the root of the Zip file.
Deleting A Non-Existent File In Python
[Python]
In some earlier posts, āWhat Happens When You Do File.Delete For A Non-Existent File In C# & .NETā and āWhat Happens When You Delete A Non-Existent File In Javaā, we looked at how deletion of non existent files was treated in .NET and Java.
Programatic File And Directory HouseKeeping In C# & .NET
[C#, .NET]
In an earlier post, āWhat Happens When You Do File.Delete For A Non-Existent File In C# & .NETā, I mentioned working on a utility that generated and processed some files.
š Archives ...