Learn Minimal APIs from start to finish. Perfect for beginners.

.NET tutorials - Page 2

What is middleware in ASP.NET Core? How it works and gotchas
What is middleware in ASP.NET Core? How it works and gotchas

Middleware runs on every HTTP request in ASP.NET Core. Learn how the pipeline works, how to write your own, and four gotchas that catch developers out.

EF Core navigation property null? Why it happens and the fix
EF Core navigation property null? Why it happens and the fix

The data is in the database, but the related entity never loads. Learn why Include() fixes it, plus cycles, DTO projections and split queries.

Polly in .NET: Retry and circuit breaker examples
Polly in .NET: Retry and circuit breaker examples

API calls often fail for a moment. Add Polly to an ASP.NET Core Web API with exponential backoff, jitter, timeouts and logging so your app tries again.

.NET 10 Web API tutorial: Minimal APIs, EF Core, SQL Server
.NET 10 Web API tutorial: Minimal APIs, EF Core, SQL Server

Build an ASP.NET Core Web API step by step with full CRUD endpoints, a real SQL Server database, FluentValidation and Clean Architecture.

Stop updating NuGet packages on every project
Stop updating NuGet packages on every project

Learn how Central Package Management lets you manage NuGet package versions from a single file across all projects in your .NET solution.

C# basics tutorial: Learn variables, classes and lists
C# basics tutorial: Learn variables, classes and lists

Learn C# basics with this tutorial covering variables, conditionals, arrays, lists, loops, classes, structs, interfaces, enums and static classes.

Slow pagination in EF Core? Try keyset pagination
Slow pagination in EF Core? Try keyset pagination

Learn how keyset pagination works in Entity Framework Core, how it compares to offset pagination, and how indexes can dramatically improve your pagination performance.

C# ToString(), operators and indexers - Are you using these?
C# ToString(), operators and indexers - Are you using these?

Learn how to override ToString(), overload operators and use indexers in C# classes, featuring examples of addition and subtraction.

Track every EF Core record change with temporal tables
Track every EF Core record change with temporal tables

Learn how to track every change to your EF Core records using SQL Server temporal tables, with examples for querying the history.

.NET app returning a blank 500? Not with exception handlers
.NET app returning a blank 500? Not with exception handlers

Is your ASP.NET Core Web API returning a blank 500 response? Learn how to fix it properly using exception handlers.