-
NOTAMs: Why Pay $500+ (USD) for What You Can Get for Free?
Recently, I’ve been doing research on (some) things aeronautical and learned about things like aerodome charts and ADS-B and the PPL (in Ireland) and so forth. (Also, shout-out to OCW’s course on the PPL.) One of the things that’s fairly important to flight operations is something called NOTAMs, which is an acronym for Notice to…
-
IAsyncEnumerable: Think of It As an IAsyncIteratable
Starting in C# 8.0, C# shipped with new async enumerable features. The one we’re concerned with, for the intents/purposes/concerns of this blog post, is IAsyncEnumerable<T>. The first thing to understand the differentiation between a standard collection (e.g.: IList<T>, IEnumerable<T>, or ICollection<T>) and an async enumerable (e.g.: IAsyncEnumerable<T>) is that an async enumerable isn’t enumerated as…
-
Multi-Version .NET Targeting and the Subsequent System.Net.Http Issue[s]
When developing an library that targets multiple .NET versions, you most likely start-off with a .NET Standard library and change the CSPROJ file to include other .NET versions. When you do this, Visual Studio and/or NuGet have a hard time deciphering just which verison of the System.Net.Http assembly to use. You’ll see this manifest as…
-
.NET Core 2.0: Expression: [Recursive resource lookup bug]
When developing Azure Functions and targeting .NET Core 2.0 (or higher), you may run into an infinite recursion bug that prevents you from successfully building the Azure Function; worst of all is that it may happen at a seeming random time. Assert Failure Expression: [Recursive resource lookup bug] Description: Infinite recursion during resource lookup wit
-
C#: Recursively Getting Subfolders Whilst Ignoring the Errors that Would Stop Other Traversal Means
So, I’m writing something that is – eventually – meant to scrub the harddrive on IoC (indicators of compromise). The first major problem to solve is the following: If I have drive ‘C:\’, and I try to enumerate all of the folders under the drive, Directory.EnumerateDirectories (including the recursive search option of all directories), then…
