When to Use Frozen Collections in .NET
1 Comment
Frozen Collections are immutable and read-only, optimized for fast lookup end enumeration. Explore benchmarks and…
How to Work with String Literals in C#
No Comments
String literals in C# are vital for representing fixed character sequences directly within code, enhancing…
Service Lifetimes in .NET
No Comments
Explore the Service Lifetimes in Dependency Injection Container in .NET. Learn the types Singleton, Scoped,…
Single vs. Split Query in Entity Framework
No Comments
Cartesian explosion or data duplication can cause a big issue for SQL JOINS. Learn when…
How to Release Unmanaged Resources Asynchronously in .NET
No Comments
Garbage Collector does memory management for us. Learn how to release unmanaged resources both synchronously…
Intro to Serialization with Source Generation in System.Text.Json
No Comments
System.Text.Json serializer uses reflections for serialization and deserialization. Reflection is slow. Learn how you can serialize…
Logging and Diagnostics in Entity Framework
No Comments
Logging and diagnostics are vital in Entity Framework for debugging, optimizing performance, ensuring security compliance,…
Pattern Matching in C#
No Comments
Pattern matching is a C# feature that allows you to write more expressive code. You…
Records in C#
No Comments
In C#, records are a special type of reference type introduced in C# 9.0. Learn…