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

.NET tutorials

Validate .NET configuration on startup
Validate .NET configuration on startup

Learn how to validate .NET configuration on startup using data annotations or FluentValidation, so your app fails fast and never ships with broken config.

EF Core transactions: Stop your data getting out of sync
EF Core transactions: Stop your data getting out of sync

Learn how Entity Framework Core transactions prevent data inconsistencies and how isolation levels affect behaviour in your applications.

Why your Entity Framework Core app needs query filters
Why your Entity Framework Core app needs query filters

Discover how EF Core query filters enforce global rules, simplify multitenancy, and clean up queries to stop sensitive data leaking into production.

C# class types explained with examples
C# class types explained with examples

Learn the different C# class types with clear examples, common compiler errors, and explanations of abstract, sealed, static, partial, unsafe, and record classes.

Minimal APIs: Fix missing OpenAPI response documentation
Minimal APIs: Fix missing OpenAPI response documentation

Learn why Minimal APIs often miss OpenAPI response types and how to fix missing 404, 400, and 500 responses using TypedResults and Produces methods.

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 LeftJoin and RightJoin work in EF Core .NET 10, replacing complex GroupJoin patterns and simplifying left and right joins in LINQ.

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 quick guide for developers
ASP.NET Core route constraints: A quick guide for developers

Learn ASP.NET Core route constraints in this quick guide for developers. Fix routing issues fast and improve API accuracy with simple, clear examples.