Tag: Code
All the articles with the tag "Code".
Garbage Collection Types in .Net Core
Memory management in modern languages is often an afterthought. For all intents and purposes, we write software without nary a thought about memory. This serves us well but there are always exceptions…
You Are Not Your Code
Your code reflects neither your beliefs, nor your upbringing, nor your character.
The 5 Different Meanings of the Question Mark in C#
In C# the question mark has 5 meanings as of C# 8.
The Collection Comparer, Finding the Differences Between Two Collections
Have you had to compare two collections and execute some logic based on whether the item is in the source collection, in the comparing collection or in both? Yeah, me too, I needed to merge data from the UI and the database. I couldn’t find a good solution, so, I wrote a collection comparer.
Implementing Request Caching in ASP.Net Core
At some point in an application’s development, usually, fairly early on, you realize the application is slow. After some research, the culprit is, unnecessarily retrieving the same data, and a light goes off, and you think: “I need some caching.”
Running Await in a Constructor
If you must run code in a constructor. I’d look for a different way, but if you must, here’s one way.