Service Lifetimes in .NET
Explore the Service Lifetimes in Dependency Injection Container in .NET. Learn the types Singleton, Scoped, and Transient.
Service Lifetimes in .NET Read More »
Explore the Service Lifetimes in Dependency Injection Container in .NET. Learn the types Singleton, Scoped, and Transient.
Service Lifetimes in .NET Read More »
Cartesian explosion or data duplication can cause a big issue for SQL JOINS. Learn when you should split queries in Entity Framework.
Single vs. Split Query in Entity Framework Read More »
Garbage Collector does memory management for us. Learn how to release unmanaged resources both synchronously and asynchronously in .NET.
How to Release Unmanaged Resources Asynchronously in .NET Read More »
System.Text.Json serializer uses reflections for serialization and deserialization. Reflection is slow. Learn how you can serialize object using Source Generation in .NET.
Intro to Serialization with Source Generation in System.Text.Json Read More »
Logging and diagnostics are vital in Entity Framework for debugging, optimizing performance, ensuring security compliance, real-time monitoring, and educating developers. Entity Framework offers several approaches to diagnosing or logging issues.
Logging and Diagnostics in Entity Framework Read More »
Pattern matching is a C# feature that allows you to write more expressive code. You can test the expression and take action when the expression matches. It enables you to match the shape and properties of values using patterns, making it easier to work with complex data structures.
Pattern Matching in C# Read More »
In C#, records are a special type of reference type introduced in C# 9.0. Learn Records characteristics like immutability, value equality, nondestructive mutations and other.
There are several ways to handle exceptions in ASP.NET Core. To make handling exceptions easier, ASP.NET Core 8 introduces a new IExceptionHandler.
Handling Exceptions in ASP.NET Core 8 Read More »
.NET 8 introduces new features for Minimal APIs. Explore Antiforgery tokens, binding Forms, and new IResettable interface.
Minimal APIs in .NET 8 Read More »
The Complex Types are very similar to Owned Types in Entity Framework 8. Discover the difference between these types.
Complex Types in Entity Framework 8 Read More »