Use a database with minimal API, Entity Framework Core, and ASP.NET Core

Beginner
Developer
Student
.NET
ASP.NET Core

Learn how to add a database to a minimal API application.

Learning objectives

In this module, you will:

  • 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.

Prerequisites

  • Familiarity with .NET
  • A basic understanding of what an API is