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

.NET tutorials

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.

PagedResults in EF Core: One class, endless reuse
PagedResults in EF Core: One class, endless reuse

Learn how to build a reusable PagedResults class in .NET that works with Entity Framework Core and supports multiple entity types.

EF Core without migrations - it's only a matter of time
EF Core without migrations - it's only a matter of time

Learn why EF Core without migrations is a disaster. Learn how to setup, configure, and deploy using migrations to keep databases consistent across environments.

Clean architecture in .NET explained by refactoring an API
Clean architecture in .NET explained by refactoring an API

Learn how to refactor an ASP.NET Core API using clean architecture by separating validation, business logic, and database access into clear layers.

How to migrate from controllers to Minimal APIs
How to migrate from controllers to Minimal APIs

Learn why Minimal APIs are now recommended in .NET and follow a step-by-step guide to migrate from controllers to Minimal APIs with versioning and Swagger.

The best way to create email templates in .NET
The best way to create email templates in .NET

Learn how to generate reusable email HTML using Razor Views in ASP.NET Core with strongly-typed models.