Tag: C#
All the articles with the tag "C#".
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.