Build a web API with minimal API, ASP.NET Core, and .NET 6

Beginner
Developer
Student
Visual Studio
.NET
Visual Studio Code
ASP.NET Core

Learn how to build a web API with minimal API and .NET 6.

Learning objectives

In this module, you will:

  • Distinguish between using a controller-based API and using a minimal API.
  • Create routes to handle reading and writing.
  • Use features from .NET 6 to make your code as succinct as possible.

Prerequisites

  • Local installations of the .NET SDK.
  • Familiarity with .NET 6
  • A basic understanding of what an API is