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

.NET tutorials

How to secure ASP.NET Core APIs with Basic Authentication
How to secure ASP.NET Core APIs with Basic Authentication

Learn how to implement Basic Authentication in ASP.NET Core Web APIs with Minimal APIs and controllers, ideal for securing internal APIs.

Swagger's missing in .NET 10 - How to add it back
Swagger's missing in .NET 10 - How to add it back

Swagger is missing in .NET 10. Learn why it was removed, how to add it back, and explore alternatives like Scalar, Redoc, Postman, and .http files.

How LeftJoin and RightJoin Work in EF Core .NET 10
How LeftJoin and RightJoin Work in EF Core .NET 10

Learn how to use the new LeftJoin and RightJoin LINQ methods introduced in EF Core for .NET 10, replacing the verbose GroupJoin and SelectMany pattern.

File logging in ASP.NET Core made easy with Serilog
File logging in ASP.NET Core made easy with Serilog

Learn how to add file logging to an ASP.NET Core app using Serilog, including setup, configuration, and writing logs to daily rolling files.

ASP.NET Core route constraints: A practical guide
ASP.NET Core route constraints: A practical guide

Learn how ASP.NET Core route constraints work, the built-in constraint types available, and how to add them to your Minimal API or controller routes with examples.

How to upload files in an ASP.NET Core Web API
How to upload files in an ASP.NET Core Web API

Learn how to upload files with IFormFile and IFormFileCollection using minimal APIs in ASP.NET Core, and how to generate antiforgery tokens.

Are C# 14's new features worth updating your app to .NET 10?
Are C# 14's new features worth updating your app to .NET 10?

Discover the new features in C# 14 - from extension members to the field keyword - and find out whether upgrading your app to .NET 10 is really worth it.

Read & write to a CSV file using a list in ASP.NET Core
Read & write to a CSV file using a list in ASP.NET Core

Learn how to read and write CSV files in ASP.NET Core using lists, including handling headers and mapping different header titles easily.

Add request logging to a database in an ASP.NET Core Web API
Add request logging to a database in an ASP.NET Core Web API

Learn how to add request logging to a database in an ASP.NET Core Web API using Entity Framework Core to effectively monitor and analyse API traffic.

xUnit v3 update: Ability to skip tests & a new TestContext
xUnit v3 update: Ability to skip tests & a new TestContext

Learn how to upgrade your xUnit project to v3 to use new features like skip assertions, TheoryDataRow, MatrixTheoryData, and a new TestContext.