How to Use HttpClient Properly in .NET
HttpClient is a widely used typical class in .NET. However, it has a hidden pitfalls. Learn how to avoid them with HttpClientFactory.
HttpClient is a widely used typical class in .NET. However, it has a hidden pitfalls. Learn how to avoid them with HttpClientFactory.
An easy way how to fan out HTTP requests in .NET. A new method introduced in .NET 6.
A delegate is a type-safe function pointer that can reference on or more methods with a compatible signature. Find out how to use them. How delegates are connected with lambda expressions and events.
Explore how to use Performance Counters in .NET. The tutorial describes the available commands.
Discover a better way to handle options in ASP.NET Core. Find out what is the Options Pattern and how to use it.
Explore the Service Lifetimes in Dependency Injection Container in .NET. Learn the types Singleton, Scoped, and Transient.
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 »
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.
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.