📅 Week 28
.NET 11 Preview - Character Equality Comparison
[C#, .NET, .NET 11 Preview]
One of the problems you will invariably run into is correctly comparing characters.
.NET 11 Preview - Disabling Zstandard Compression in Kestrel
[C#, .NET, .NET 11 Preview, ASP.NET]
In yesterday’s post, “.NET 11 Preview - Enabling Zstandard Compression in Kestrel”, we looked at how to enable Zstandard content compression in Kestrel.
.NET 11 Preview - Enabling Zstandard Compression in Kestrel
[C#, .NET, .NET 11 Preview, ASP.NET]
In a previous post, “.NET 11 Preview - Zstandard Compression”, we looked at the introduction of Zstandard compression algorithm in .NET 11.
.NET 11 Preview - Using Zstandard Compression With A HttpClient
[C#, .NET, .NET 11 Preview]
Yesterday’s post, “NET 11 Preview - Zstandard Compression”, looked at the introduction of the Zstandard algorithm into the compression libraries in System.IO.Compression namespace.
.NET 11 Preview - Zstandard Compression
[C#, .NET, .NET 11 Preview]
When it comes to compression of data, there are a number of options natively available on .NET
.NET 11 Preview - Starting A Detached Process
[C#, .NET, .NET 11 Preview]
Yesterday’s post, “.NET 11 Preview - Starting and Forgetting A Process”, looked at how to start and forget a process. Which is to say, a process you want to start but don’t necessarily want to interact with or its results.
.NET 11 Preview - Starting and Forgetting A Process
[C#, .NET, .NET 11 Preview]
Yesterday’s post, “.NET 11 Preview - Capturing Process Exit Status”, looked at how to start a process and capture its exit status, which is useful in scenarios where you want to know whether your process ran to completion successfully.
📅 Week 27
.NET 11 Preview - Capturing Process Exit Status
[C#, .NET, .NET 11 Preview]
In yesterday’s post, “.NET 11 Preview - Capturing Process Output & Errors”, we looked at how .NET 11 simplifies starting a process and capturing its output.
.NET 11 Preview - Capturing Process Output & Errors
[C#, .NET, .NET 11 Preview]
Occasionally it is necessary to run a program, typically a terminal program, and capture its output.
.NET 11 Preview - Collection Expression Arguments
[C#, .NET, .NET 11 Preview]
One of the more brilliant innovations in C# 12 was collection expressions.
.NET 11 Preview - Property Name Casing With JsonNamingPolicyAttribute
[C#, .NET, .NET 11 Preview]
When serializing JSON, you have the ability to specify the casing of the names of properties of the type.
.NET 11 Preview - Passing Environment Variables
[C#, .NET, .NET 11 Preview]
In a previous post, “Overriding appsettings.json via Environment Variables”, we looked at how to access and override environment variables in our applications.
.NET 11 Preview - Video MIME Type Constants
[C#, .NET, .NET 11 Preview]
In a previous post, “Tip - Use Constants For MIME Types”, we discussed how to use constants for MIME types, rather than the usual approach of specifying them as strings.
.NET 11 Preview - Get Random Integral Numbers
[C#, .NET, .NET 11 Preview]
In a previous post, “Generating Random Values For Other Integral Types In C# & .NET”, we looked at the additional gymnastics needed to generate random values for other integral types, given that the Next method for the Random type was designed for integers.
📅 Week 26
.NET 11 Preview - Get Extension From MIME Type
[C#, .NET, .NET 11 Preview, MIME]
Yesterday’s post, “.NET 11 Preview - MIME Type Lookups”, looked at how to get the MIME type of a file given its extension using the new MediaTypeMap class.
📅 Archives ...