Episode

Post-Build 2022 Ep4: Create web apps and services with ASP.NET Core, minimal API, and .NET 6

.NET is a free, cross-platform, open-source developer platform for building many different types of applications. With minimal API, you can create an API in just four lines of code, while using the latest features of .NET 6.

Learning objectives

  • 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.
  • Learn how to add Entity Framework Core to a minimal API application.
  • Persist data to an in-memory datastore.
  • Persist data to a SQLite database.

Chapters

  • 00:00 - Welcome
  • 03:15 - Learning objectives​ and introduction
  • 05:37 - What is minimal API?​
  • 22:38 - Exercise​: Create a minimal API​
  • 38:13 - Learn how to add routes and use other advanced commands​
  • 38:59 - Exercise​: Add routes​
  • 47:10 - Knowledge Check​
  • 55:47 - Introduction (second module) ​
  • 56:13 - What is Entity Framework Core?​
  • 57:27 - Exercise​: Add EF Core to minimal API​
  • 77:03 - Exercise​: Use the SQLite database provider with EF Core​
  • 77:52 - Knowledge Check​
  • 80:38 - Summary​ and conclusion

Connect

ASP.NET Core
.NET
Visual Studio
Visual Studio Code