
C# 15 Union Types Explained Simply – A Better Way to Handle Multiple Return Types
C# 15 introduces Union Types — a simple and type-safe way to handle multiple return types. Learn how it works and how to try it with .NET 11 Preview 2.
Stay updated with the newest .NET tutorials and coding articles. Learn C#, explore ASP.NET Core, EF Core, and improve your development skills with step-by-step guides.

C# 15 introduces Union Types — a simple and type-safe way to handle multiple return types. Learn how it works and how to try it with .NET 11 Preview 2.

ASP.NET Core 7 introduced built-in rate limiting middleware. This guide covers everything
from basic setup to advanced production patterns.

.NET 10 introduces built-in data validation for Minimal APIs—no need for external libraries. This guide walks through Data Annotations, custom validation, and automatic error handling with real-world examples.

Complex Types in EF Core help create cleaner domain models by grouping related values like Address or Money without separate tables.

HybridCache in ASP.NET Core combines in-memory and distributed caching into a single API, improving performance and scalability with minimal effort.

Learn how to implement soft delete in EF Core, global query filters, interceptors, and indexing. This guide also covers best practices, performance tips, and when to choose soft delete over hard delete.

Learn how to use EF Core Interceptors to handle auditing, logging, and cross-cutting concerns in a clean and scalable way, with practical examples and best practices.

Learn how to generate realistic fake data in C# using Bogus. Includes object generation, custom rules, seeding, localization.

ExecuteUpdate and ExecuteDelete in EF Core allow performing bulk updates and deletes directly in the database without loading entities.