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…
Handling Exceptions with IExceptionHandler in ASP.NET Core 8
No Comments
There are several ways to handle exceptions in ASP.NET Core. To make handling exceptions easier,…
Minimal APIs in .NET 8
No Comments
.NET 8 introduces new features for Minimal APIs. Explore Antiforgery tokens, binding Forms, and new…